The game has multiple levels in a grid format. When a player leaves one end of a level, they should appear in the next level relative to the position the player was previously at in the previous level.
For example, if the player is on level 0,0, and moves to the far upper right and leaves the level, the player should appear in level 1,0 in the upper left.
All levels are 800x600 pixels. Perhaps we could have a multidimensional array for all the levels. Once a player leaves the bounds of an 800x600 square, change the level to the next level in an array?
The game has multiple levels in a grid format. When a player leaves one end of a level, they should appear in the next level relative to the position the player was previously at in the previous level.
For example, if the player is on level 0,0, and moves to the far upper right and leaves the level, the player should appear in level 1,0 in the upper left.
All levels are 800x600 pixels. Perhaps we could have a multidimensional array for all the levels. Once a player leaves the bounds of an 800x600 square, change the level to the next level in an array?