Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Aguiar <alanjas@hotmail.com>2012-05-23 07:52:26 (GMT)
committer Alan Aguiar <alanjas@hotmail.com>2012-05-23 07:52:26 (GMT)
commit326d598606abc975ace1b2e44f93ec080fc80412 (patch)
tree4a1eddd86bd46fcf9b27f40709086305ae9c91bb
parent403c7ed4537f7cf93979c2a0d66ab9c589c7331e (diff)
fix path of images
-rw-r--r--horse.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/horse.py b/horse.py
index 6e2d5f6..967bdb0 100644
--- a/horse.py
+++ b/horse.py
@@ -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