1

I am new to Python and Pygame and with a tutorial I created a 2D Mini-golf Game. I have gone through all posts here before and none of them could help me.

GitHub

So when I run

python main.py 

I get this error:

Traceback (most recent call last):
  File "main.py", line 38, in <module>
    import startScreen
  File "E:\Coding\Personal\Games\Golf-Game\startScreen.py", line 10, in <module>
    title = pygame.image.load(os.path.join('img', 'title.png'))
pygame.error: Couldn't open img\title.png

I could not make all the artwork yet so , I just got a transparent background (Art In Progress)

PalPalash
  • 112
  • 1
  • 8

0 Answers0