Think Super Mario World. I'm sure there will be numerous ways of doing it but I've never actually attempted it before. What is the easiest or most effective way making one?
I guess 4 way movement that keeps walking until the player is overlapping one of the level markers. With a path between connected levels.
Each level marker should be unique and completed levels have to be stored in an ini/array or global value.
there's probably more to it than that...
Super mario bros 3's level selection is similar but a more simple variation.
You do the entire thing off a big bad node setup. You create a function that moves the player from node to node visually, and they tie every node together with a 4x way up/down/left/right linked list and....
oops.
In TGF/MMF, you uh, somehow use the alterable values inside the node objects to somehow point to other node objects. Like replace A/B/C/D/E with "UpPointer", "DownPointer", "LeftPointer", "RightPointer" & "ThisNodeID". Then, when the player is on the node and presses an arrow key, it simulates the movement between the node the player is on top of, and the node with the ID stored in the node the player is on top of's alterable value pointer.
In other words, you really really wish you had linked lists.