Lose: Difference between revisions

From Fancade Wiki
mNo edit summary
m (Reverted edits by TheEditor (talk) to last revision by Osmo)
Tags: Rollback Mobile edit Mobile web edit Advanced mobile edit
 
(8 intermediate revisions by 4 users not shown)
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 prompts the player to retry the current level. Similar to [[Win]], but the next level button is not shown.


== Notes ==
== Notes ==
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. This delay can be changed by pressing the button on the bottom-right:
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 15:51, 15 December 2025

Lose
Lose.png
TypeScript block
ColliderNone
FolderGame
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:

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