A Better Maze Loop Function

3,722 views · Published 15 October 2009 · 2:15 · Indexed 8 November 2026

Channel: N64Mario · 2009 · Gaming

Watch on YouTube

In the first Mega Man Engine I developed (now discontinued), the old maze loop code I made was limited to 1 screen away, and very messy. Not very maze like.

The maze loop feature shown in this video from my new current WIP engine is a lot more cleaner, and can can be used to transition back to any screen. You can have multiple screens in between this maze loop function.

This maze loop feature uses a programming method similar to how my active teleporters currently work. In this case, however, the player is repositioned differently based on the numbers for the players screen position.

The Wily symbols at the center of those screens before the maze loop transitions are actually 'fake rooms'.  They just show how I transitioned back to where I want the maze loop to end up at.

More from this channel