Serious Game – Update #3
I have continued following the inventory videos and although I have completed the second video (https://www.youtube.com/watch?v=232EqU1k9yQ&list=PLJWSdH2kAe_Ij7d7ZFR2NIW8QCJE74CyT&index=2) which entails saving and loading the inventory from a database, mine isn’t saving. Which is very annoying, especially since there aren’t any errors in my code and as far as I’m aware I have followed the video perfectly. I’ve even been commenting all the code as I go to help me understand it all better, and I do, but the saving is not working and I haven’t figured out why.
Apart from it not working, I have added sprite images to the system to help the player distinguish the items at first glance.

And here are some images of the new code.




The keyboard commands in the above image are there for me to save and load the inventories whilst developing the game as the player would be using the hand controllers, so wouldn’t have a keyboard to mess with the inventory save files.

