revert (unintentional) reverts
This commit is contained in:
parent
fcc6ae72a5
commit
b7d848a28f
@ -273,15 +273,7 @@ class PlayState extends MusicBeatState
|
|||||||
|
|
||||||
#if windows
|
#if windows
|
||||||
// Making difficulty text for Discord Rich Presence.
|
// Making difficulty text for Discord Rich Presence.
|
||||||
switch (storyDifficulty)
|
storyDifficultyText = CoolUtil.difficultyFromInt(storyDifficulty);
|
||||||
{
|
|
||||||
case 0:
|
|
||||||
storyDifficultyText = "Easy";
|
|
||||||
case 1:
|
|
||||||
storyDifficultyText = "Normal";
|
|
||||||
case 2:
|
|
||||||
storyDifficultyText = "Hard";
|
|
||||||
}
|
|
||||||
|
|
||||||
iconRPC = SONG.player2;
|
iconRPC = SONG.player2;
|
||||||
|
|
||||||
@ -963,7 +955,7 @@ class PlayState extends MusicBeatState
|
|||||||
songPosBar.createFilledBar(FlxColor.GRAY, FlxColor.LIME);
|
songPosBar.createFilledBar(FlxColor.GRAY, FlxColor.LIME);
|
||||||
add(songPosBar);
|
add(songPosBar);
|
||||||
|
|
||||||
var songName = new FlxText(songPosBG.x + (songPosBG.width / 2) - 20,songPosBG.y,0,SONG.song, 16);
|
var songName = new FlxText(songPosBG.x + (songPosBG.width / 2) - (SONG.song.length * 5),songPosBG.y,0,SONG.song, 16);
|
||||||
if (PlayStateChangeables.useDownscroll)
|
if (PlayStateChangeables.useDownscroll)
|
||||||
songName.y -= 3;
|
songName.y -= 3;
|
||||||
songName.setFormat(Paths.font("vcr.ttf"), 16, FlxColor.WHITE, RIGHT, FlxTextBorderStyle.OUTLINE,FlxColor.BLACK);
|
songName.setFormat(Paths.font("vcr.ttf"), 16, FlxColor.WHITE, RIGHT, FlxTextBorderStyle.OUTLINE,FlxColor.BLACK);
|
||||||
@ -987,7 +979,7 @@ class PlayState extends MusicBeatState
|
|||||||
add(healthBar);
|
add(healthBar);
|
||||||
|
|
||||||
// Add Kade Engine watermark
|
// Add Kade Engine watermark
|
||||||
kadeEngineWatermark = new FlxText(4,healthBarBG.y + 50,0,SONG.song + " " + (storyDifficulty == 2 ? "Hard" : storyDifficulty == 1 ? "Normal" : "Easy") + (Main.watermarks ? " - KE " + MainMenuState.kadeEngineVer : ""), 16);
|
kadeEngineWatermark = new FlxText(4,healthBarBG.y + 50,0,SONG.song + " " + CoolUtil.difficultyFromInt(storyDifficulty) + (Main.watermarks ? " - KE " + MainMenuState.kadeEngineVer : ""), 16);
|
||||||
kadeEngineWatermark.setFormat(Paths.font("vcr.ttf"), 16, FlxColor.WHITE, RIGHT, FlxTextBorderStyle.OUTLINE,FlxColor.BLACK);
|
kadeEngineWatermark.setFormat(Paths.font("vcr.ttf"), 16, FlxColor.WHITE, RIGHT, FlxTextBorderStyle.OUTLINE,FlxColor.BLACK);
|
||||||
kadeEngineWatermark.scrollFactor.set();
|
kadeEngineWatermark.scrollFactor.set();
|
||||||
add(kadeEngineWatermark);
|
add(kadeEngineWatermark);
|
||||||
@ -1382,7 +1374,7 @@ class PlayState extends MusicBeatState
|
|||||||
songPosBar.createFilledBar(FlxColor.GRAY, FlxColor.LIME);
|
songPosBar.createFilledBar(FlxColor.GRAY, FlxColor.LIME);
|
||||||
add(songPosBar);
|
add(songPosBar);
|
||||||
|
|
||||||
var songName = new FlxText(songPosBG.x + (songPosBG.width / 2) - 20,songPosBG.y,0,SONG.song, 16);
|
var songName = new FlxText(songPosBG.x + (songPosBG.width / 2) - (SONG.song.length * 5),songPosBG.y,0,SONG.song, 16);
|
||||||
if (PlayStateChangeables.useDownscroll)
|
if (PlayStateChangeables.useDownscroll)
|
||||||
songName.y -= 3;
|
songName.y -= 3;
|
||||||
songName.setFormat(Paths.font("vcr.ttf"), 16, FlxColor.WHITE, RIGHT, FlxTextBorderStyle.OUTLINE,FlxColor.BLACK);
|
songName.setFormat(Paths.font("vcr.ttf"), 16, FlxColor.WHITE, RIGHT, FlxTextBorderStyle.OUTLINE,FlxColor.BLACK);
|
||||||
@ -2706,7 +2698,7 @@ class PlayState extends MusicBeatState
|
|||||||
if (FlxG.save.data.scoreScreen)
|
if (FlxG.save.data.scoreScreen)
|
||||||
openSubState(new ResultsScreen());
|
openSubState(new ResultsScreen());
|
||||||
else
|
else
|
||||||
FlxG.switchState(new PlayState());
|
FlxG.switchState(new FreeplayState());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user