I searched the forum but can’t find anything…
Are there any examples on how to setup a default preferences (maybe plist ?) for your game app? [import]uid: 295 topic_id: 1922 reply_id: 301922[/import]
I searched the forum but can’t find anything…
Are there any examples on how to setup a default preferences (maybe plist ?) for your game app? [import]uid: 295 topic_id: 1922 reply_id: 301922[/import]
Did you searched the reference?
There is no plist file you can change. Only the build.settings file. The possible options are explained in the reference. [import]uid: 5712 topic_id: 1922 reply_id: 5671[/import]
Yeah. I searched my ass off but I wasn’t looking for such a build.settings that specifies overall app behavior within the iOS. (And it’s a bit hard when your don’t really know what to search for.)
I want a settings file the holds user-selectable settings, for example: use/don’t use timer, number of moves till game is finished, etc.
Anyway I ended up by just writing/reading the preferences to/from a file. [import]uid: 295 topic_id: 1922 reply_id: 5675[/import]
@tokyodan,
I see you came up with your own solution, but here is another example of how to save/restore settings to a text file - http://developer.anscamobile.com/code/save-and-restore-state
It’s from the Code section of the Ansca site. [import]uid: 8194 topic_id: 1922 reply_id: 5678[/import]
Thanks a lot! [import]uid: 295 topic_id: 1922 reply_id: 5685[/import]