Toggle-able Lava or Poison Water, Disappearing Boos etc.
Posted: Sun Mar 08, 2020 12:58 pm
I'd like to share one of my first significant custom creations using Luna Lua code!
This is a layer which can be switched on and off, or set to vanish and reappear after a set time, and is perfect for that "water that turns back into lava or poison" seen in levels like Donkey Kong Country 2's "Lava Lagoon". It can also be used to create your own "vanishing Boo" effect which is what I had originally created it for. Or the "ghost ropes" NPC of Donkey Kong Country. It also includes a handy "warn" event that is activated by a timer variable created in the code.
I owe thanks to: MrDoubleA, InfernoGuy and Cedur for helping me to iron out some snafus with the code and generally for being tolerant of a noob.
Images
Code
Tips & Explanation
Have fun!
This is a layer which can be switched on and off, or set to vanish and reappear after a set time, and is perfect for that "water that turns back into lava or poison" seen in levels like Donkey Kong Country 2's "Lava Lagoon". It can also be used to create your own "vanishing Boo" effect which is what I had originally created it for. Or the "ghost ropes" NPC of Donkey Kong Country. It also includes a handy "warn" event that is activated by a timer variable created in the code.
I owe thanks to: MrDoubleA, InfernoGuy and Cedur for helping me to iron out some snafus with the code and generally for being tolerant of a noob.
Images
Spoiler: show
Spoiler: show
Spoiler: show