-
|
Hello everyone. I'm new to this plugin addons thingy and I'm stuck on how can I put the dialogues into the scene. Can someone help me with this? Thank you so much for help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hello, after installing the plugin make sure to enable it in project > project settings (docs page). Once you've done that, add a script somewhere on your main scene and call Then you need to feed in a reference to a dialogue resource. You can make one of those in the dialogue manager tab at the top. Typically those can be fed in through the editor to the script using an @export variable. Then just replace the title with the starting section in your dialogue (eg ~ start - > "start"), and you're good to go. Heads up, a lot of this stuff is more general Godot concepts and programming fundimentals rather than GDM specific info; I'd encourage you to both look into the engine's documentation and play around to get a handle on how it's working. If you get stuck I'd encourage you to look at Godot's official forum over here as well. If you're planning on continuing to use GDM, I'd encourage you to also take a look at the project's docs before asking questions to see if they're already answered in there. Have a good one! |
Beta Was this translation helpful? Give feedback.
Hello, after installing the plugin make sure to enable it in project > project settings (docs page).
Once you've done that, add a script somewhere on your main scene and call
DialogueManager.show_dialogue_balloon(resource, title), probably in the on_ready function. Here are the relevant docs.Then you need to feed in a reference to a dialogue resource. You can make one of those in the dialogue manager tab at the top. Typically those can be fed in through the editor to the script using an @export variable. Then just replace the title with the starting section in your dialogue (eg ~ start - > "start"), and you're good to go.
Heads up, a lot of this stuff is more general Godot concepts and p…