Save/Load on multimple frame
I went though a couple of times the "Engine Works: Saving and Loading" tutorial. While it relies on one frame, I've been trying to get a game to load on multiple frames (levels) using an array.
I'm stuck. My character's position is saved every time it passes by a statue. But it all changes whenever the character is in another frame (level).
So whenever a player wants to return, say level 3 instead of starting from the beginning, all they do it click on the 'continue' button at the title screen.
Any suggestions?
Re: Save/Load on multimple frame
Do you remember to save the array to file?
Personally I would use the ini object instead. For saving only a few values an array really isn't neccessary. Arrays are more useful when saving 100's of positions :)
Re: Save/Load on multimple frame
Yes, the array was saved.
Re: Save/Load on multimple frame
Hey thanks, Popcorn. The INI object worked. It drove me nuts the array couldn't save the level the player was on after he quit the game.
I have one other question to add....Usually when somebody uses an engine in their game it's customary to credit the author or the engine. I'm using the Platform Movement Object in my game. Since it's a 3rd party? extension, is it wise to credit the author of it?
Re: Save/Load on multimple frame
I did, for the games where I used it. The need to credit extension writers varies depending on the extension licence, but I tend to do them as a matter of politeness.