A way to store potentially infinite 2D map data?

Posted by Blam on Game Development See other posts from Game Development or by Blam
Published on 2011-06-08T12:03:21Z Indexed on 2012/10/03 15:52 UTC
Read the original article Hit count: 246

Filed under:
|
|
|
|

I have a 2D platformer that currently can handle chunks with 100 by 100 tiles, with the chunk coordinates are stored as longs, so this is the only limit of maps (maxlong*maxlong). All entity positions etc etc are chunk relevant and so there is no limit there.

The problem I'm having is how to store and access these chunks without having thousands of files. Any ideas for a preferably quick & low HD cost archive format that doesn't need to open everything at once?

© Game Development or respective owner

Related posts about XNA

Related posts about 2d