Lose: Difference between revisions
(grammar) Tags: Mobile edit Mobile web edit Advanced mobile edit |
No edit summary Tags: Reverted Mobile edit Mobile web edit Advanced mobile edit |
||
| Line 8: | Line 8: | ||
Ends the level immediately or after a set delay, then prompts the player to retry the current level. Similar to [[Win]], but the next level button is not shown. | Ends the level immediately or after a set delay, then prompts the player to retry the current level. Similar to [[Win]], but the next level button is not shown. | ||
If you lose while beating the next level, and the level you lost, it will still make the confetti when you won. (AKA, [[Win]]) | |||
== Notes == | == Notes == | ||
Revision as of 19:21, 28 November 2025
Lose
| Type | Script block |
| Collider | None |
| Folder | Game |
| Ports | |
|---|---|
| Inputs | Before |
| Outputs | After |
Ends the level immediately or after a set delay, then prompts the player to retry the current level. Similar to Win, but the next level button is not shown. If you lose while beating the next level, and the level you lost, it will still make the confetti when you won. (AKA, Win)
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:

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