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.
The Game End will also be important when combining multiple games into a playlist.
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 | Stops the Hype 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 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 the hype that shows how to implement and use the Game End node: