Infinite Money RPG game
Hello guys! I barely ever post here, because if I need help I can usually find a video so forgive me if I'm doing something wrong. I can't seem to find a video on this topic and need some help.
I'm making an RPG game and the Overworld and Battles are two separate frames. The battles are random and take you to the battle frame when the battle starts. In the overworld you can collect money and the money gets deystroyed when you collect it. After you finish a battle or come back from another frame, The money is back. You get to collect the money multiple times.
Does anyone know an easy way to make the money stay gone until at least the game is turned off and back on? I'm sure the solution is easy, but I've never made a full RPG and don't know everything. Thanks for reading, and please try to come up with an answer, it would really help!
With separate frames, your options are limited. You're going to need to essentially save the state of each money object, and loop through it upon loading back into the overworld. You could do this with an array somewhat easily, or an INI in somewhat of a pain in the butt way.