Glitch

From the Super Mario Wiki, the Mario encyclopedia
Revision as of 07:01, September 21, 2024 by LinkTheLefty (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
This article is about glitches in general. For a full list of glitches in each game, see Category:Glitches.
The Minus World glitch, from Super Mario Bros.
A glitch in Super Mario Land 2: 6 Golden Coins.
An example of one of the many glitches, this one from Super Mario Land 2: 6 Golden Coins

A glitch or bug is an unintended behavior of any video game that results from programming errors. Glitches range from characters falling through the floor to the game crashing. An example of a well-known glitch is the Minus World from Super Mario Bros.

When glitches occur, either something unusual happens (such as Mario being able to walk underwater, a glitch in Super Mario Sunshine and Super Mario 64 DS), or the screen freezes and sometimes some random pixels and object tiles appear. Some glitches are caused by damaged game media, even if there are no errors in the game's programming, or other direct interference with the game media, such as cartridge tilting in Super Mario 64. Some activate only when the player presses a certain sequence of button commands. Other glitches, such as the aforementioned Minus World, can actually create new levels occasionally made randomly and haphazardly, and others allow the player to guide their character offscreen. Sometimes glitches grant access to slapdash areas (sometimes composed of many garbled symbols) and unused parts of stages.

One type of programming error that can result in glitches across multiple games is an integer overflow or underflow, where an integer variable, instead of being stopped from increasing from its maximum value or decreasing from its minimum value, instead rolls over from its maximum to minimum or minimum to maximum value. Instances of an integer overflow or underflow causing a glitch are present in Paper Mario[1] and Super Mario 64.[2]

Trivia[edit]

External links[edit]

References[edit]

  1. ^ [1], an explanation of the overflow glitch is in the video.
  2. ^ [2], an explanation of the overflow/underflow glitch is in the description.