EnvColor (SCTRL)

Started by JustNoPoint, October 28, 2015, 07:50:36 PM

Previous topic - Next topic

JustNoPoint

Turns the whole screen a solid color, excepting foreground-layer animations like hit sparks and "ontop" explods. Foreground layers of the stage will not be visible.

Required parameters:
none

Optional parameters:
value = col_r, col_g, col_b (int)
Specifies the R, G, and B components of the color to set the screen to. Each component should be an integer between 0 and 255. The larger a component, the more of that color will appear in the environment color. The default is 255,255,255 (pure white).

time = effective_time (int)
Specifies how many ticks the environment color should be displayed. Defaults to 1 tick. Set to -1 to have the EnvColor persist indefinitely.

under = under_flag (int)
Set under_flag to 1 to have the environment color drawn under characters and projectiles. In other words, characters and projectiles will be visible on top of the colored backdrop. Defaults to 0.

Example:
none

altoiddealer

You can create a nice "flashing" effect with EnvColor if you use a timemod trigger, like "Time%4 = 0"


DJ_HANNIBALROYCE

Quote from: altoiddealer on October 29, 2015, 03:39:20 AM
You can create a nice "flashing" effect with EnvColor if you use a timemod trigger, like "Time%4 = 0"

never tried this expression for this trigger....hmmmm
Follow me on twitter! @djhannibalroyce

altoiddealer

If you want to see an example of this usage... I used it here along with BG Pal FX and an "electrified" Explod