See this question: 'Binary XML' for game data? I would also opt for JSON or YAML or even XML, but that has quite much overhead. As for SQLite, I would never use that for storing levels. A relational database is handy if you expect to store a lot of data that is related (eg has relational links/foreign keys) and if you expect to ask a large amount of different queries, storing tilemaps doesn't seem to do these kinds of things and would add needless complexity.
Roy T.
- 10.2k
- 38
- 58