Screen to Object

Description

The Screen to Object behavior will cause the screen (visible screen space) to move to the specified object so it centered on the screen.

This behavior will Trigger an event once the screen has stopped moving.

 

Properties

Object A

This is the object you want the screen to focus on. By default the current object is selected. You can change this to any other object in your scene by tapping the graphic and choosing another object.

Anchor

Offset the position of center of the screen. This will change where the screen focuses on. By default this is set to the center of your object (50%,50%). You can change the number manually, or visually by moving the blue target when selecting the object.

Transition

The tween effect used for the screen movement animation. This is only visible if the duration is greater than 0.

Duration

This is how long it will take for the screen to finish moving.

Moves X

If the toggle is off the screen will not move horizontally along the X axis. By default the toggle is on.

Follows Y

If the toggle is off the screen will not move vertically along the Y axis. By default the toggle is on.

Outputs

This behavior does not output any values.

 

Examples

If you have a hint in your level and want to put focus on that, you can use this behavior to focus on that hint, then move the screen back after a second.

 

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk