Saving Game State

Just a FYI that I’ve just started to put together a tutorial on saving game state. I had a request for a tutorial on this recently and its something I had to do in Sir Lamorak’s Quest.

It actually sounds harder than it is. I ended up using NSCoding in the objects that I wanted to store and it ended up being REALLY simple to implement. This tutorial will be based on a stand alone app rather than on the previous tutorial code. That way I can just focus on how you can save state using NSCoding. I’ll then give you a sneak peak at how that looks in Sir Lamorak’s Quest.

Can’t give a firm time for the tutorial, but it should not be long :oD

Mike

Share:
  • Digg
  • del.icio.us
  • Facebook
  • MySpace
  • Reddit
  • StumbleUpon
  • Technorati
  • TwitThis
  • Design Float
  • DZone
  • email
  • Google Bookmarks
  • LinkedIn
  • Scoopeo
  • Tumblr

One Comment

Tim  on December 22nd, 2009

Mike,

This is something I am also considering for an upcoming game as well. I can’t wait to see the tutorial! Right now I am considering just letting the user start a new game from their last highest level but if there is a game in progress and you fire up another app, then come back to my app, they have to re-start that level all over again vs. being able to resume at the point were they left off.

Keep up the great work! I hope you, John and your families all have an awesome Christmas and New Years!

Cheers!

-Tim

Leave a Comment