Timer score Problem

How to use a timer as a score?
Let me explain it.
I need a timer as my counter to count the time taken by the user to complete the game.when the game is complete it should compare it with default High score .If it is greater than High Score it should replace it with the latest score else leave it.it should store the highest score so that the highest score is saved in the app and retained after the apps exits…
please help?
[import]uid: 82446 topic_id: 16324 reply_id: 316324[/import]

use the…
Rahul… sorry…

cheers,

?:slight_smile: [import]uid: 3826 topic_id: 16324 reply_id: 60808[/import]

This + this + this + You = Solution
[import]uid: 5833 topic_id: 16324 reply_id: 60839[/import]

Colud not get the use of Ice.You are using SQLite . Cant we do without SQLite? [import]uid: 82446 topic_id: 16324 reply_id: 61040[/import]

Yes Ice uses SQLite, the reason I chose to do this is that the files on the apps Documents directory are accessible to the user if they so desired so if you were using the files to lock out certain levels or something then the user could just edit them himself. What I do is actually encode the data into Json and then shove that into an SQLite database simply to make it a little harder to deal with for them. Naturally if they wanted they could still edit things but it takes out most of the opportunists. [import]uid: 5833 topic_id: 16324 reply_id: 61075[/import]

It sounds definitely like Ice is what I was looking for. The idea of SQLite makes me feel uneasy because I assume it’s a bit too advanced for me to tackle. Now with the help of Ice, I might just be able to solve one of the concerns I had regarding the saved data. Thanks, Graham! [import]uid: 67217 topic_id: 16324 reply_id: 61120[/import]

Very happy to hear that! I only ever made Ice for my own use and then figured I may as well release it. Glad to hear that it is actually getting used by other people. [import]uid: 5833 topic_id: 16324 reply_id: 61125[/import]