Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix paths #8

Open
emsi opened this issue Apr 15, 2022 · 1 comment
Open

Fix paths #8

emsi opened this issue Apr 15, 2022 · 1 comment

Comments

@emsi
Copy link

emsi commented Apr 15, 2022

Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "/home/emsi/PycharmProjects/UltimatePygameIntro/runner_class only.py", line 106, in <module>
    player.add(Player())
  File "/home/emsi/PycharmProjects/UltimatePygameIntro/runner_class only.py", line 8, in __init__
    player_walk_1 = pygame.image.load('graphics/player/player_walk_1.png').convert_alpha()
FileNotFoundError: No file 'graphics/player/player_walk_1.png' found in working director```

Clearly there is no player directory. It is Player .

@Wandervogel-001
Copy link

you should change the file name PLayer to player
Fly to fly and both Fly1.png and Fly2.png to
fly1.png - fly2.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants