Touch/Swipe controls interacting with a grid?

Godot Version

` 4.4.1

Question

` I am looking for some Guidance. I am trying to recreate something similar to D.O.T Defenders of Texel battle grid system. Essentially its a 3x3 grid of characters. Battles are turn based. Each round you pick characters to fight for you by swiping a direction on the grids columns or rows.

Id like to mimic this sort of idea. Making a grid with interactions to touch and swipes.

Im not necessarily looking for a solution but maybe some resources on swiping and touch controls as well as making a grid to interact with the controls. I’ve tried many times but I get stuck and am not sure how I should continue.

What resources do you know of or how would you go about tackling this sort of idea? I’m a beginner. Any guidance would be wonderful. Thanks.

You’re going to want to look into using InputEventScreenDrag since touchscreen events cannot be placed in the InputMap like other input events such as keyboard presses and mouse clicks.

1 Like

Thank you! I will start doing some research from here. I really appreciate the reply!

1 Like