title: How do you make an image with a transparent colorkey in pygame?
body: <p>I am blitting a spaceship image, but it has a black background against my blue surface. I have used colorkey to attempt to make the background of the spaceship transparent. However, it still doesn't work, and now there's just a black blob behind my spaceship. Can anyone fix this?</p>
  
  <pre><code>screen.blit(background, background_rect)
  image = pygame.transform.scale(player_img, (50, 38))
  image.set_colorkey(BLACK)
  screen.blit(player_img, (10, HEIGHT - 120))
  screen.blit(player_img, (WIDTH - 110, HEIGHT - 120))
  </code></pre>