9οΈDoor
Trigger to play an open or close animation, or rotate the Object 90 degrees and back.
GAME MAKER 0.9 ENHANCEMENT
Instead of triggering a door to open or close with the same message(s), a door can now be triggered with different open and close messages.
β
|
PERFORMANCE TIP In multiplayer Experiences, there are two layers of logic that will not communicate with each other: singleplayer [SP] and multiplayer [MP]. For best performance, only apply [MP] behaviours and components to objects that MUST be synchronised to all players (or communicate on that layer), and maximise use of the [SP] (Client Only) layer.
USAGE TIP This behaviour will not communicate with Quests or [SP] behaviours or components. It can be used in singleplayer Experiences.
Common Uses
Simple door with Interaction
Intermediate to advanced door logic sequences for dungeons or puzzles
Rotating an Object 90 degrees
USE THE RIGHT TOOL FOR LOGIC STATES
A new [SP] and [MP] Switch component can be used to trigger two states and send a message for each state.
Previously, Door behaviour was used for this. It is now only available as [MP] because a [SP] version of Door behaviour would cause collision issues in multiplayer games.
Communications
Inputs: Player Interaction One or more Messages to open One or more messages to close | Outputs: Play animation, Message sent on Open Play animation, Message sent on Close OR Rotate 90 degrees and back |
Parameters
Options | Details |
---|---|
Message Required to Open - one or more messages can trigger the door to open Message Required to Close - one or more messages can trigger the door to close | |
Opening Mode
| |
Opening Animation - select the asset's animation you wish to display when you trigger the door to open with message Closing Animation - select the asset's animation you wish to display when you trigger the door to close with message | |
Starting State - set the state of the Object as Closed or Opened at the start of the Experience. | |
Message on Open - a message sent when the door opens Message on Close - a message sent when the door closes | |
Broadcast Type
Broadcast Range (slider) - move the slider or enter a distance in blocks from the anchor point of the object |
Last updated