How to Create a DIALOGUE System in Godot 4 (step by step)
Вставка
- Опубліковано 12 тра 2023
- Dialogue in Godot 4 is something that many people overlook, if you use the right tools making dialogue is really easy. I wanted to create this tutorial because having good smooth working dialogue in your game is very important in become a successful game developer or just making you game look good in general.
thanks Nathan Hoad for the assest module to create really good dialogue easily in Godot.
----------------------------------------------------------------------------------------------------------------------------------------
Thank you so much for watching I really hope this video helped.
if you did enjoy then please go and click that subscribe button to help out the channel. I means so much and I love your feedback in the comments to let me know what it is that you enjoyed. Again thanks so much and I would love to see you again!
have a great rest of you day and of course be safe :)
- thanks DevWorm,
----------------------------------------------------------------------------------------------------------------------------------------
Awesome! Tutorials for Godot 4 are hard to come by, these are much appreciated!
My boy is back!!!
After finishing your how to create an RPG in Godot tutorial playlist, I went on to sprucing it up myself with godotdocs and stuff I learned elsewhere!
Appreciate you so much for giving such a solid fun foundation that allowed me to explore doing things like; adding the death animations to the slime and player, making my player stop moving when he attacked so movement wouldnt interupt the slash animation, adding background music and sfx to the players footsteps/attack and the slime even has a cute slimey-jump sound now.
Thanks again friendo, now i've got it all polished up I'm going to go through this tutorial soon and add this to it all! - already went ahead and made a green "friendly" slime in my cliffside scene.
that is so amazing! thank you for sharing and I am so glad it was able to help and I am so proud of you for going and adding all the extra little things in there!! it is wonderful to hear!! congrats on finishing the series and good work on the other cool features you were able to add in from your own knowledge
Thank you very much for taking the time to create this video, it has helped me a lot.
thank you so much! I am glad to hear it helped!
honestly super helpful. thanks so much!
so glad to hear!! thank you so much!
waiting for the next video, the best lessons on godot4!
very soon, bunch of tutorials coming really soon, like inventory, multiplayer, shooter game, etc
finally, thx for the tutorial!
sorry it took so long, gonna get consistent with the uploads
thank you . i hope u keep developing this tutorial .
glad to hear it helped
Bro you made this rpg game more good now 😊👍
Great video DevWorm! Where can I find the very next video for the customized speech bubbles?
How can I make a picture with the image of the character come out?
I'd like to know too
i was creating my own dialogue system using dictionaries I think this addon facilitates things ill try using it! thanks
goodluck! let me know how it goes!
@@dev-worm you mentioned it but its beena year, are you ever going to go over how to change the visuals?
Thanks dude!
of course, anytime brother
so helpful
Around 7:30
Just a heads up: that node name for autoloading the global script is **case sensitive** when called in the dialogue script (ie. global. get_slime_item). The "node name" for the script was still capitalized for me when i autoloaded it, which resulted in an error.
Sorry if this was mentioned in a previous tutorial, but hopefully this helps!
big thanks was debugging for a while lmao
Hey man, wondering if you're still planning to make a tut to customize the box that the text displays in
Hello, is this field configurable? I just wish I could use it, but the terrible design puts me off
without further ado, let's get started
Thank you very much for the video it is really helpful!!! But for some reason when I go to project settings to enable the plugin it gives me a warning what should I do to fix it???
Did you upload the video about custom dialogue balloons? I have no clue about how to make one
Did you ever make the video talking about how to do custom text boxes wiht it
what I like about yout video is that its legit
so glad to hear that!!
Thank you. And i need how to add the Fog please
hey, how would i go `bout fixing the repeating dialogue everytime i click my interaction button?
There is a bug that if you keep on tapping ui_accept it will bring up the dialogue multiple times! Also you can move while the dialogue happens. I hope there will be a tutorial in the future on how to fix this!
i just saw that and will work on it right now, thanks for letting me know
"If you handle player input in _unhandled_input then the balloon will automatically stop input getting to your player while it's open."
- Nathan Hoad
Is there a way to actually make a chat bubble appear above the NPC's head?
23:18 I copied everything well, but slim_in_range doesn't work. I can open dialogue without this var but ofc I open the dialogue everywhere I am. I can't understand why my player can't detect if my slime has the method "enemy" or not
Bro, gracias x tu tiempo y tu conocimiento ayudas mucho de verdad, podrias hacer una serie sobre como hacer un rpg 3d? Muchas personas buscamos lo mismo y hay pocos creadores como tu que explican bien como hacer las cosas
I have error that says could not find “mutation_behavior”
I wonder if you might be able to do a dialog box/system showing dialog without a plugin, without the dialog manager.
I am trying to learn how to do things in Godot like this.
But I am struggling to make it work.
To be able to go up to an NPC or sign or something. Show a dialog box (created in a different scene, the UI scene), and then update the text on the dialog/label, and press button to show more text, or if no more text, to just close the dialog box.
I was trying to follow your tutorials from Godot 3. But since 4 changed a lot, the code itself doesn't work fully.
So I am trying to find a tutorial, or to see if someone could do one, for Godot 4 (using 4.1.2 the latest stable currently).
That would be doing dialog box/interaction without a plugin already doing it all for me. (so I can learn HOW to do these kinds of things).
just uploaded a tutorial in this style for dialogue where no plugin is used
I'm super new to godot but it isn't working for me for some reason...I probably fucked something up...but also when I tried to name it global it said I couldn't name it that, followed it step by step but maybe I missed something? Idk. The dialogue preview works at first, it's when I'm trying to implement it into the game..
What is the license for code in this video!
Can you make this like a reward system? You bring the item and you get rewarded with like a health-up/damage-up etc. Also Im kind of stuck on how to make the chest have a physics layer since we didnt add it from a tile map? Could you also explain that in a future episode. Much thanks
the chest was just a very basic implementation, to add it the right way you would add it in the tilemap and add an area2d outside the tilemap not connected to the chest at all.
@@dev-worm and how would we make it disappear after collected? It doesnt have a unique ID like you did from the video does it?
How to resize the textbox?
What about death animations?)
I got this tutorial to work but I couldn’t get the enemy to follow me in the ai video sad face I need that so bad 😩😂
My game crashes when I click enter on the npc
My project display is 1280*720. The dialogue box is covering more than half the screen. How do I shrink the size? TwT
having the same issue, did you find a solution?
@@Millionemeralds same thing, maybe you found the solution?
It's not working for me at 22 minutes in, the slime is not saying anything.
tank you for the tutorial but it would be nice if you try it out first and just tell us your mistakes instead we have to wait until you figure out how it works - but thank you for the tutorial, please more
yes sorry about that! I've planned the tutorials out more beforehand in more recent tutorials but these older ones I just sat down and recorded! So that was not probably the smartest idea!!! but I'm glad you could find it helpful! thank you!
I think you should create a new video on dialogue system without doing the mistakes. The video will be clearer and also shorter. @@dev-worm
Yo stop making meststakssssssssssss my assassin'n broskyke keeeeeeee
I agree with him!
I do too😱😱😱
Yo bro, I followed all your steps, but it doesn't work, like when I collide with my enemy and press enter, it just does nothing.
Are your detection/mask layers set correctly so slime can interact with player? Both objects have check boxes selected for monitoring and monitorable in the inspector? Double check capitalization in your script and that both objects have their "player" "enemy" functions. Lastly, verify you have your signals connected (there should be a green arrow on the function line if so, and double clicking it will show WHERE you connected the signals. I hope you figured it out!
@@slbatema Thank you for the help, it was a silly mistake with the spelling and a some mistakes in the variables.
Hi !!! How to get the source code of this Godot project ? Thank you ! :D
i will make sure to add it to the description on all future uploads, sorry about that
the chat just doesnt come up, I press enter and nothing happens unfortunately. I have checked everything and nothing is wrong so I don't know why this happens.
turns out theres an error for "No content" which I have no idea how to fix so wtf???
I have never had that error... is there anything in the scripts code?
Yes, there's dialog. Maybe it'll fix itself or something lol.
@@sp0onforksp0rkdo you change the start to main in the dialogue at 22:27 i have the same problem with you, turn out in the player i call it "main" but in the dialogue the title was still ~start, not ~main
@samyramadhan8057 I haven't touched godot since I made this comment, but thanks for the help anyways. I'll come back to this if I ever pick it up again.
pls create tutorial with inventory system
working on it
Can you do a tutorial for an inventory system perhaps?
working on an simple but complex one right now, so it should be out soon
you are the best, anyway I can support you? paypal or Eth wallet?
aww bro tysm means the world to me fr, I might launch memberships soon so if you want to donate at least you get perks!
@@dev-worm please do! You deserve it
agreed
You gonna continue this game?
im working on a survival series currently
right?
Where is the part 2?
sorry, here is a link to a video that goes over the custom bubbles well from the creator: ua-cam.com/video/hKQ_s5tl4dI/v-deo.html
21:20
It’s not working for me
hello! I might've had the same problem as you! The solution for me was in regards to the collision layers and masks. I needed the player to detect the enemy, and vise versa.
Nice tutorial, but if you want to make it look more professional, please rehearse the script beforehand. It's a bit jarring watching you make mistakes and then try to figure it out freeform.
thanks for the feedback, ive started making scripts and practicing them for all future videos
@@dev-worm I want to emphasize that I still highly value these videos! As a beginner though, I'm doing this one from clear code first: ua-cam.com/video/nAh_Kx5Zh5Q/v-deo.html I plan to do yours after that.
Why isn't this a part of the rpg playlist?
its kind of a separate video from the main series
Where's the custom speech bubble tut? 😢😢
sorry, here is a link to a video that goes over the custom bubbles well from the creator: ua-cam.com/video/hKQ_s5tl4dI/v-deo.html
it doesn't work
is everything in your game updated correctly?
Yo, I have the same problem.
when i press enter it just jumps what should i do?
edit: tried changing ui accept to backspae but that also didnt work
I am a big fan. Please do the Inventory system quickly step by step and easily please please please please ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤🙏🙏