SpielBackupAlt/addons/dialogic/Documentation/Content/FAQ/touch-support-tutorial.md

1.6 KiB
Executable File

Is there touch/tap support?

How can I allow touch/tap to advance the dialog?

'Tap to advance dialog' is supported by default as of release 1.4.2.

By default an invisible 'Touch Button' covers the full screen when Dialog is shown, so a tap anywhere will advance dialog. If you do not want automatic resizing and full screen touch first uncheck the 'Tap area covers full screen' setting:

image

Next go to the DialogNode.tscn

image

And find the TouchScreenButton node

image

In the inspector, make the shape visible so you can edit it

image

Then resize it to your hearts content.

How can I select choices with touch/tap? Choice buttons are simply normal Godot UI buttons. This means by default only a mouse click will work on them. If you wish for otouch tap support you have 2 options

  1. Emulate Mouse From Touch in your project settings

image

  1. Edit the ChoiceButton.tscn

image

And attach or replace it with a touch buttons as your project demands.