Jump to content

Lightning/Flash Effect

Overview
Creator: Demonlink Added: 07 Jul 2015 Tags: FFC, Misc Downloads: 45
Rating[?]: Rating: 3.5/5 (1 rating)
View Script Download Example
(1.67 MB)
Information

Description Setup Reviews Comments

VERSION A:


const int LIGHTNING_DELAY = 0; //Delay in frames until the effect repeats itself.
const int LIGHTNING_SFX = 0; //SFX to use. Self explanatory.
const int LIGHTNING_LAYER = 0; //Layer to draw the rectangle to. (Needs to be used by the screen).
const int LIGHTNING_COLOR = 0; //The rectangle is drawn using the specified index into the entire 256-element palette: for instance, passing in a color of 17 would use color 1 of cset 1.



VERSION B


The version that's not plug and play.
Arguments are as follows:
D0 is the delay in frames until the effect repeats itself.
D1 is the SFX to use. Self explanatory.
D2 is the Layer to draw the rectangle to. (Needs to be used by the screen).
D3 is the color of the rectangle using the specified index into the entire 256-element palette: for instance, passing in a color of 17 would use color 1 of cset 1.