Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I wanted to implement dialogue boxes in a jam game for the first time and this tutorial was a godsend, thank you! However, having followed it nearly all the way through, there were a fair amount of discrepancies in the writing/screenshots. Here are some of the things that weren't clear to me, lest they help others debug:

  • You need to add `signal message_completed()` to Dialogue.gd and emit it when you stop the type_timer at the end of the message.
  • You need to stop the pause_timer when it times out.
  • In the DialogueManager, in show_messages, you need to write `dialogue.rect_position = pos` after adding the dialogue to the scene_tree
  • In one screenshot the pause calculator in Dialoge.gd is referenced as `_calc` while in another it is `pause_calculator`
  • `check_at_position` is only mentioned once in the tutorial, perhaps the original explanation for it was omitted. The for loop in the screenshot should go in a function named `check_at_position`
(+1)

Hi, glad it was useful!

Ah, you're right, since I was posting partial code snippets instead of the whole script on the steps, there were some details that I either mistyped or simply forgot to put on the screenshot.

Thanks for pointing it out! I'm gonna try to correct the screenshots so they follow the example project more closely.

(+1)

No problem! Thanks for taking the time to put this up :). I couldn't find any other tutorials on dialogue boxes with pausing, sound, and scrolling for Godot. I guess a lot of people are just using Dialogic.