Difference between revisions of "Train Shake"

From Make a Good Mega Man Level Contest
Jump to: navigation, search
(Created page with "{{gimmick |align=right |name=Train Shake |image= |caption= |jname= |script= |romaji= |altname= |programmer=NaOH |artist= |hp= |at= |type=Visual |location= |OffAppear=Meg...")
 
Line 2: Line 2:
 
|align=right
 
|align=right
 
|name=Train Shake
 
|name=Train Shake
|image=
+
|image=[[File:TrainShake.gif|Animated GIF of the Train Shake gimmick in action.]]
|caption=
+
|caption=Animated GIF of the Train Shake gimmick in action.
 
|jname=
 
|jname=
 
|script=
 
|script=

Revision as of 20:16, 28 January 2019

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