How to use Scene Flow

Quick look about the concepts for using Scene Flow. It included 4 main steps.

Step 1: Organize your game scene

Scene Flow uses scene as basic component for building the game flow. You can organise your game as sections and each section as a scene. For example, you can have your game to main menu scene, game-playing scene and ending scene. You can also separate overlay UI as individual scene and reuse UI at different sections of your game.

Step 2: Create a bootstrap scene

You need a bootstrap scene act as an entry point of your game. In the bootstrap scene, the Scene Flow Manager will act as a scene manager for controlling and loading other scenes. In addition, you can do your own initialization script in the bootstrap scene.

Step 3. Create and design a Scene Flow Graph

A Scene Flow graph represents a map of your game. All routes and actions are stored in a Scene Flow graph. You can design how your game navigation between scene in the graph and then they will used in runtime.

Step 4. Connect Scene Actions

The scene flow graph just defined the flow of your game. But you need to connect the actions defined to your own UI and script. In order to use the actions, you need a Scene Action Manager in each scene to acts as a bridge between the UI and scene action.

Last updated