Jan-02-2019, 08:14 PM
tldr; pygame can't find your image in the place you said it would be
the path of the file that is causing the problem is
I am also not sure why you are using os.path.join as you are not joining any paths at all.
the path of the file that is causing the problem is
C:\Users\******\Downloads\python_game_resourses\knight_game_combat_testing_not.py
. The way you have it with pygame loading and no second argument in os.path.join, you are loading the image in the same directoryC:\Users\******\Downloads\python_game_resourses\
. I am not sure if this is where you actually have the image or not?I am also not sure why you are using os.path.join as you are not joining any paths at all.
Recommended Tutorials: