Revealing Tiles

From Make a Good Mega Man Level Contest
Jump to: navigation, search
Revealing Tiles
Information
In-Game Information
Type: Visual
Location(s): MaGMML: Episode Zero:
String Theory
Null and Void
Programmer(s): NaOH
Series Information
Official Game Appearances: Mega Man 7
MaGMML Game Appearances: MaGMML: Episode Zero
Megamix Engine
Revealing Tiles object icon
"makes all tiles on a particular layer invisible. when mega man is near those tiles in the section this is placed in, they become visible."
―Note in Revealing Tiles's code, Megamix Engine

Revealing Tiles are a gimmick from Mega Man 7, found in Cloud Man's stage and the third Wily Castle stage. It is a cloaking effect that hides all tiles beyond a small radius around certain objects.

Revealing Tiles were first included in the Megamix Engine, and therefore the devkits for Make a Good Mega Man Level 3 and Make a Good 48 Hour Mega Man Level. The first game to use them was Make a Good Mega Man Level: Episode Zero, in the stages String Theory (which used them to emulate a darkness gimmick) and Null and Void.

Behavior

When a Revealing Tiles object is placed inside a section, it will render all tiles on a layer within that section invisible, while only making them visible within a small radius for specific objects. By default, Mega Man can see tiles close to him, but other objects can be given this property as well. If a Tel Tel has created snowy weather, invisible tiles will be covered by a blanket of snow, allowing them to be visible no matter what.

Revealing Tiles have a few creation code variables:

  • layer - The tile layer the object looks for; all tiles on that layer (1000000 by default) will be rendered invisible.
  • revealersN - The total number of objects that can reveal tiles (by default, this is set to 1).
  • revealers[#] - An array that lists the objects that can reveal tiles (objMegaman is set to revealers[0] by default).
  • radius[#] - An array that lists the size of the radius in pixels in which tiles are revealed (by default, the radius is 32 pixels big). The assigned number matches those of the same number in revealers[#].