Lose: Difference between revisions

From Fancade Wiki
mNo edit summary
No edit summary
Line 7: Line 7:
}}
}}


Causes the player to lose—end the game and prompt the player to restart the level.
Ends the level immediately or after a set delay, then prompt the player to retry the current level. Similar to [[Win]], but the next level button is not shown.


== Notes ==
== Notes ==

Revision as of 13:57, 23 August 2025

Lose
Lose.png
TypeScript block
ColliderNone
FolderGame
Ports
Inputs Before
Outputs After

Ends the level immediately or after a set delay, then prompt the player to retry the current level. Similar to Win, but the next level button is not shown.

Notes

This is one of the few scripts that executes only when its Before port is wired.

By default, after all scripts have executed, the losing animation follows with no delay. This delay can be changed by pressing the button on the bottom-right:

The setting for win / lose.

Pressing the arrows will add or subtract a frame to delay the lose animation, for a maximum of 120 frames or 2 seconds.

Related