Skip to content

Commit

Permalink
fix some antialiasing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex2Oblivion committed Jul 3, 2024
1 parent 0230d19 commit 888c8a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source/game/Note.hx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class Note extends FlxSkewedSprite {

var noteColor = NoteColors.getNoteColor(NoteVariables.Other_Note_Anim_Stuff[song.keyCount - 1][noteData]);

if(colorSwap != null){
if(noteColor!= null && colorSwap != null){
colorSwap.r = noteColor[0];
colorSwap.g = noteColor[1];
colorSwap.b = noteColor[2];
Expand Down
2 changes: 2 additions & 0 deletions source/game/components/TallyCounter.hx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ class TallyCounter extends FlxTypedSpriteGroup<FlxSprite>

this.neededNumber = neededNumber;

antialiasing = Options.getData("antialiasing");

if (curNumber == neededNumber) drawNumbers();
}

Expand Down

0 comments on commit 888c8a3

Please sign in to comment.