I’m making a simple 2D game in libgdx, and now I’m at the point where I have to save data. I already have a mechanism to save the data itself.
The problem is that I don’t know when/where the procedure to save the state should be executed. Should it be executed in dispose method? Or pause method?
Save the state every time the player dies doesn’t seem very efficient to me.
Anyone can give me tips about this?
Thanks in advance.
↧
Libgdx – when / how to save data
↧