iPhone: Switching from a map screen to a battle screen without the map progress being reset

Posted by user298261 on Stack Overflow See other posts from Stack Overflow or by user298261
Published on 2010-04-17T00:19:44Z Indexed on 2010/04/17 0:23 UTC
Read the original article Hit count: 550

Filed under:
|
|

Hello!

I'm trying to make a role-playing game, and I want the game to work so that it transitions to the battle NIB for battles, then returns back to the map NIB afterward, yet still retain all the progress the player has made exploring the dungeon.

I've tried proto-typing this with just a view-switcher, where one view creates content, and then switches to the other view, and then coming back from the other view. However, once the view goes back to the original, the original view is reset.

How to make the data persistent so that it doesn't reset after every "battle"?

Thanks!

© Stack Overflow or respective owner

Related posts about rpg

Related posts about iphone