Aug-07-2021, 11:25 PM
Thanks
(Aug-06-2021, 07:53 PM)SheeppOSU Wrote:(Jul-26-2021, 07:15 AM)abscorpy Wrote: Here is the link for the Github Repo
https://github.com/abscorpy/Spaceship
Cheers
If the file structure looks like this thenpygame.image.load('spaceship_yellow.png')
should work. When doingpygame.image.load(os.path.join('First_Game', 'spaceship_yellow.png'))
Python is looking for a directory named First_Game within the root directory, or directory the main python file is running from. Since there is no such directory within the root directory, it throws an error.