I forgot to mention another thing regarding play-ability.
Or use:
Output:metulburr@ubuntu:~/repos/Destination/Destination$ python3.6 Destination.py
Traceback (most recent call last):
File "Destination.py", line 21, in <module>
EnWoodenArmor = (pygame.image.load(str(file) + "\Destination Pics\EnWoodArmorUp.png"),
pygame.error: Couldn't open .\Destination Pics\EnWoodArmorUp.png
Windows uses \ and / as a separator, while linux only uses /. It would make it so much easier if you just used /Or use:
>>> import os >>> os.sep '/'Or better yet put the directory path in one variable, and combine it with the image.
WoodBat = pygame.image.load(os.path.join(image_path, 'WoodenBat.png'))or even better yet load all the images in that directory at once and put them in a list with the name as the filename.
Recommended Tutorials: