mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-01-09 13:47:25 +00:00
hardcode storymenu difficulties to avoid overlaps
This commit is contained in:
parent
60b75c4bb5
commit
a3969ad5c0
|
@ -187,7 +187,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');
|
||||||
|
@ -197,7 +197,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');
|
||||||
|
|
Loading…
Reference in a new issue