Difference between revisions of "Train Shake"

From Make a Good Mega Man Level Contest
Jump to: navigation, search
m
Line 15: Line 15:
 
|location=
 
|location=
 
|OffAppear=[[Mega Man 5]]<br>[[Mega Man IV]]
 
|OffAppear=[[Mega Man 5]]<br>[[Mega Man IV]]
|MaGMMLAppear=
+
|MaGMMLAppear=[[Megamix Engine]]
 
|appear2=
 
|appear2=
 
|sprite=[[File:TrainShakeIcon.png]]
 
|sprite=[[File:TrainShakeIcon.png]]

Revision as of 19:26, 16 May 2021

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
MaGMML Game Appearances: Megamix Engine
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).