Saving active objects and strings
Greetings All,
In each frame 12 objects are selected from a larger group. The name (alterable string) of each selected object is displayed. When the player clicks a listed object, the object is destroyed and the name of the object is dimmed.
I am trying to use Ini++ (or any other approach) to save the objects and their listed names so that when the player leaves the frame and then returns, the objects and names are just as they were before leaving.
I have tried using the save frame position in the storyboard editor but that doesn't work well my existing save system which uses an array to store all global values.
I have a sample file (in MMF2 Developer, build 248). Here is the link: http://www.mediafire.com/?tcnsmmmzzrg
Thanks in advance for any assistance.
Re: Saving active objects and strings
I have taken a different approach to the problem and hope to solve it myself.
I have removed access to the file.
Re: Saving active objects and strings
You could try the save game object, if they are actives it works great and keeps it all in one file.
Re: Saving active objects and strings
Thanks Kimera.
I think the problem with this approach is that identification of the objects in my game is based on their names (alterable string), making it difficult to use the save game object.
I have decided to change my approach and use the save frame position. To do that, I need to load several global values after loading the saved frame. Since they are keyed to each player, I am thinking of using an array that I can save using the player's name. I don't have much experience creating an array so I am studying that know to learn how to best program it.