From f95db880087c70664f59c9631890ec7f165187ba Mon Sep 17 00:00:00 2001 From: Rain Clark Date: Sat, 8 Oct 2016 01:11:16 -0400 Subject: [PATCH] Added some notes on what I want added :ballot_box_with_check: Mostly Egg Animations --- source/MenuState.hx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/MenuState.hx b/source/MenuState.hx index 12c14d6..e759226 100644 --- a/source/MenuState.hx +++ b/source/MenuState.hx @@ -32,6 +32,7 @@ class MenuState extends FlxState _txtTitle.screenCenter(X); add(_txtTitle); + // TODO: Animate this _sprEgg = new FlxSprite(0, 0, AssetPaths.Egg__png); _sprEgg.x = (FlxG.width/2) - (_sprEgg.width/2); _sprEgg.y = (FlxG.height/2) - (_sprEgg.height/2); @@ -59,6 +60,9 @@ class MenuState extends FlxState private function pressStart():Void { _sndSelect.play(true); + + // TODO: Play Egg cracking animation + FlxG.camera.fade(FlxColor.fromRGB(136, 192, 112, 0), 0.5, true, function() { FlxG.switchState(new PlayState());