EvilEngine/DYNA/effect:ScreenFade

From Heavy Iron Modding
Revision as of 19:05, 28 June 2021 by Seil (talk | contribs)

effect:ScreenFade
Version1
Hash0x9535DB9D
Games usedThe SpongeBob SquarePants Movie
Rise of the Underminer
Source codexScreenFade.cpp

effect:ScreenFade fades the screen out to a specified color, waits, then fades the screen back in.

Format

struct asset_type : xDynAsset
{
    xColor_tag dest;
    float32 fadeDownTime;
    float32 waitTime;
    float32 fadeUpTime;
};
Offset Type Variable Description
0x00 Color dest The color to fade the screen to.
0x04 float fadeDownTime How long it takes to fade out.
0x08 float waitTime How long to wait before fading back in.
0x0C float fadeUpTime How long it takes to fade in.

Events

Start Fade

Starts the screen fade.

Reset

Resets the screen fade.