Skip to content

Commit

Permalink
see?
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Jun 6, 2024
1 parent 90cd6e4 commit 569feeb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
10 changes: 0 additions & 10 deletions source/meta/state/FreeplayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,6 @@ class FreeplayState extends MusicBeatState

curDifficulty = Math.round(Math.max(0, CoolUtil.defaultDifficulties.indexOf(lastDifficultyName)));

if (player.playingMusic)
iconArray[instPlaying].canBounce = true;

bottomBG = new FlxSprite(0, FlxG.height - 26).makeGraphic(FlxG.width, 26, 0xFF000000);
bottomBG.alpha = 0.6;
add(bottomBG);
Expand Down Expand Up @@ -450,13 +447,6 @@ class FreeplayState extends MusicBeatState
for (icon in iconArray) icon.y = icon.sprTracker.y - 36;
}

override function beatHit() {
super.beatHit();

if (player.playingMusic)
iconArray[instPlaying].bounce();
}

public static function destroyFreeplayVocals() {
if(vocals != null) {
vocals.stop();
Expand Down
6 changes: 3 additions & 3 deletions source/objects/userinterface/Bar.hx
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ class Bar extends FlxSpriteGroup
setBounds(boundX, boundY);

bg = new FlxSprite().loadGraphic(Paths.image(image));
bg.antialiasing = ClientPrefs.antialiasing;
bg.antialiasing = ClientPrefs.globalAntialiasing;
barWidth = Std.int(bg.width - 6);
barHeight = Std.int(bg.height - 6);

leftBar = new FlxSprite().makeGraphic(Std.int(bg.width), Std.int(bg.height), FlxColor.WHITE);
leftBar.antialiasing = antialiasing = ClientPrefs.antialiasing;
leftBar.antialiasing = antialiasing = ClientPrefs.globalAntialiasing;

rightBar = new FlxSprite().makeGraphic(Std.int(bg.width), Std.int(bg.height), FlxColor.WHITE);
rightBar.color = FlxColor.BLACK;
rightBar.antialiasing = ClientPrefs.antialiasing;
rightBar.antialiasing = ClientPrefs.globalAntialiasing;

add(leftBar);
add(rightBar);
Expand Down

0 comments on commit 569feeb

Please sign in to comment.