almost releaaaase

This commit is contained in:
Cameron Taylor 2020-10-31 21:55:00 -07:00
parent 4859d15057
commit c3d2179395
3 changed files with 8 additions and 4 deletions

View file

@ -77,7 +77,7 @@ class FreeplayState extends MusicBeatState
if (controls.BACK)
{
FlxG.switchState(new StoryMenuState());
FlxG.switchState(new MainMenuState());
}
if (accepted)

View file

@ -275,9 +275,11 @@ class StoryMenuState extends MusicBeatState
}
sprDifficulty.alpha = 0;
sprDifficulty.y -= 15;
FlxTween.tween(sprDifficulty, {y: sprDifficulty.y + 15, alpha: 1}, 0.07);
// USING THESE WEIRD VALUES SO THAT IT DOESNT FLOAT UP
sprDifficulty.y = leftArrow.y - 15;
FlxTween.tween(sprDifficulty, {y: leftArrow.y + 15, alpha: 1}, 0.07);
}
function changeWeek(change:Int = 0):Void

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);