How can you add a delay between visual effects like a fade, for example I would like to fade the screen out then wait 2 seconds and then fade back in:
How can I do this?
Code:
$gameScreen.startFadeOut(60);
// How to add a wait of 2 seconds here?
$gameScreen.startFadeIn(60);
How can I do this?