Lose: Difference between revisions

(Created page with "Causes the player to lose (or die in-game). File:Lose1.png == Settings == File:loseinstan.png When pressed a new menu will open up: File:instantbutton.png This will add a delay to the lose animation, if you press the arrows you can increase the delay by 1 frame up to a maximum of 120 frames or 2 seconds. == Related == Win Category:Blocks ")
 
(grammar)
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Causes the player to lose (or die in-game).
{{Block
|image=Lose.png
|type=s
|folder=Game
|input1={{Port|e|Before}}
|output1={{Port|e|After}}
}}


[[File:Lose1.png]]
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.


== Settings ==
== Notes ==


[[File:loseinstan.png]]
This is one of the few scripts that executes only when its Before port is wired.  


When pressed a new menu will open up:
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:


[[File:instantbutton.png]]
{{Image|Win_Lose_delay_setting.png|The setting for win / lose.}}


This will add a delay to the lose animation, if you press the arrows you can increase the delay by 1 frame up to a maximum of 120 frames or 2 seconds.
Pressing the arrows will add or subtract a frame to delay the lose animation, for a maximum of 120 frames or 2 seconds.


== Related ==
== Related ==
[[Win]]


* [[Win]]


[[Category:Blocks]]
[[Category:Blocks]]

Latest revision as of 14:16, 23 August 2025

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.

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

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.

Related