Skip to main content
3 of 5
better description on what I want to make.

How do you connect multiple 2-D maps into one large map?

I am planning on making a 2-D Science-fiction game involving spaceships and One of the major things that I am having trouble figuring out is how to create a 2-d array of smaller maps that the player can explore. (Similar to that old(and possibly forgotten) flash game Starfighter: Disputed Galaxy)

-Update- Okay. Isince I was asked to be more descriptive about what I want to do (and the fact that I could have given a description on how it worked) here is what I want to try and do: Map example

The map here is composed of a 2-D array composed of smaller maps called sectors. Each sector is connected to other sectors and when you move to the edge of a sector, you go to the next. For example, if I was in sector [05][01] and I move up until I cross the edge, I am taken to sector [06][01], then I go to the right, crossing the right edge of the sector, I am now taken to sector [06][02]

However, if I am at a sector like [0][5] and attempt to go down, It will not allow me to cross the edge line of the sector. In other words, a huge map made out of smaller maps.

If you guys need more details, I am willing to give them to you.