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:
@@ -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;
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE codename-engine-splashes>
|
||||
<!--Pixel Splashes by APurples!!-->
|
||||
<splashes sprite="stages/school/ui/pixel-splashes" alpha="0.6" antialiasing="false" scale="3.5">
|
||||
<strum id="0"> <!-- LEFT -->
|
||||
<anim name="splashleft1" anim="splash purple 1" fps="24" x="-1" y="-2" />
|
||||
<anim name="splashleft2" anim="splash purple 2" fps="24" x="-1" y="-2" />
|
||||
</strum>
|
||||
<strum id="1"> <!-- DOWN -->
|
||||
<anim name="splashdown1" anim="splash blue 1" fps="24" x="-1" y="-2" />
|
||||
<anim name="splashdown2" anim="splash blue 2" fps="24" x="-1" y="-2" />
|
||||
</strum>
|
||||
<strum id="2"> <!-- UP -->
|
||||
<anim name="splashup1" anim="splash green 1" fps="24" x="-1" y="-2" />
|
||||
<anim name="splashup2" anim="splash green 2" fps="24" x="-1" y="-2" />
|
||||
</strum>
|
||||
<strum id="3"> <!-- RIGHT -->
|
||||
<anim name="splashright1" anim="splash red 1" fps="24" x="-1" y="-2" />
|
||||
<anim name="splashright2" anim="splash red 2" fps="24" x="-1" y="-2" />
|
||||
</strum>
|
||||
</splashes>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextureAtlas imagePath="pixel-splashes.png">
|
||||
<!-- Made using Maru Aseprite JSON to XML converter -->
|
||||
<SubTexture name="splash purple 100000" x="0" y="0" width="64" height="64"/>
|
||||
<SubTexture name="splash purple 100001" x="64" y="0" width="64" height="64"/>
|
||||
<SubTexture name="splash purple 100002" x="128" y="0" width="64" height="64"/>
|
||||
<SubTexture name="splash purple 100003" x="192" y="0" width="64" height="64"/>
|
||||
<SubTexture name="splash purple 200000" x="256" y="0" width="64" height="64"/>
|
||||
<SubTexture name="splash purple 200001" x="320" y="0" width="64" height="64"/>
|
||||
<SubTexture name="splash purple 200002" x="0" y="64" width="64" height="64"/>
|
||||
<SubTexture name="splash purple 200003" x="64" y="64" width="64" height="64"/>
|
||||
<SubTexture name="splash blue 100000" x="128" y="64" width="64" height="64"/>
|
||||
<SubTexture name="splash blue 100001" x="192" y="64" width="64" height="64"/>
|
||||
<SubTexture name="splash blue 100002" x="256" y="64" width="64" height="64"/>
|
||||
<SubTexture name="splash blue 100003" x="320" y="64" width="64" height="64"/>
|
||||
<SubTexture name="splash blue 200000" x="0" y="128" width="64" height="64"/>
|
||||
<SubTexture name="splash blue 200001" x="64" y="128" width="64" height="64"/>
|
||||
<SubTexture name="splash blue 200002" x="128" y="128" width="64" height="64"/>
|
||||
<SubTexture name="splash blue 200003" x="192" y="128" width="64" height="64"/>
|
||||
<SubTexture name="splash green 100000" x="256" y="128" width="64" height="64"/>
|
||||
<SubTexture name="splash green 100001" x="320" y="128" width="64" height="64"/>
|
||||
<SubTexture name="splash green 100002" x="0" y="192" width="64" height="64"/>
|
||||
<SubTexture name="splash green 100003" x="64" y="192" width="64" height="64"/>
|
||||
<SubTexture name="splash green 200000" x="128" y="192" width="64" height="64"/>
|
||||
<SubTexture name="splash green 200001" x="192" y="192" width="64" height="64"/>
|
||||
<SubTexture name="splash green 200002" x="256" y="192" width="64" height="64"/>
|
||||
<SubTexture name="splash green 200003" x="320" y="192" width="64" height="64"/>
|
||||
<SubTexture name="splash red 100000" x="0" y="256" width="64" height="64"/>
|
||||
<SubTexture name="splash red 100001" x="64" y="256" width="64" height="64"/>
|
||||
<SubTexture name="splash red 100002" x="128" y="256" width="64" height="64"/>
|
||||
<SubTexture name="splash red 100003" x="192" y="256" width="64" height="64"/>
|
||||
<SubTexture name="splash red 200000" x="256" y="256" width="64" height="64"/>
|
||||
<SubTexture name="splash red 200001" x="320" y="256" width="64" height="64"/>
|
||||
<SubTexture name="splash red 200002" x="0" y="320" width="64" height="64"/>
|
||||
<SubTexture name="splash red 200003" x="64" y="320" width="64" height="64"/>
|
||||
</TextureAtlas>
|
||||
Reference in New Issue
Block a user