Tried to start but, · Issue #1 · techwithtim/Tower-Defense-Game · GitHub
Skip to content

Tried to start but,  #1

Open
Open

Description

@DaytradeCentral

run.py

pygame 1.9.5
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "run.py", line 6, in
from main_menu.main_menu import MainMenu
File "/home/tintin/Tower-Defense-Game/main_menu/main_menu.py", line 1, in
from game import Game
File "/home/tintin/Tower-Defense-Game/game.py", line 3, in
from enemies.scorpion import Scorpion
File "/home/tintin/Tower-Defense-Game/enemies/scorpion.py", line 11, in
pygame.image.load(os.path.join("game_assets/enemies/1", "1_enemies_1_run_0" + add_str + ".png")),
pygame.error: Couldn't open game_assets/enemies/1/1_enemies_1_run_000.png

game.py

pygame 1.9.5
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "game.py", line 3, in
from enemies.scorpion import Scorpion
File "/home/tintin/Tower-Defense-Game/enemies/scorpion.py", line 11, in
pygame.image.load(os.path.join("game_assets/enemies/1", "1_enemies_1_run_0" + add_str + ".png")),
pygame.error: Couldn't open game_assets/enemies/1/1_enemies_1_run_000.png

Activity

  1. jsc57x commented on Sep 12, 2019

    @jsc57x

    This is not an issue. You should read the readme. You don't have the requested game assets (like it is also shown in the tracebacks). Therefore you are unable to launch the game.
    But you can create your own assets and use them :)

  2. AlkisPis commented on Dec 26, 2024

    @AlkisPis

    This is not an issue. You should read the readme. You don't have the requested game assets (like it is also shown in the tracebacks). Therefore you are unable to launch the game. But you can create your own assets and use them :)

    This makes no sense. How can one create 30 own assets to replace the original ones? Even if one could do that and the game could still be run, the result would certainly be monstrous.

  3. jsc57x commented on Jan 12, 2025

    @jsc57x

    Thanks for digging me up. Nobody said it would make sense to create the assets yourself or it does look good then. But this is a possible solution (in fact the updated readme suggest its the ONLY solution...)

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