mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-08-20 07:25:59 +00:00
disable note vwoosh, and fix gameover song not looping
This commit is contained in:
parent
43872bb213
commit
200f5702ef
|
@ -289,6 +289,7 @@ class GameOverSubState extends MusicBeatSubState
|
|||
{
|
||||
gameOverMusic.loadEmbedded(musicPath);
|
||||
gameOverMusic.volume = startingVolume;
|
||||
gameOverMusic.looped = true;
|
||||
gameOverMusic.play();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -274,7 +274,9 @@ class Strumline extends FlxSpriteGroup
|
|||
static function calculateNoteYPos(strumTime:Float, vwoosh:Bool = true):Float
|
||||
{
|
||||
// Make the note move faster visually as it moves offscreen.
|
||||
var vwoosh:Float = (strumTime < Conductor.songPosition) && vwoosh ? 2.0 : 1.0;
|
||||
// var vwoosh:Float = (strumTime < Conductor.songPosition) && vwoosh ? 2.0 : 1.0;
|
||||
// ^^^ commented this out... do NOT make it move faster as it moves offscreen!
|
||||
var vwoosh:Float = 1.0;
|
||||
var scrollSpeed:Float = PlayState.instance?.currentChart?.scrollSpeed ?? 1.0;
|
||||
|
||||
return Constants.PIXELS_PER_MS * (Conductor.songPosition - strumTime) * scrollSpeed * vwoosh * (Preferences.downscroll ? 1 : -1);
|
||||
|
|
Loading…
Reference in a new issue