diff options
author | Alan Aguiar <alanjas@hotmail.com> | 2012-05-23 07:52:26 (GMT) |
---|---|---|
committer | Alan Aguiar <alanjas@hotmail.com> | 2012-05-23 07:52:26 (GMT) |
commit | 326d598606abc975ace1b2e44f93ec080fc80412 (patch) | |
tree | 4a1eddd86bd46fcf9b27f40709086305ae9c91bb | |
parent | 403c7ed4537f7cf93979c2a0d66ab9c589c7331e (diff) |
fix path of images
-rw-r--r-- | horse.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -35,10 +35,10 @@ class Game(): # put the horse in the center of the screen self.horse_loc = (100,100) # load the images and convert to screen format - self.grass_image = pygame.image.load('horse/grass.png','grass') + self.grass_image = pygame.image.load('images/grass.png','grass') self.grass_image.convert(screen) self.grass_size = self.grass_image.get_size() - self.horse_image = pygame.image.load('horse/horse.png','horse') + self.horse_image = pygame.image.load('images/horse.png','horse') self.horse_image.convert(screen) self.horse_size = self.horse_image.get_size() # Make a copy for the left-facing image @@ -179,4 +179,4 @@ class Game(): self.moving_left = False def isRunning(self): - return self.game_running
\ No newline at end of file + return self.game_running |