Logic
The overall game flow is defined by the connections between the nodes on the Mind Map. You may also define additional logic that would allow you to control the game flow dynamically, based on player actions and other events that occur during a game session.
There are several places where you can define logic in a game:
- On the Mind Map, by adding a Random node from the Logic section on the Node panel to the game.
- Inside the UI node workspace, by adding the Event Observer or Unlock asset (used in conjunction with the Lock button) from the the Logic section on the Asset panel to the selected game UI screen. For details, see Add Event Observer.
- On the character or object Node Map, by adding the appropriate Action nodes that you can use to fine the outcome of object collisions, health, defeat, and so on. For details, see the individual nodes and, for example, Manage Health, Damage, and Defeat.