Lose: Difference between revisions
m (Reverted edits by TheRedGuy "the red guy real" (talk) to last revision by Osmo) Tags: Rollback Mobile edit Mobile web edit Advanced mobile edit |
(→Notes: Mention delay displaying as "Instant") Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
| Line 13: | Line 13: | ||
This is one of the few scripts that executes only when its Before port is wired. | 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. | By default, after all scripts have executed, the losing animation follows with no delay, displayed in the block as "Instant". The delay can be changed by pressing the button on the bottom-right: | ||
{{Image|Win_Lose_delay_setting.png|The setting for win / lose.}} | {{Image|Win_Lose_delay_setting.png|The setting for win / lose.}} | ||
Latest revision as of 21:05, 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.
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, displayed in the block as "Instant". The 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.