Auto Save and Auto Load Game onto the Device's Storage Concept Question
Posted
by
David Dimalanta
on Game Development
See other posts from Game Development
or by David Dimalanta
Published on 2012-11-15T05:08:52Z
Indexed on
2012/11/15
11:26 UTC
Read the original article
Hit count: 364
I'm trying to make a simple app that will test the save and load state. Is it a good idea to make an app that has an auto save and load game feature only every time the newbies open the first app then continues it on the other day?
I tried making a sprite that is moving, starting at the center. When I close and re-open the app, the sprite goes back to the center instead of the last coordinate where the sprite land on this part (i.e. at the top).
The thing I want to know how the sequence of saving and loading goes like this:
- I open the app
- The starting sprite at the center.
- It displays a coordinate of the sprite plus number of times does the sprite move.
- I exit the app that automatically saves the game without notice.
- Finally, when I re-opened it, it automatically loads the game retaining the number of times the sprite move, coordinates, and the sprite's area landed.
These steps above are similar, but not the sprite movement test app, to the sequence of saving and loading the game's level and record in Jewel Stackers for the Android app.
And, by default, if there is no SD card in any tab or phone that runs on Android, does it automatically save/load onto the internal drive or the APK file itself? Is it also useful to use auto save and auto load feature for protecting and fetching informations (i.e. fastest time, last time where the sprite is located via coordinates, etc.)?
© Game Development or respective owner