mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-23 07:15:12 +00:00
caught up 11/10/20
This commit is contained in:
parent
11ba4ac690
commit
6c04bb8e23
|
@ -44,7 +44,7 @@ class Preloader extends FlxBasePreloader
|
|||
logo.scaleX += Percent / 1280;
|
||||
logo.scaleY += Percent / 1280;
|
||||
logo.x -= Percent * 0.86;
|
||||
logo.y -= Percent / 1.5;
|
||||
logo.y -= Percent / 1.4;
|
||||
}else{
|
||||
logo.scaleX = this._width / 1280;
|
||||
logo.scaleY = this._width / 1280;
|
||||
|
|
|
@ -8,7 +8,6 @@ import flixel.group.FlxGroup.FlxTypedGroup;
|
|||
import flixel.math.FlxMath;
|
||||
import flixel.text.FlxText;
|
||||
import flixel.util.FlxColor;
|
||||
//import htmlparser.HtmlDocument;
|
||||
import lime.utils.Assets;
|
||||
|
||||
class FreeplayState extends MusicBeatState
|
||||
|
@ -120,6 +119,10 @@ class FreeplayState extends MusicBeatState
|
|||
super.update(elapsed);
|
||||
|
||||
lerpScore = Math.floor(FlxMath.lerp(lerpScore, intendedScore, 0.4));
|
||||
|
||||
if (Math.abs(lerpScore - intendedScore) <= 10)
|
||||
lerpScore = intendedScore;
|
||||
|
||||
scoreText.text = "PERSONAL BEST:" + lerpScore;
|
||||
|
||||
var upP = controls.UP_P;
|
||||
|
@ -169,9 +172,7 @@ class FreeplayState extends MusicBeatState
|
|||
if (curDifficulty > 2)
|
||||
curDifficulty = 0;
|
||||
|
||||
#if !switch
|
||||
intendedScore = Highscore.getScore(songs[curSelected], curDifficulty);
|
||||
#end
|
||||
|
||||
switch (curDifficulty)
|
||||
{
|
||||
|
@ -199,9 +200,7 @@ class FreeplayState extends MusicBeatState
|
|||
|
||||
// selector.y = (70 * curSelected) + 30;
|
||||
|
||||
#if !switch
|
||||
intendedScore = Highscore.getScore(songs[curSelected], curDifficulty);
|
||||
#end
|
||||
// lerpScore = 0;
|
||||
|
||||
var bullShit:Int = 0;
|
||||
|
|
|
@ -880,7 +880,7 @@ class PlayState extends MusicBeatState
|
|||
difficulty = '-easy';
|
||||
|
||||
if (storyDifficulty == 2)
|
||||
difficulty == '-hard';
|
||||
difficulty = '-hard';
|
||||
|
||||
trace('LOADING NEXT SONG');
|
||||
trace(PlayState.storyPlaylist[0].toLowerCase() + difficulty);
|
||||
|
|
Loading…
Reference in a new issue