dialogic
dialogic copied to clipboard
Use _unhandled_input() instead of _input() so not every click advances dialog
Is your feature request related to a problem? Please describe. In the VN template I noticed that clicking on one of the buttons always also advances the dialog. Even get_tree().set_input_as_handled() does nothing, because the dialog node doesn't care for that.
Describe the solution you'd like Make the DialogNode use _unhandled_input() or make it possible through different means to have certain clicks (like those on buttons) NOT advance the dialog.
I have created a temporary solution for this case.. go to the *Text file Bubbles.gd *, find the line func skip(): and create var click = 0 over it and rewrite the function itself to func skip(): if click == 1: text_label.visible_characters = -1 _handle_text_completed() yield(get_tree().create_timer(0.7),"timeout") click = 0
this will help to remove unnecessary pressing by artificially slowing down the passes
@Jowan-Spooner is this also happening in 2.0?