Train Shake

From Make a Good Mega Man Level Contest
Revision as of 20:16, 28 January 2019 by Brash Buster (talk | contribs)
Jump to: navigation, search
Train Shake
Animated GIF of the Train Shake gimmick in action.
Animated GIF of the Train Shake gimmick in action.
Information
In-Game Information
Type: Visual
Programmer(s): NaOH
Series Information
Official Game Appearances: Mega Man 5
Mega Man IV
TrainShakeIcon.png
"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.

Behavior

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).