Skip to content

Objects

You can place objects in a level for the player to pick up. Any project variable can serve as an object. The variable's icon represents the object on the map.

When the player walks over an object, they pick it up automatically. The object disappears from the map. If you assigned a sound to the variable, that sound plays.

Place an object

Open the object placement tool in the level editor.

bar d, object placement tools in the level editor

+

Click + to switch to add mode. In the field below the button, choose the variable to use as an object. Then click the map to place the object.

Selection mode

Switch to selection mode, then click an object on the map to view its properties.

Object properties

Select an object on the map to view its properties.

Variable

Choose the variable that represents the object. If you choose a different variable, its icon appears on the map.

Shadow

Select this option to show a shadow under the object.

Animation

Enable this option to make the object sway in place. Disable it to keep the object still.

Probability

Enter a value between 0 and 1 to set the chance that the object appears when the level loads. At 0, the object never appears. At 1, it appears every time the level loads. A value of 0.5 gives it a one-in-two chance of appearing.

Object message

Message

This tab is empty by default. Add a message to display it automatically in a dialogue box when the player picks up the object.

Assign a style to the message to set the appearance of its dialogue box. You can set up these styles in the same way as for scene dialogue. See Dialogue box style.

Object action

Action

By default, picking up an object increases the value of its associated variable by 1. For example, picking up a potion increases the value of the Potion variable by 1.

You can customize the action by choosing a different variable and a different value to add. For example, place an object that uses the icon of the Ticket variable. Then set its action to add 10 to the Coins variable when the player picks up the ticket.