help with drawing images in pygame
I'm having trouble making images in pygame, I define the image fine, but its the screen.blit where I get stuck. I've seen some answers, but which would be the simplest for me to use in the future?
P.S. Sorry if I don't explain this well
after you import
pygame, you need to add
blit it. like this.
import pygame pygame.init() display_width = 800 display_height = 600 gameDisplay = pygame.display.set_mode((display_width,display_height)) pygame.display.set_caption('something') Img = pygame.image.load('something.png') gameDisplay.blit(Img, (x,y))
look here for more info.
That should work