Description
The Load Overlay behavior will display an overlay on top of your current running scene or overlay. By default, hyperPad includes 2 overlays, a Game Over and Pause overlay.
Overlays are like scenes but they can run on top of your current scene. You can learn more in the Overlays documentation.
This behavior will trigger an event on completion (once the overlay is opened).
Properties
Triggers on Completion
Overlay |
Select an overlay you want to open when the behavior is executed. |
Transition |
Select an animation motion tween to play while the overlay open. This will animate the entire contents of the overlay into the scene. Eg. You can make your overlay fade out. |
Pause |
If this toggle is on, the scene or overlay behind will pause once the Load Overlay behavior is executed. |
Outputs
This behavior does not have any outputs.
Examples
You can create an inventory system using overlays, then use the load overlay to open the overlay. You can also use the Load Overlay as a game over screen, or pause screen.
Related
0 Comments