Block Train
| Block Train | |||||||||||||||||||||
| |||||||||||||||||||||
The Block Train is a gimmick in Mega Man 5, found in the third stage of Proto Man's Castle. It is a series of blocks that travel across an area.
Block Trains were first made available in the devkit for Make a Good Mega Man Level 2, where they appeared in the entries Forgotten Fortress and Holy Crap, Mega Man Can Airslide?, as well as in the Pit of Pits sublevel "City Night".
Behavior
Block Trains are a collection of solid blocks that move across an area, with a block at one end fading away while a new one appears at the other. If a Block Train touches an object that makes it change direction (e.g. objBlockTrainLeft, objBlockTrainUp), then new blocks will appear in that direction until hitting another directional object.
Block Trains have several creation code variables:
- imgdelay - How long it takes for a block to fade in/out.
- spawndelay - How long it takes for a new block to appear.
- trainlength - The number of blocks making up the Block Train (by default, ten blocks).