SaveState/LoadState - Problem

Monkey Forums/Monkey Programming/SaveState/LoadState - Problem

Lugato(Posted 2012) [#1]
Hi to all,

Anyone here have problems to use SaveState and LoadState in Windows Phone ?

The process to save and load when I'm playing the game work's nice, but when try exit the game and return, all my data was lost..

thanks


Volker(Posted 2012) [#2]
No problems here.

but when try exit the game and return, all my data was lost.

Do you mean when you close the app or when it is suspended?
You can use the method OnSuspend() to save your data.
This thread would be better placed in XNA forum.


benmc(Posted 2012) [#3]
I've been testing on my new Windows Phone a lot lately, and have not had this problem. I can't seem to get it to suspend and not completely restart every time however.