What do the Events do?

There are 5 events currently in the Alice’s Adventure interaction library. Let’s take a look at what they do.

  1. Click on A  This event is triggered when you click on any object, character or item, which is specified by choosing a value for A

    In this example, if you play the game and click on the pencil with your cursor, the appropriate reaction will be triggered.
  2. Use A on B  This event is triggered when you drag any object A on top of any object B, where you decide what is A and B for your game. This event only gets triggered when you use A on B, and trying to drag B on A won’t trigger it.

    In the above example if you drag the eraser on to the pencil, the reaction gets triggered.
    NOTE: It is recommended that object A be in the inventory before you use it on B. If you wish to use A on B where both A and B are in the main scene, set A to ‘draggable’ in it’s properties tab (under the scene editor).
  3. Combine A with B  This event is triggered when you drag any object A on top of any object B and vice versa, where you decide what is A and B for your game. This event  gets triggered when you use A on B, or if you B on A.

    In the above example if you drag the sugar on the coffee or the coffee on the sugar, the reaction gets triggered.
    NOTE: It is recommended that object A and B be in the inventory before they are used. If you wish to combine A and B where either one or both are in the main scene , set A and B to ‘draggable’ in it’s properties tab (under the scene editor).
  4. Change State  This event is triggered when the chosen state is changed to the desired state (on or off).

    In the above example, this event gets triggered if at any point in the game, the state “Is Locked” gets set to ‘false’.
  5. Enter Scene This event is triggered when a scene is opened for the first time. If there is only one scene in your game, the reaction sets off as soon as the game begins.

    In the above example, when the player enters the library scene , the reaction is triggered. It is also triggered every other time the player enters the library in the game.