Questions tagged [touch]
An input method used in games; this generally refers to the input used by mobile phones and tablet-type computers.
183 questions
0 votes
1 answer
64 views
Climbing only works with ApplyRootMotion, but this interferes with swiping to jump or slide
I am making a mobile game. To make the player character jump or slide on the ground, I must swipe up or down with the mouse on my computer. I also want my character to climb a wall. The solution I ...
0 votes
1 answer
84 views
Chain cutting swipe input skips over chains
I have a game where you need to cut chains, similar to Cut The Rope. I want to develop it for Android, so I need mobile controls. For detecting swipes I used ...
0 votes
1 answer
163 views
Pass input event from stage to added actor
I am diving into libgdx and used their sample game as a starting point. I also added a touchpad to move the bucket. That was kind of easy and worked flawless. My additional idea was to make the ...
0 votes
1 answer
324 views
How to detect long press on object using Unity EnhancedTouch?
I want to implement a feature in my mobile game where if you press on a game object for a certain amount of time while not moving your finger an animation will play. I also need to be able to drag and ...
3 votes
0 answers
1k views
What is causing my touchstart event to end while I'm still touching the screen, and how can I fix that?
What I'm trying to do: I'm trying to add touch controls to games created with the html canvas and JavaScript so that they can be used on mobile / tablet devices. The controls should simply move a ...
1 vote
0 answers
148 views
Touch phase is moved when touch pressure changed
I am trying to scale my object by a finger touch just like in Jelly Shift game. It should scale up/down when I move my finger up and down and it should stop when the touch is in stationary phase. The ...
1 vote
2 answers
381 views
How to make the character move along the axis using touch?
I have the following code it works, but I don't know how it works. This is the code I found: ...
0 votes
0 answers
362 views
Unity 2D Player Shoots at my joystick position
Hi I am new to unity and have only a little coding knowledge. Right now I have made my character shoot at my touch position on mobile but when ever I touch the joystick, whick I use to move my ...