What is Mode 7?
Mode 7 was a graphics setting on the Super Nintendo that let one flat picture spin and shrink as if it were a floor stretching off to the horizon. Racing games, flying games and a few role-playing games on the console used it to show a road or a map in perspective, years before consoles could draw real 3D shapes.
What Mode 7 did
The SNES drew its screen from several layers, called backgrounds, stacked on top of each other. Most backgrounds were grids of small tiles that could scroll left, right, up and down. Mode 7 was the one background mode that worked differently. It took a single large image, up to 1,024 by 1,024 pixels, and let the console rotate it, enlarge it or shrink it.
A spinning, zooming picture is useful on its own, for a map that turns or a boss that grows. The more famous use came from changing the settings between one row of the screen and the next.
The per-scanline trick
A television or handheld screen is drawn one horizontal row at a time. Each row is a scanline. The SNES could run a small piece of code between scanlines to change the rotation and scale for the next row.
Programmers used this to make the bottom of the screen show the image zoomed in and the rows near the horizon show it zoomed far out. Rows at the bottom covered a few pixels of the image each, so the ground looked close and large. Rows near the horizon covered a long stretch of the image, so the ground looked small and distant. Seen together, the flat picture looked like a floor receding into the distance. Rotate the image and the whole floor seems to turn around the player.
Games filled the space above the horizon with a normal background, usually a sky or a row of mountains, and drew cars, runners and trees on top as ordinary sprites.
How the Game Boy Advance did it
The Game Boy Advance, released in 2001, had a similar feature. Two of its background layers could be set to "affine" mode, which is the technical name for a layer that can be rotated, scaled and skewed. The programmer gave the layer a small matrix of numbers describing how to stretch it, and could change those numbers on each scanline, just as on the SNES.
That is why many GBA racing games look so much like their SNES ancestors. A textured floor in perspective, a flat sky behind it and scaled sprites for everything standing on the ground is the same recipe on newer hardware, with a 240 by 160 pixel screen and more colours to work with.
Why it looks the way it does
A few things about the look follow directly from how the trick works:
- The ground is perfectly flat. It is one picture, so there are no hills, slopes or bridges. Anything that has to rise above the floor has to be a sprite.
- Objects are sprites that change size. A tree, a rival kart or a signpost is a flat drawing. The game makes it smaller as it moves toward the horizon and larger as it gets closer. A sprite always faces you, so a kart seen from behind stays seen from behind.
- Textures stretch near the camera. Pixels of the floor image get enlarged when the ground is close, so up-close checks and stripes look chunky.
- The horizon stays fixed. Looking up or down is not part of the trick. The camera turns and moves over the floor, and that is all.
These limits are a large part of why games made this way are easy to read. The floor shows where to drive, and everything standing on it is a clear shape.
How the X1 does it
The X1 has a basic 3D mode in the same spirit. A holo can draw a textured ground plane that rotates and scales with the camera, so a track or a field stretches to the horizon and turns as you steer. It can also place sprites on that ground that grow and shrink with distance, such as trees, rival racers, coins and signposts.
The X1 adds one thing the old background modes did not have: simple low-poly shapes. These are boxes and ramps drawn with flat colours and no textures, sorted from far to near so closer shapes cover the ones behind them. A box can be a wall, a building or a crate, and a ramp can be a jump. They give a flat floor something solid to drive around and over.
The result is a look that sits between a top-down map and a full 3D game, drawn at the X1's 240 by 160 pixel size. You do not write any of this yourself. Describe the view in your idea, for example "behind the kart" or "from the cockpit", and the console builds it.
Ideas that suit it
Anything where you move across a large flat surface works well: racing, driving, flying low over land, skating, sailing and first-person-style exploring. The racing game ideas page has a group of behind-the-kart tracks to start from, and the make form is ready when you have your own. For the screen sizes these consoles used, see the guide to retro resolutions.