Train Shake

From Make a Good Mega Man Level Contest
Jump to: navigation, search
Train Shake
Animated GIF of the Train Shake gimmick in action.
Animated GIF of the Train Shake gimmick in action.
In-Game Information
Type: Visual
Location(s): MaGMML: Episode Zero:
Null and Void
Programmer(s): NaOH
Series Information
Official Game Appearances: Mega Man 5
Mega Man IV
MaGMML Game Appearances: MaGMML: Episode Zero
Megamix Engine
"Causes the camera to shake up and down periodically, as in Charge Man's stage (mm5)"
―Note in Train Shake's code, Megamix Engine

The Train Shake is a gimmick in Mega Man 5, found in Charge Man's stage. It makes the camera periodically shake vertically, to give the impression of being on a moving train.

The Train Shake was first made available in the Megamix Engine, and it subsequently appeared in the devkits for both Make a Good Mega Man Level 3 and Make a Good 48 Hour Mega Man Level. Its debut in the MaGMML games was in Make a Good Mega Man Level: Episode Zero, where it made a single appearance in Null and Void in Big Fish's room on Floor 1.


When used, Train Shake will, every so often, play a sound effect and cause the camera to move up and down for a brief moment, emulating a train going over rails.

Train Shake has four creation code variables:

  • shakeVertical - Determines the limits of vertical shaking.
  • shakeHorizontal - Determines the limits of horizontal shaking.
  • shakeTime - Determines the length of the "regular" and "shake" states.
  • onlyShiftTiles - If set to false, objects are shifted along with tiles when shaking (by default, only tiles are affected).