godot_pointandclickadv icon indicating copy to clipboard operation
godot_pointandclickadv copied to clipboard

Dialog bug when walking between objects

Open jmf opened this issue 8 years ago • 4 comments

This bug occurs when I click on an object and then go to an other object before the dialog is over. To reproduce, click on the lamp and just when the dialog starts, click on the shelf. The dialog that is displayed over the character now looks like: 0. This is a lamp.

  1. A nice specimen if you ask me.
  2. With books.

Possible solutions would be to either freeze the character while he is talking (which is done in several Point&Click adventures I know), to let the first dialog finish before starting the second one (could lead to a lot of text accumulating when clicking on several objects) or just cancelling the first dialog and immediately starting the second one (which would give odd results, if sound should be added in the future).

jmf avatar Jul 15 '16 16:07 jmf

Thanks for reporting :)

Dialogs are currently quick'n'dirty. I look foward to use a JSON string for dialogs and objects logic so that they work in a similar way, but keeping it easy for writers to create. This is related to my other project: https://github.com/StraToN/godot-dialogtreetools

StraToN avatar Jul 15 '16 22:07 StraToN

Looking forward to see godot-dialogtreetools integrated! Would love to use your project as a starting point for an adventure game since I am just starting out with game development :) Thanks a lot for the project! Are you planing to add some documentation to the project at some point? Would be a big help for starters like me!

paviro avatar Jul 23 '16 12:07 paviro

@paviro Thanks a lot. I'll try to finish DialogTreeTools as quickly as possible, but do remember I also have to provide a script that is able to parse a DialogTree. It needs some more reflection, but it's on its way.

I plan to do some video tutorials explaining every element of the point'n'click demo in its current status as soon as possible. For now, I'm wondering what would help more: explain the demo, or make a series of videos trying to remake it (but each video would be much longer with me doing "common" stuff).

StraToN avatar Jul 23 '16 12:07 StraToN

No hurry! Glad that you are building it at all! :) A series trying to remake it would probably teach users more but it would also be more time consuming for your choice :)

paviro avatar Jul 23 '16 13:07 paviro