1) Create 4 content steps, and one logic step with the buttons on the bottom row menu. Organize them as shown. Remove the "Next Block" from the logic step, if one exists, by choosing the step and removing it from the inspector.
2) Name the steps appropriately in the inspector.
1) Open up the second content step (in the example S-001 Amount of Players) and drag on any two objects to the step, that you wish to use as buttons. Organize them and the camera as you like.
See "Creating Objects" if you need help on adding an object to the library.
2) Click the first object and choose
"Logic Editor" from the inspector that pops up.
3) Create a simple logic that defines the player amount as '2' and continues the tutorial when pressed. For this, you will need the "SetVariable" function and to use the pre-existing $playersActive variable.
If you used multiple objects for a single button (as in the example), remember to add the same logic to them as well.
4) Do the same for the other button(s), but define the player amount as '3'.
Now when pressed, the tutorial will continue with a new $playersActive variable.
1) Now open up the logic block "LO amount of player logic" by double clicking it.
2) Create a logic that checks what the $playersActive variable currently is, and acts accordingly.
● Click on the
button next to the "Add new condition" text.
● Choose "Add group"
● Define the values as shown below. -> IF $playersActive is 2, then go to S-002, in all other cases go to S-003.
3) Save and you're done. You will immediately see the dark gray lines from the logic steps to the two content steps. This means that there's no "default" next step, rather the logic block decides on where to go based on the data that is input in it.
NOTES: This is just a simple excercise to get you started on how the variables and logic works in Dized. This above example could have been done in the content step alone as well, with out adding a logic block. But it's just to show, there are several ways on how to approach problems.