diff --git a/assets/images/GO0002.png b/assets/images/GO0002.png deleted file mode 100644 index 3fbc2d0..0000000 Binary files a/assets/images/GO0002.png and /dev/null differ diff --git a/assets/images/GO0003.png b/assets/images/GO0003.png deleted file mode 100644 index 3fbc2d0..0000000 Binary files a/assets/images/GO0003.png and /dev/null differ diff --git a/assets/images/GO0004.png b/assets/images/GO0004.png deleted file mode 100644 index c23ed15..0000000 Binary files a/assets/images/GO0004.png and /dev/null differ diff --git a/assets/images/GO0005.png b/assets/images/GO0005.png deleted file mode 100644 index c23ed15..0000000 Binary files a/assets/images/GO0005.png and /dev/null differ diff --git a/assets/images/GO0006.png b/assets/images/GO0006.png deleted file mode 100644 index d2c6d75..0000000 Binary files a/assets/images/GO0006.png and /dev/null differ diff --git a/assets/images/GO0007.png b/assets/images/GO0007.png deleted file mode 100644 index d2c6d75..0000000 Binary files a/assets/images/GO0007.png and /dev/null differ diff --git a/assets/images/GO0008.png b/assets/images/GO0008.png deleted file mode 100644 index d2c6d75..0000000 Binary files a/assets/images/GO0008.png and /dev/null differ diff --git a/assets/images/GO0009.png b/assets/images/GO0009.png deleted file mode 100644 index d2c6d75..0000000 Binary files a/assets/images/GO0009.png and /dev/null differ diff --git a/assets/images/GO0010.png b/assets/images/GO0010.png deleted file mode 100644 index d2c6d75..0000000 Binary files a/assets/images/GO0010.png and /dev/null differ diff --git a/assets/images/GO0011.png b/assets/images/GO0011.png deleted file mode 100644 index d2c6d75..0000000 Binary files a/assets/images/GO0011.png and /dev/null differ diff --git a/assets/images/GO0012.png b/assets/images/GO0012.png deleted file mode 100644 index a056c61..0000000 Binary files a/assets/images/GO0012.png and /dev/null differ diff --git a/assets/images/GO0013.png b/assets/images/GO0013.png deleted file mode 100644 index e80c865..0000000 Binary files a/assets/images/GO0013.png and /dev/null differ diff --git a/assets/images/GO0014.png b/assets/images/GO0014.png deleted file mode 100644 index 2560f39..0000000 Binary files a/assets/images/GO0014.png and /dev/null differ diff --git a/assets/images/GO0001.png b/assets/images/go.png similarity index 100% rename from assets/images/GO0001.png rename to assets/images/go.png diff --git a/source/PlayState.hx b/source/PlayState.hx index d90b22d..ad46220 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -106,10 +106,43 @@ class PlayState extends FlxTransitionableState case 0: FlxG.sound.play('assets/sounds/freshIntro.mp3', 0.6); case 1: + var ready:FlxSprite = new FlxSprite().loadGraphic('assets/images/ready.png'); + ready.scrollFactor.set(); + ready.screenCenter(); + add(ready); + FlxTween.tween(ready, {y: ready.y += 100, alpha: 0}, Conductor.crochet / 1000, { + ease: FlxEase.cubeInOut, + onComplete: function(twn:FlxTween) + { + ready.destroy(); + } + }); FlxG.sound.play('assets/sounds/freshIntro.mp3', 0.6); case 2: + var set:FlxSprite = new FlxSprite().loadGraphic('assets/images/set.png'); + set.scrollFactor.set(); + set.screenCenter(); + add(set); + FlxTween.tween(set, {y: set.y += 100, alpha: 0}, Conductor.crochet / 1000, { + ease: FlxEase.cubeInOut, + onComplete: function(twn:FlxTween) + { + set.destroy(); + } + }); FlxG.sound.play('assets/sounds/freshIntro.mp3', 0.6); case 3: + var go:FlxSprite = new FlxSprite().loadGraphic('assets/images/go.png'); + go.scrollFactor.set(); + go.screenCenter(); + add(go); + FlxTween.tween(go, {y: go.y += 100, alpha: 0}, Conductor.crochet / 1000, { + ease: FlxEase.cubeInOut, + onComplete: function(twn:FlxTween) + { + go.destroy(); + } + }); FlxG.sound.play('assets/sounds/freshIntro.mp3', 0.6); case 4: } diff --git a/source/TitleState.hx b/source/TitleState.hx index a79b322..4b9eab0 100644 --- a/source/TitleState.hx +++ b/source/TitleState.hx @@ -71,6 +71,8 @@ class TitleState extends FlxTransitionableState { if (FlxG.keys.justPressed.ENTER && !transitioning) { + FlxG.camera.flash(FlxColor.WHITE, 1); + transitioning = true; FlxG.sound.music.stop();