This commit is contained in:
Yoshman29
2022-11-01 21:20:34 +01:00
parent 34719a9c8d
commit 0a8ff569b4
17 changed files with 5 additions and 14 deletions
+1 -1
View File
@@ -1 +1 @@
948
949
+1 -10
View File
@@ -76,9 +76,6 @@ class StoryMenuState extends MusicBeatState
override function create()
{
transIn = FlxTransitionableState.defaultTransIn;
transOut = FlxTransitionableState.defaultTransOut;
if (FlxG.sound.music != null)
{
if (!FlxG.sound.music.playing)
@@ -94,12 +91,6 @@ class StoryMenuState extends MusicBeatState
txtWeekTitle.setFormat("VCR OSD Mono", 32, FlxColor.WHITE, RIGHT);
txtWeekTitle.alpha = 0.7;
var rankText:FlxText = new FlxText(0, 10);
rankText.text = 'RANK: GREAT';
rankText.setFormat(Paths.font("vcr.ttf"), 32);
rankText.size = scoreText.size;
rankText.screenCenter(X);
var ui_tex = Paths.getSparrowAtlas('menus/storymenu/assets');
var yellowBG:FlxSprite = new FlxSprite(0, 56).makeGraphic(FlxG.width, 400, 0xFFF9CF51);
@@ -203,7 +194,7 @@ class StoryMenuState extends MusicBeatState
txtTracklist = new FlxText(FlxG.width * 0.05, yellowBG.x + yellowBG.height + 100, 0, "Tracks", 32);
txtTracklist.alignment = CENTER;
txtTracklist.font = rankText.font;
txtTracklist.font = Paths.font("vcr.ttf");
txtTracklist.color = 0xFFe55777;
add(txtTracklist);
// add(rankText);
+3 -3
View File
@@ -111,9 +111,9 @@ class CoolUtil
*/
public static function playMenuSFX(menuSFX:Int = 0, volume:Float = 1) {
FlxG.sound.play(Paths.sound(switch(menuSFX) {
case 1: 'confirmMenu';
case 2: 'cancelMenu';
default: 'scrollMenu';
case 1: 'menu/confirm';
case 2: 'menu/cancel';
default: 'menu/scroll';
}), volume);
}