Life: Difference between revisions
(Created page with "{{ID |name = Life |id = 66 |robotic = Life |color = <code>c0b</code> (cyan on black) |param = 0 |idchar = 0 |idanim_chars = Life animation chars<br>(#278-#281) |idanim_colors = Life animation colors<br>(#282-#285) |active = y |pushable = any |effect_touch = Give 1 LIVES; become Space, move Player }} Category:MegaZeux Category:MegaZeux built-in objects Category:Items Life (ID 66, <code>Life</code>) is a built-in item. When touched by...") |
mNo edit summary |
||
Line 14: | Line 14: | ||
[[Category:MegaZeux]] [[Category:MegaZeux built-in objects]] [[Category:Items]] | [[Category:MegaZeux]] [[Category:MegaZeux built-in objects]] [[Category:Items]] | ||
[[Life]] (ID 66, <code>Life</code>) is a [[built-in]] [[Items|item]]. When touched by the [[Player]], it gives 1 [[LIVES]], plays [[SFX]] 5 (Life), is removed from the board, and the Player moves onto its old position. | [[Life]] (ID 66, <code>Life</code>) is a [[built-in]] [[Items|item]]. When touched by the [[Player]], it gives 1 [[LIVES]], plays [[SFX]] 5 (Life), displays the [[Message Line|message]] <code>You find a free life!</code>, is removed from the board, and the Player moves onto its old position. | ||
== Behavior == | == Behavior == |
Latest revision as of 21:30, 14 June 2025
Life # 66 ![]() | |
Robotic name | Life
|
Default color | c0b (cyan on black)
|
Default param | 0 |
ID char | 0 (#66) |
ID anim. chars | Life animation chars (#278-#281) |
ID anim. colors | Life animation colors (#282-#285) |
Attributes | Active Pushable: any |
Effect when touched |
Give 1 LIVES; become Space, move Player |
Life (ID 66, Life
) is a built-in item. When touched by the Player, it gives 1 LIVES, plays SFX 5 (Life), displays the message You find a free life!
, is removed from the board, and the Player moves onto its old position.
Behavior
The entire parameter of Life is its current animation Stage.
Every even cycle, a Life updates its animation. If its Stage is equal to 3, it will reset it to 0; otherwise, it will advance its Stage by one.
The current display character of Life is determined by position parameter + 278
of the ID animations. The current display color of Life is determined by position parameter + 282
of the ID animations.
MegaZeux 1.00 until 2.00
In MegaZeux 1.x, Life updates on every cycle instead of on every other cycle.
Unintended behavior
A Life with a Stage of 4 or greater can be created. These Stage values continuously increment the parameter until the Stage overflows to 0. This results in buggy animations referencing other ID animation and ID damage values, the specifics of which are version-dependent and unsupported.