File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
top-python-game-engines/pygame Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ def __init__(self):
4040
4141 # Get the image to draw for the player
4242 player_image = str (
43- Path .cwd () / "pygame" / " images" / "alien_green_stand.png"
43+ Path .cwd () / "images" / "alien_green_stand.png"
4444 )
4545 # Load the image, preserve alpha channel for transparency
4646 self .surf = pygame .image .load (player_image ).convert_alpha ()
@@ -63,7 +63,7 @@ def __init__(self):
6363 super (Coin , self ).__init__ ()
6464
6565 # Get the image to draw for the coin
66- coin_image = str (Path .cwd () / "pygame" / " images" / "coin_gold.png" )
66+ coin_image = str (Path .cwd () / "images" / "coin_gold.png" )
6767
6868 # Load the image, preserve alpha channel for transparency
6969 self .surf = pygame .image .load (coin_image ).convert_alpha ()
@@ -101,7 +101,7 @@ def __init__(self):
101101
102102# Setup the coin pickup sound
103103coin_pickup_sound = pygame .mixer .Sound (
104- str (Path .cwd () / "pygame" / " sounds" / "coin_pickup.wav" )
104+ str (Path .cwd () / "sounds" / "coin_pickup.wav" )
105105)
106106
107107# Create a player Sprite and set it's initial position
You can’t perform that action at this time.
0 commit comments