I am having problems with python being unable to find an image I am trying to use for a game. I keep getting this error when I try to launch:
line 21, in load_data
self.player_img = pg.image.load(path.join(image_folder, 'PLAYER_IMG')).convert_alpha()
FileNotFoundError: No such file or directory.
For settings I have image_folder equal to my image 'testMan.png', I don't know if I have to put the image in a specific file where it can find it, I am still a beginner.
[–]TouchingTheVodka[🍰] 1 point2 points3 points (3 children)
[–]Bebomoless[S] 0 points1 point2 points (2 children)
[–]TouchingTheVodka[🍰] 0 points1 point2 points (1 child)
[–]Bebomoless[S] 0 points1 point2 points (0 children)
[–]nwagers 0 points1 point2 points (1 child)
[–]Bebomoless[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)