Where to save attributes? - How to test Key loading

dwibredwibre Member Posts: 192
edited May 2012 in Working with GS (Mac)
I am trying to save and loading my score attribute using keys etc... All the tutorials and forums I have read say that you should save the attribute in the item that changes the score. However I have various items that change the score (coin collection changes score, killing enemies etc) Do I have to put the save score in all these actors?

My alternative is to put it in the display score box I have which just displays the score attribute. I have set it to save the attribute every 1 second.

Will this work?

Also is there any way to test this will it load attributes on the GS viewer?

I am concerned that I go though the process of releasing the game into the app store and basic things like high scores don't work?

Best Answer

  • tenrdrmertenrdrmer Posts: 9,934
    Accepted Answer
    to test your saves and loads all you need to do is run the preview mode in the creator and then each time you click the little grey reload icon it is the same as completely closing the app and restarting on a device. If your saves and loads are working properly your scores will be saved. If everything that should be saving and loading resets to what ever the starting value was then you have and issue somewhere in your save/load system.

    cheers

Answers

  • turnstyleturnstyle Member, PRO Posts: 13
    the "reload icon" is that the RESET icon? I'm having trouble testing save and load - when testing do I test on my device or just use preview?
Sign In or Register to comment.