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,
    ----------------------------------------------------------------------------------------------------------------------------------------

КОМЕНТАРІ • 104

  • @MrSaltis
    @MrSaltis Рік тому +11

    Awesome! Tutorials for Godot 4 are hard to come by, these are much appreciated!

  • @ipodblade
    @ipodblade Рік тому +3

    My boy is back!!!

  • @ElementalSynthesis
    @ElementalSynthesis Місяць тому

    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.

    • @dev-worm
      @dev-worm  Місяць тому

      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

  • @fox12163
    @fox12163 2 місяці тому +1

    Thank you very much for taking the time to create this video, it has helped me a lot.

    • @dev-worm
      @dev-worm  2 місяці тому

      thank you so much! I am glad to hear it helped!

  • @sivoutroi9166
    @sivoutroi9166 22 дні тому

    honestly super helpful. thanks so much!

    • @dev-worm
      @dev-worm  20 днів тому

      so glad to hear!! thank you so much!

  • @JessieDev666
    @JessieDev666 Рік тому

    waiting for the next video, the best lessons on godot4!

    • @dev-worm
      @dev-worm  Рік тому

      very soon, bunch of tutorials coming really soon, like inventory, multiplayer, shooter game, etc

  • @sipitsipitsipit
    @sipitsipitsipit Рік тому +5

    finally, thx for the tutorial!

    • @dev-worm
      @dev-worm  Рік тому +1

      sorry it took so long, gonna get consistent with the uploads

  • @moonnight9474
    @moonnight9474 Рік тому

    thank you . i hope u keep developing this tutorial .

    • @dev-worm
      @dev-worm  Рік тому

      glad to hear it helped

  • @Programming_Of_All
    @Programming_Of_All Рік тому +1

    Bro you made this rpg game more good now 😊👍

  • @velebreaksbones
    @velebreaksbones 9 місяців тому +2

    Great video DevWorm! Where can I find the very next video for the customized speech bubbles?

  • @republicavictinera
    @republicavictinera Рік тому +18

    How can I make a picture with the image of the character come out?

  • @drioko
    @drioko 2 місяці тому

    i was creating my own dialogue system using dictionaries I think this addon facilitates things ill try using it! thanks

    • @dev-worm
      @dev-worm  2 місяці тому

      goodluck! let me know how it goes!

    • @notcarbuncle1493
      @notcarbuncle1493 Місяць тому

      @@dev-worm you mentioned it but its beena year, are you ever going to go over how to change the visuals?

  • @alan112223
    @alan112223 11 місяців тому

    Thanks dude!

    • @dev-worm
      @dev-worm  11 місяців тому +1

      of course, anytime brother

  • @hayashi3674
    @hayashi3674 6 годин тому

    so helpful

  • @sugarskullbyte3773
    @sugarskullbyte3773 8 місяців тому +11

    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!

  • @itsViirtueYEAH
    @itsViirtueYEAH 11 місяців тому +13

    Hey man, wondering if you're still planning to make a tut to customize the box that the text displays in

    • @nsr_osk
      @nsr_osk 2 місяці тому +1

      Hello, is this field configurable? I just wish I could use it, but the terrible design puts me off

  • @galacticgon925
    @galacticgon925 8 місяців тому

    without further ado, let's get started

  • @me551
    @me551 7 місяців тому

    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???

  • @kimmmmmmmmmmmmmmmmmmmmmmmmmmin
    @kimmmmmmmmmmmmmmmmmmmmmmmmmmin 9 місяців тому +2

    Did you upload the video about custom dialogue balloons? I have no clue about how to make one

  • @theylostray
    @theylostray Місяць тому

    Did you ever make the video talking about how to do custom text boxes wiht it

  • @ballaswave
    @ballaswave 11 місяців тому

    what I like about yout video is that its legit

    • @dev-worm
      @dev-worm  10 місяців тому

      so glad to hear that!!

  • @MR.AD1M
    @MR.AD1M Рік тому +2

    Thank you. And i need how to add the Fog please

  • @projectlymnia7087
    @projectlymnia7087 Місяць тому

    hey, how would i go `bout fixing the repeating dialogue everytime i click my interaction button?

  • @GalaxyJammed
    @GalaxyJammed Рік тому +12

    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!

    • @dev-worm
      @dev-worm  Рік тому +6

      i just saw that and will work on it right now, thanks for letting me know

    • @henryart2880
      @henryart2880 11 місяців тому +3

      "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

  • @user-eb8fg5bn4s
    @user-eb8fg5bn4s 10 місяців тому

    Is there a way to actually make a chat bubble appear above the NPC's head?

  • @SpyerOff
    @SpyerOff 3 місяці тому

    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

  • @MundoMonetario
    @MundoMonetario Рік тому +5

    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

  • @RoadSquid
    @RoadSquid 9 місяців тому

    I have error that says could not find “mutation_behavior”

  • @galacticgon925
    @galacticgon925 8 місяців тому +1

    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).

    • @dev-worm
      @dev-worm  6 місяців тому

      just uploaded a tutorial in this style for dialogue where no plugin is used

  • @phoenixastra4429
    @phoenixastra4429 4 місяці тому

    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..

  • @ItsLars2828
    @ItsLars2828 Рік тому

    What is the license for code in this video!

  • @GalaxyJammed
    @GalaxyJammed Рік тому +1

    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

    • @dev-worm
      @dev-worm  Рік тому +2

      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.

    • @GalaxyJammed
      @GalaxyJammed Рік тому

      @@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?

  • @feryanwibowo241
    @feryanwibowo241 7 місяців тому

    How to resize the textbox?

  • @user-so1bi9ct8d
    @user-so1bi9ct8d Рік тому

    What about death animations?)

  • @willisthehy
    @willisthehy Рік тому

    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 😩😂

  • @RoadSquid
    @RoadSquid 9 місяців тому

    My game crashes when I click enter on the npc

  • @masudarahman1375
    @masudarahman1375 Рік тому

    My project display is 1280*720. The dialogue box is covering more than half the screen. How do I shrink the size? TwT

    • @Millionemeralds
      @Millionemeralds 10 місяців тому

      having the same issue, did you find a solution?

    • @zysdota
      @zysdota 8 місяців тому

      @@Millionemeralds same thing, maybe you found the solution?

  • @buttercup_saiyan
    @buttercup_saiyan 8 місяців тому

    It's not working for me at 22 minutes in, the slime is not saying anything.

  • @sweaazock5481
    @sweaazock5481 3 місяці тому +1

    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

    • @dev-worm
      @dev-worm  3 місяці тому

      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!

    • @mischiefunmanageable
      @mischiefunmanageable 3 місяці тому +1

      ​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

  • @user-xl3wn9sb4e
    @user-xl3wn9sb4e 3 місяці тому +1

    Yo stop making meststakssssssssssss my assassin'n broskyke keeeeeeee

  • @sachinsakthivel2168
    @sachinsakthivel2168 4 місяці тому

    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.

    • @slbatema
      @slbatema 4 місяці тому +1

      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!

    • @sachinsakthivel2168
      @sachinsakthivel2168 4 місяці тому

      @@slbatema Thank you for the help, it was a silly mistake with the spelling and a some mistakes in the variables.

  • @Sanglierdesardennes
    @Sanglierdesardennes Рік тому

    Hi !!! How to get the source code of this Godot project ? Thank you ! :D

    • @dev-worm
      @dev-worm  Рік тому

      i will make sure to add it to the description on all future uploads, sorry about that

  • @sp0onforksp0rk
    @sp0onforksp0rk Рік тому

    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.

    • @sp0onforksp0rk
      @sp0onforksp0rk Рік тому

      turns out theres an error for "No content" which I have no idea how to fix so wtf???

    • @dev-worm
      @dev-worm  Рік тому

      I have never had that error... is there anything in the scripts code?

    • @sp0onforksp0rk
      @sp0onforksp0rk Рік тому

      Yes, there's dialog. Maybe it'll fix itself or something lol.

    • @samyramadhan8057
      @samyramadhan8057 8 місяців тому

      ​@@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

    • @sp0onforksp0rk
      @sp0onforksp0rk 8 місяців тому

      @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.

  • @Kelpekk
    @Kelpekk Рік тому

    pls create tutorial with inventory system

  • @ks28845
    @ks28845 Рік тому

    Can you do a tutorial for an inventory system perhaps?

    • @dev-worm
      @dev-worm  Рік тому +4

      working on an simple but complex one right now, so it should be out soon

  • @danilokim9000
    @danilokim9000 Рік тому

    you are the best, anyway I can support you? paypal or Eth wallet?

    • @dev-worm
      @dev-worm  Рік тому +1

      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!

    • @danilokim9000
      @danilokim9000 Рік тому

      @@dev-worm please do! You deserve it

    • @Millionemeralds
      @Millionemeralds 10 місяців тому

      agreed

  • @LeDenicheurDeLore
    @LeDenicheurDeLore 11 місяців тому

    You gonna continue this game?

    • @dev-worm
      @dev-worm  11 місяців тому

      im working on a survival series currently

  • @WoozyTozy
    @WoozyTozy Рік тому

    right?

  • @willisthehy
    @willisthehy Рік тому

    Where is the part 2?

    • @dev-worm
      @dev-worm  Рік тому

      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

  • @RoadSquid
    @RoadSquid 9 місяців тому

    It’s not working for me

    • @sugarskullbyte3773
      @sugarskullbyte3773 8 місяців тому

      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.

  • @PunCala
    @PunCala 9 місяців тому +9

    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.

    • @dev-worm
      @dev-worm  9 місяців тому +2

      thanks for the feedback, ive started making scripts and practicing them for all future videos

    • @PunCala
      @PunCala 9 місяців тому +1

      @@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.

  • @-starrysunrise-2908
    @-starrysunrise-2908 Рік тому +1

    Why isn't this a part of the rpg playlist?

    • @dev-worm
      @dev-worm  Рік тому +1

      its kind of a separate video from the main series

  • @armyofchickens6062
    @armyofchickens6062 Рік тому

    Where's the custom speech bubble tut? 😢😢

    • @dev-worm
      @dev-worm  Рік тому +1

      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

  • @baonguyen4557
    @baonguyen4557 5 місяців тому

    it doesn't work

    • @dev-worm
      @dev-worm  5 місяців тому

      is everything in your game updated correctly?

    • @sachinsakthivel2168
      @sachinsakthivel2168 4 місяці тому

      Yo, I have the same problem.

  • @smgmus
    @smgmus 4 місяці тому

    when i press enter it just jumps what should i do?
    edit: tried changing ui accept to backspae but that also didnt work

  • @Ra_Kou
    @Ra_Kou 11 місяців тому

    I am a big fan. Please do the Inventory system quickly step by step and easily please please please please ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤🙏🙏