Hello 🙂 I'm playing around with the title screen and I'm wondering if its possible to add a screen flash.
Should this work?
Edit: I'm guessing the $gameScreen.startFlash() only applies when on the map?
I also found this -
This looks like it uses a full screen sprite to create a flash effect. Ill have a look into this some more.
Edit: Got this working using the screen flash sprite 🙂
Should this work?
Code:
$gameScreen.startFlash(color, duration);
Edit: I'm guessing the $gameScreen.startFlash() only applies when on the map?
I also found this -
Code:
Sprite_Animation.prototype.createScreenFlashSprite = function() {
this._screenFlashSprite = new ScreenSprite();
this.addChild(this._screenFlashSprite);
};
Edit: Got this working using the screen flash sprite 🙂