Swype Gesture

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Florix
:warning: Old Version Published before Godot 3 was released.

I guys, I would like to implement in a project the swype gesture in the four direction (left, right, up and down) how can i detect the swype gesture in a mobile phone with godot? Do I have to write it myself, or is there something already done by someone? Cause not sure if I’m properly thinking about how to code it. Surely someone has already done it cause it’s something so basic for an engine that could not have been missed by the developers I think…

:bust_in_silhouette: Reply From: vnen

Unfortunately this is not available in-engine, as nobody contributed with the code. You have to implement it using screen touch/drag events.

For 2.1 and the asset library there might be a plugin to aid in this area. See Add generic swipes/gestures as InputEvents (InputEventGesture) · Issue #1319 · godotengine/godot · GitHub.

Thank you. Will try to make myself then. It’s a shame such usefull function is not implemented in this engine…

Florix | 2016-06-24 15:58