Pixel Note Splashes in Week 6 (#238)

* pixel note splashes

* tyy!!

---------

Co-authored-by: ⍚~Nex <87421482+NexIsDumb@users.noreply.github.com>
This commit is contained in:
apurples
2024-02-06 11:19:22 +01:00
committed by GitHub
co-authored by ⍚~Nex
parent 79ca805c48
commit a2ebb51dca
4 changed files with 63 additions and 0 deletions
+7
View File
@@ -3,6 +3,7 @@ import funkin.backend.scripting.events.NoteHitEvent;
public var pixelNotesForBF = true;
public var pixelNotesForDad = true;
public var pixelSplashes = true;
public var enablePixelUI = true;
public var enablePixelGameOver = true;
public var enableCameraHacks = Options.week6PixelPerfect;
@@ -34,6 +35,12 @@ function onNoteCreation(event) {
note.updateHitbox();
}
function onPostNoteCreation(event) {
var splashes = event.note;
if (pixelSplashes)
splashes.splash = "pixel-default";
}
function onStrumCreation(event) {
if (event.player == 1 && !pixelNotesForBF) return;
if (event.player == 0 && !pixelNotesForDad) return;