Win: Difference between revisions
Nikitaivanov (talk | contribs) (Created page with "Makes the player win when executed. File:Win1.png == Settings == File:winbutton.png When pressed a new menu will open up: File:instantbutton.png This will add a delay to the win 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 == Lose Category:Blocks ") |
(grammar) Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Block | |||
|image=Win.png | |||
|type=s | |||
|folder=Game | |||
|input1={{Port|e|Before}} | |||
|output1={{Port|e|After}} | |||
}} | |||
Ends the level immediately or after a set delay, then prompts the player to continue to the next level (or back to the level selection screen if it's the last level). | |||
== | == 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 winning animation follows with no delay. This delay can be changed by pressing the button on the bottom-right: | |||
{{Image|Win_Lose_delay_setting.png|The setting for win / lose.}} | |||
Pressing the arrows will add or subtract a frame to delay the win animation, for a maximum of 120 frames or 2 seconds. | |||
== Related == | == Related == | ||
* [[Lose]] | |||
[[Category:Blocks]] | [[Category:Blocks]] |
Latest revision as of 14:16, 23 August 2025
Win
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 continue to the next level (or back to the level selection screen if it's the last level).
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 winning 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 win animation, for a maximum of 120 frames or 2 seconds.