Most games should have a Game End Node. The Game End lets the player know they've completed the game and gives the option to replay or quit playing.
📢 Note:
Most HypeHype game templates - including the Start from Scratch scene - already contain the logic for ending a game. This ready-made logic container is called the Game End System and you'll also find it in the Asset Library.
| Execute | Ends the game based on the properties of this node |
| Enabled | Enable or disable the node. Disabled nodes cannot be executed |
| Enable Slowdown | When executed any moving objects or particles will slow down and freeze in place |
| Show End Screen | Determines if the end screen will be shown to players when the Game End is executed. If an end screen is not shown the game will automatically restart. |
| Type | Determines if the ending was a success or failure |
| Wait Time | Set a delay before the game will end when executed |
| On Game End | Output links to other nodes after ending the game |
The Game End Type determines what the end screen will display to the player if the End Screen is enabled.
| Fail | Prompt the player to Restart the game |
| Success | Prompt the player to Play Again |
If an end screen is not enabled the game will automatically restart after the Wait Time.
Here's a link to a demo that shows how to use the Game End node: