dialogic icon indicating copy to clipboard operation
dialogic copied to clipboard

Use _unhandled_input() instead of _input() so not every click advances dialog

Open Jowan-Spooner opened this issue 2 years ago • 2 comments

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.

Jowan-Spooner avatar Mar 13 '22 18:03 Jowan-Spooner

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

hicchanwan avatar Mar 26 '22 14:03 hicchanwan

@Jowan-Spooner is this also happening in 2.0?

coppolaemilio avatar Jun 18 '22 22:06 coppolaemilio