How to add text to my game
Want to add text to your game on Soba? Here is a step-by-step tutorial to introduce dialogues in your game.
Select your object
The basics for all behaviors
The basics for all behaviors
- Tap on the object to which you want to add a behavior
- With the object selected, tap on the “Details” button to the left of your screen.
- In the Details panel, tap “Add Behavior”.
Set your Trigger
Choose what you want the trigger to be. For instance, it could be that when the player interacts with the object, the text appears. To do that, drag the “Interaction” trigger block into the Behavior Editor. You can select whatever other trigger you want.
Add Text
In the “Effect” section, drag the “Text on Object” block and place it below your trigger. Toggle the node and change the text as you wish. You can also change the position of the text and the duration of the text.
Behavior Image
Behavior Image
Playtest!
After setting up the movements, test your game to see how the object behaves and make adjustments for the perfect effect.