game over

This commit is contained in:
Yoshman29
2022-12-05 22:55:56 +01:00
parent 2dc72d7c48
commit e9654cbc89
20 changed files with 218 additions and 156 deletions
+6
View File
@@ -0,0 +1,6 @@
<!DOCTYPE codename-engine-character>
<character isPlayer="true" flipX="true" x="0" y="350">
<anim name="firstDeath" anim="BF dies" fps="24" loop="false" x="37" y="11"/>
<anim name="deathLoop" anim="BF Dead Loop" fps="24" loop="false" x="37" y="5"/>
<anim name="deathConfirm" anim="BF Dead confirm" fps="24" loop="false" x="37" y="69"/>
</character>
+6
View File
@@ -4,6 +4,7 @@ import funkin.scripting.events.NoteHitEvent;
public var pixelNotesForBF = true;
public var pixelNotesForDad = true;
public var enablePixelUI = true;
public var enablePixelGameOver = true;
public var enableCameraHacks = true;
public var enablePauseMenu = true;
public var isSpooky = false;
@@ -91,6 +92,11 @@ function postCreate() {
makeCameraPixely(camGame);
defaultCamZoom /= daPixelZoom;
}
if (enablePixelGameOver) {
gameOverSong = "pixel/gameOver";
lossSFX = "pixel/gameOverSFX";
retrySFX = "pixel/gameOverEnd";
}
}
function onStartCountdown() {