Python Forum

Full Version: [pygame] Blitting armor and weapons with inventory
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I put an inventory into my game. I do though, have a few problems

problem - The armor does not show on the screen after it is equipped

You can download and test as well as see code here - https://github.com/Sheepposu/Destination/
You didnt update your repo
Error:
metulburr@ubuntu:~/repos/Destination/Destination$ python Destination.py Traceback (most recent call last): File "Destination.py", line 7, in <module> from DestinationFunc import InvisButton as IBT ImportError: cannot import name InvisButton metulburr@ubuntu:~/repos/Destination/Destination$ python3.6 Destination.py Traceback (most recent call last): File "Destination.py", line 7, in <module> from DestinationFunc import InvisButton as IBT ImportError: cannot import name 'InvisButton'
Oh! sorry. It's updated now.
Also I think I may have a solution - I didn't want to have to do this because I don't know if it will fix the problem and it will be a pain but I could go through all the armor pictures and change them to only armor
I found my mistake.