-
Notifications
You must be signed in to change notification settings - Fork 4
Flow_Engines
The heart of LUTE revolves around the Flow Engine and the handy window. Unity scenes can have multiple engines and these will all work simultaneously.
The Flow Engine contains Nodes
which execute all of your experience features and mechanics (from simple dialogue to intricate mini-games). Typically, we find that one Engine in a single scene is enough; if you have a rather large game you could split this into multiple engines or scenes (and the Nodes will allow for scene management).
A typical Engine contains Nodes and Groups which are linked either directly (i.e., by calling one another) or by 'unlocking' other Nodes (see Unlocking Nodes for more details).
You will need to have the Flow Engine window open to work with LUTE. First of all, open this up and get it docked:
- Open the window by selecting the item from the top context drop-down menus:
LUTE>Show Engine Menu
- Drag-and drop the window to the location you wish to dock it:
If you have not already done so then please create a new Flow Engine for the Window to use:
- Select
LUTE>Create>Engine
- A new 'BasicFlowEngine' Game Object should appear in the hierarchy window.
- If the Flow Engine window was not open or created, this will be shown.
- If the new Flow Engine Game Object is not selected then please select this and you will see the Flow Engine properties in the Inspector Window and the properties on the Flow Engine window:
- As visible, when a new Engine is created a single command Node is created named 'Node' which has the
Game Started
Event Handler attached (meaning it will start when the game enters Play Mode).
You can navigate around the Flow Engine window by **panning **and zooming.
Panning means moving the contents of the window as if they were on a piece of paper (much like you drag a map using Google or Apple or Bing Maps). You hold right or middle mouse button down to move around and let go when at the desired location.
Zooming allows you to view your window and nodes from a greater distance or see them closer for more detail. You can eitehr zoom the window using the slider in the top left (shown below) or using the mouse scroll wheel/trackpad.
Next to the zoom slider there are some other buttons which include annotations and map features (see Annotations and Map and Location for more details). The other button is Centre Window
which will centre the window around all the nodes on the window (this is useful when wanting to get an overview of your project of if your ever get lost!)
This concludes the guide for using the Flow Engine and window. We suggest playing around with the examples and the above guide to get comfortable with navigating and using the Flow Engine! Good luck and have fun!