Skip to content
Will Blanton edited this page Sep 12, 2019 Β· 1 revision

A SubState that Fades in and closes, perfect for an intro transition for a level!

Example:

In create() of PlayState.hx

add(player);
add(level);
openSubState(new FadeIn());
Clone this wiki locally