Python Forum
[pygame] Blitting armor and weapons with inventory - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Game Development (https://python-forum.io/forum-11.html)
+--- Thread: [pygame] Blitting armor and weapons with inventory (/thread-17896.html)



[pygame] Blitting armor and weapons with inventory - SheeppOSU - Apr-28-2019

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/


RE: [pygame] Blitting armor and weapons with inventory - metulburr - Apr-28-2019

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'



RE: [pygame] Blitting armor and weapons with inventory - SheeppOSU - Apr-28-2019

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


RE: [pygame] Blitting armor and weapons with inventory - SheeppOSU - Apr-29-2019

I found my mistake.