Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | lizhe |
For example I need the event responding like "swipe "and “touch” even for android.
Can’t find it in the documemnt
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | lizhe |
For example I need the event responding like "swipe "and “touch” even for android.
Can’t find it in the documemnt
Reply From: | andersmmg |
There are some assets in the library to help with swiping. Touch events are handles just like mouse clicks.
https://godotengine.org/asset-library/asset?category=&godot_version=&sort=updated&filter=swipe
Reply From: | rustyStriker |
I didn’t really find some when starting with android but the most helpful thing i noticed was that indexes stay until you lift the finger, so a swipe will start with a InputEventScreenTouch
, emits InputEventScreenDrag
through all the swipe action and ends with another InputEventScreenTouch
. all with the same Index.
if you need more tips just send me you discord name or something and i will gladly help you and pass my knowledge on
Reply From: | BSS |
Check the version of documentations, Because i think you used an old version: