Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | exuin |
I asked this question before but my wording wasn’t clear enough so I didn’t get the answer I was looking for. Since it already has an answer, it’ll probably be skipped over, so I’ll just ask the question again.
I want the player to be able to pick up an item and put it in their inventory. Then when the player leaves the scene and returns to it, the item should still be gone. How do I do this? Do I have to save the data to a file each time? Should I make a new file for each scene that has removable objects? Do I just not close the scene, ever?