Hello!
I'm looking to get as much theory as possible on this subject, I have a hobby project i'm working on: a 2D orthographic game which i have used the standard tile grid array technique to render in XNA. But would like to implement dynamic loading of groups of tiles (chunks) so i can implement larger worlds then a standard grid.
The part of the theory i most understand is when the camera, or object gets close to the edge of a chunk the new one is loaded in the direction the camera is traveling and the chunk behind is unloaded. I guess the theory is to have an array that tracks chunks, then another array inside the chunk to track tiles?
Things I don't understand:
- Loading an adjacent chunk that "lines up" with the old one.
- Best way to "signal" a new chunk should be loaded.
- General Implementation details
I would like to heavy research this topic as i want it to be a center point of any other 2d games i make in the future.
So i welcome any and all recommended:
- Books
- Tutorials
- Videos
And of course code snippets and comments would be very valuable to me. (most proficient with XNA)
Thanks.
Edit: (Also had another question on general tile maps, should i ask here or start a new thread)?