Installation

This guide will take you through the steps of installing the FableCraft package.

STEPS

1. Create a new URP Unity project:

{$caption}

2. Download the package from here:
{$caption}


3. Import the package:

{$caption}

4. Install the Bolt package.
{$caption}

5. Close the Bolt setup wizard:
{$caption}


6. Click on the FableCraft button in the Unity toolbar and select 'Create New FableCraft Beat', 'Create New FableCraft Menu' and 'Create New FableCraft Story Node':

{$caption}


7. Dock the new tabs and input a Creation Folder name and Title. Click 'Set' to make the folder and 'Create' to make the entity (Menu, Beat or Story Node):

{$caption}


8. Once the new folders are created, you can view them in the Project tab. Let's check out the 'Main Menu' - double click to open:

{$caption}


9. Import the TextMeshPro Essentials. Don't worry about the Examples & Extras unless you want to use them:

{$caption}


10. Let's make sure the package installed successfully! Click on the play button. Once started - click 'LOAD GAME'. Nothing should appear to be happening:

{$caption}


11. The reason it appears to be broken is because the 'LOAD GAME' button currently loads level 0, the 'Main Menu'. We need to change it to level 1, 'Setup'. Select the GameManager from the Hierarchy tab and click 'Edit Graph' in the Inspector tab:

{$caption}


12. You should now see the Bolt Flow Graph. You can dock it if you like. You'll notice two nodes: a 'UnityEvent' node and a 'Initialize' node. The sceneAssetIndex parameter of the 'Initialize' node is set to '0' which is associated with the 'Main Menu' scene. This is why nothing happened when we attempted to 'LOAD GAME':

{$caption}


13. Go to File -> Build Settings to open up the 'Build Settings' window. Notice how the number 0 from the 'Build Settings' matches the parameter of the 'Initialize' node? If we change the 'Initialize' sceneAssetIndex from 0 to 1, it will change the scene from 'Main Menu' to 'Setup':

{$caption}


13. Once you've changed the sceneAssetIndex to 1, try playing again and clicking on the 'LOAD GAME' button. You should see the scene change.

{$caption}


14. Restart Unity. Once Unity re-loaded, you should see the 'Bolt Setup Wizard'. Go through the setup wizard and click 'Generate' at the end setup Bolt.

{$caption}


15. The final step is build the FableCraft nodes and you are ready to go! Go to Tools -> Bolt -> Build Unit Options:

{$caption}
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License