Original Post
I've been trying to figure out how to do this, and what the best method would be. Oh, and I'm talking about 2D, not 3D. So far, I've thought of having 9 map arrays. Each map array has two dimensions, and each location in the array represents the information for one tile. The center map array would be the one they are on, then the other 8 would be the ones to the N, S, E, W, NE, NW, SW, and SE, respectively, so when they hit the edge of the center map, then it starts to scroll onto the next map. Then at some point, it needs to quickly copy a bunch of the map arrays into a different map array, and load a few new maps, and unload a few of the old ones, shortly after the player steps over the boundary line. It's all tile-based. So, does anyone have a better way of handling this? I'm not sure how distance across map calculations could be done either. I believe someone referred to this as blending or something.