I am using the saveValue and loadValue functions from Beebe class and have a question regarding the data files which I am writing information to. If I have 25 levels, and want to save the high score for each level, do I need 25 accompanying data files… ex: level1score.data, level2score.data… or is there a way to do it with just one data file? [import]uid: 28912 topic_id: 8569 reply_id: 308569[/import]
From what I read on the saveValue function, it overwrites the first line of the data file you specify. If you want to keep data for every level, using the beebe games class, you will need individual files. [import]uid: 5317 topic_id: 8569 reply_id: 30761[/import]
Or you can use a sqlite table…
Regards.
Francisco. [import]uid: 11749 topic_id: 8569 reply_id: 30793[/import]