Skip to content

Fix paths #8

Open
Open

Description

@emsi
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 .

Activity

  1. Bouzidi-Youssef commented on Dec 14, 2023

    @Bouzidi-Youssef

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions