score updat

hi friends,

i have developed a game in which there are 20 sub-levels in each level. so i have to update score in each of the sub level and show it at the end of main level. so how can i do that?

Hoping for your reply asap.

Regards
Varun [import]uid: 130269 topic_id: 26182 reply_id: 326182[/import]

Hello!

i’d recommend using a thing called ice.

http://developer.anscamobile.com/code/ice

Ice let’s you store a value in a thing called in “ice box” and then you can retrieve that value from anywhere in your game.

Let’s say you were making a game with 3 levels and you would like them to have to be beaten in chronological order without skipping levels.
first you could play level one and store the score of level one in the icebox. Then in the menu you could have it retrieve that value and if the score is > 80 or something it will allow you to click on level 2 and then play it.
Also a cool thing about ice is that when your done playing the game and you come back to it, it will still have the same values in everything so inevitably it saves all your data.

if you need any further help with the coding of ice i would be happy to help

-boxie
[import]uid: 113909 topic_id: 26182 reply_id: 106068[/import]

Hi Boxie,

Thanks for the help. I really overcame from the problem with your help.

Thanks again.

Regards
Varun [import]uid: 130269 topic_id: 26182 reply_id: 106729[/import]