almost releaaaase

This commit is contained in:
Cameron Taylor
2020-10-31 21:55:00 -07:00
parent ff354d2b69
commit 98a5401f4b
6 changed files with 14 additions and 8 deletions

View File

@ -120,12 +120,14 @@ class TitleState extends MusicBeatState
gfDance.antialiasing = true;
add(gfDance);
titleText = new FlxSprite();
titleText = new FlxSprite(100, FlxG.height * 0.8);
titleText.frames = FlxAtlasFrames.fromSparrow(AssetPaths.titleEnter__png, AssetPaths.titleEnter__xml);
titleText.animation.addByPrefix('idle', "Press Enter to Begin", 24);
titleText.animation.addByPrefix('press', "ENTER PRESSED", 24);
titleText.antialiasing = true;
titleText.animation.play('idle');
titleText.updateHitbox();
// titleText.screenCenter(X);
add(titleText);
var logo:FlxSprite = new FlxSprite().loadGraphic(AssetPaths.logo__png);