Merge branch 'story-mode-diff-position' into develop-0.3.2

This commit is contained in:
Cameron Taylor 2024-05-03 01:14:31 -04:00
commit 1aa53ee97b

View file

@ -192,7 +192,7 @@ class StoryMenuState extends MusicBeatState
buildLevelTitles(); buildLevelTitles();
leftDifficultyArrow = new FlxSprite(levelTitles.members[0].x + levelTitles.members[0].width + 10, levelTitles.members[0].y + 10); leftDifficultyArrow = new FlxSprite(870, 480);
leftDifficultyArrow.frames = Paths.getSparrowAtlas('storymenu/ui/arrows'); leftDifficultyArrow.frames = Paths.getSparrowAtlas('storymenu/ui/arrows');
leftDifficultyArrow.animation.addByPrefix('idle', 'leftIdle0'); leftDifficultyArrow.animation.addByPrefix('idle', 'leftIdle0');
leftDifficultyArrow.animation.addByPrefix('press', 'leftConfirm0'); leftDifficultyArrow.animation.addByPrefix('press', 'leftConfirm0');
@ -202,7 +202,7 @@ class StoryMenuState extends MusicBeatState
buildDifficultySprite(Constants.DEFAULT_DIFFICULTY); buildDifficultySprite(Constants.DEFAULT_DIFFICULTY);
buildDifficultySprite(); buildDifficultySprite();
rightDifficultyArrow = new FlxSprite(difficultySprite.x + difficultySprite.width + 10, leftDifficultyArrow.y); rightDifficultyArrow = new FlxSprite(1245, leftDifficultyArrow.y);
rightDifficultyArrow.frames = leftDifficultyArrow.frames; rightDifficultyArrow.frames = leftDifficultyArrow.frames;
rightDifficultyArrow.animation.addByPrefix('idle', 'rightIdle0'); rightDifficultyArrow.animation.addByPrefix('idle', 'rightIdle0');
rightDifficultyArrow.animation.addByPrefix('press', 'rightConfirm0'); rightDifficultyArrow.animation.addByPrefix('press', 'rightConfirm0');