In my game's main menu, it checks for a global value. When it is above a certain number, buttons to access unlocked levels appear.
It works great, but how do I have this Global Value Save/Load for when I come back to play some more?
In my game's main menu, it checks for a global value. When it is above a certain number, buttons to access unlocked levels appear.
It works great, but how do I have this Global Value Save/Load for when I come back to play some more?
You could save it in an INI file and then reload it when the app starts back up.
There is a great INI tutorial here: http://www.clickteam.com/creation_materials/tutorials/download/ini_tutorial.pdf
@Jeff Thanks! I have tried both the INI and Array Objects, and still haven't had success with either.
Right now, when I beat a level 1, my game will set "Global Value Z" to "1". When Global Value Z is 1 or higher, a button appears.
What I want is just for this Global Value Z to save and load. I'll keep looking through guides, maybe I'll get this figured out.![]()
For fun --
Step 1 -- Open the INI file you created and see if the value has been saved correctly
If it is ---
Step 2 -- Inside Fusion read the INI file and display the data in an edit box
Then you see if the data is getting retrieved correctly.
If your like me sometimes you just need to go see things visually to make sure they are working right while your trying to build something.
So I do things like displaying data in edit boxes and counters to make sure I am getting the data I need/expect before I use it in "invisible" holders like alterable values.