Game starters are crucial to starting Makinom and your game – learn more about them and where they’re used.
Game starters are Unity components that are added to game objects. They’re used to initialize Makinom and load a selected project’s data.
A game object with a game starter is represented in the Unity scene view by this gizmo icon:
You can’t use machines or any other Makinom mechanics without first initializing Makinom with a game starter.
The game starter should be added to the first scene of your game, or at least the first scene that uses Makinom mechanics (e.g. machines).
The most important setting of the game starter is the Project Asset:
The Start Schematic can also be used to do additional things after Makinom is initialized.
When using the scene wizard to add a game starter (Add Game Starter), you’ll first be able to select the Makinom project asset you want to use. The default project asset file will be automatically selected (found at Assets/Gaming Is Love/_Data/Project.asset). Clicking on Add Game Starter again will create a new game object and add the game starter component.
Otherwise, you can add a game starter component to a game object through the components menu (Makinom > Scenes > Makinom Game Starter).
Since you’ll often just want to test a scene you’re currently building, you’ll also need to add a game starter to that scene as well. Otherwise, you’d need to go through your start scene where you’ve added the game starter.
Having multiple game starters in your game isn’t a problem – the first game starter that’s used will initialize Makinom and load the project. Once Makinom is initialized, other game starters wont be started.
In case you’re using game states to only display HUDs or run machines in a running game, you can enable Start Game in the game starter’s inspector to start a new game when initializing Makinom – otherwise this’ll only happen when using a New Game node in a schematic.
You can also execute a schematic when Makinom is initialized, select it in the Start Schematic Asset setting of the game starter.
© 2015 Gaming is Love e.U.
Disclosure: This site may contain affiliate links, which means I may receive a commission if you click a link and purchase something that I have recommended. While clicking these links won’t cost you any money, they will help me fund my development projects while recommending great assets!