Layer 3 Animations - pk-hack/CoilSnake GitHub Wiki
I'm not about to write this entire page but I'm sick of it not existing at all so I'm gonna slap some quick basics here:
the "Animations" folder of the coilsnake project contains several different animations. These are:
- camera shutter
- carpainter lightning
- starman junior warp
- skyrunner BOOM
- little effect when you get ambushed in the threed hotel
- "THE END...?" post credits text
These animations work by using the SNES' 3rd background layer. This is the same layer windows and text are displayed on so there will be graphical issues if you open a window too quickly or don't refresh the graphics after playing an animation.
All of these animations are very specialized and the code to play them are embedded in actionscripts for their respective cutscenes, thus there's no easy way to trigger them with a control code or something. You'll have to modify or write some new actionscript to use these animations on their own. Most of them work on a basic loop of setting a sprite's actionscript vars to choose the graphics and frame delay and whatever and then calls an asm function to display each frame.