Wrap Around Screen

Description

The Wrap Around Screen behavior will allow your object to come from the opposite side of the screen when it leaves the screen space after it reaches the top, left, bottom, or right side of the screen.

This behavior will Trigger an event immediately when it executes.

 

Properties

Triggers Immediately

Object A

This is the object that will wrap around the screen. By default the current object is selected. You can select any object in your scene by tapping the graphic.

Wrap Left

The object will appear on the right side of the screen when it leaves the left side of the screen.

Wrap Right

The object will appear on the left side of the screen when it leaves the right side of the screen.

Wrap up

The object will appear on the bottom side of the screen when it leaves the top side of the screen.

Wrap Down

The object will appear on the top side of the screen when it leaves the bottom side of the screen.

 

Outputs

Object ID

This outputs the Object ID.

 

Examples

Use this behavior if you want to create a game like pac-man where the characters appear on the opposite side of the screen after leaving the screen space

 

WrapAroundScreenReference.gif

1 Comments

Article is closed for comments.