Whats the exact error message? Some hints: It looks like you dont
have added the file path and the load function might not find the
image. You also need to add the image to a variable. Here's an
example for Linux/Mac environment. For Windows you need to use
backslashes as separator:
loaded_img = pygame.image.load('/Users/JohnSmith/Pysave/Demo/images/
flower.gif')
Another hint: Does your image have physically the extension 'gif'?
If not, just add it.
Greetings
Farai
Am 15.11.2006 um 00:00 schrieb Jonah:
Hey- the new guy again. I was trying to load an image for a simple
game and when I got to the
pygame.image.load('ball.gif')
it said it can't load the image.
Any ideas?