vote up 2 vote down
star

Usually game requires to store following data.

  • Gamer name
  • Gamer Score
  • Gamer Current Level
  • Gamer Current Life
  • Highest Scores
  • etc.

According to me, there are two ways of storing the details regarding game.

  • Use SQLite Data base.
  • Use .plist file

Which is best among them? How? (For example, For Gamer - Sagar & Rocky Martin Sagar's Game Level Sagar's Top Score Sagar's Current Life Should we use individual .plist files for that?

Or

Should we create tables & manage them in database?

) Which one is preferable for what kind of games?

How to store data in .plist file?

flag

2 Answers

vote up 3 vote down
check

SQLite, probably the easiest interface into, for saving and reading your data.

link|flag
yup. For complex kind of data - I surely have to use sqlite & for simple - fixed kind of data - I can go for .plist files. – sagar Oct 10 at 21:52
vote up 0 vote down

Not sure which is the best way. See how Crashlanding sample code stores high scores for example code.

link|flag

Your Answer

Get an OpenID
or

Not the answer you're looking for? Browse other questions tagged or ask your own question.