Skip to main content

Questions tagged [touch]

An input method used in games; this generally refers to the input used by mobile phones and tablet-type computers.

0 votes
1 answer
65 views

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 ...
Achie1's user avatar
  • 181
1 vote
0 answers
218 views

As you can see on image I have three Control Bindings Space Bar - works perfectly on desktop. I can press several times ...
EzioMercer's user avatar
0 votes
1 answer
88 views

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 ...
CheckerT's user avatar
  • 176
0 votes
1 answer
55 views

I have a 3D object, a blade, that I want to rotate continuously on the x axis, like it's cutting through something. I also want the player to control its z-axis rotation by swiping. It's mainly ...
Nader Amir's user avatar
0 votes
1 answer
164 views

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 ...
WarrenFaith's user avatar
1 vote
0 answers
2k views

Unity for Android suggests that you can hide the TouchScreenKeyboard's input field with the command TouchScreenKeyboard.hideInput. Superficially this looks like it ...
mike's user avatar
  • 501
0 votes
1 answer
326 views

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 ...
Ridertvis's user avatar
  • 155
0 votes
1 answer
2k views

I have a While loop that runs when the mouse is pressed and it look like this: while (mouseClick.ReadValue<float>() != 0) { //Do something } This works ...
Ridertvis's user avatar
  • 155
3 votes
0 answers
1k views

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 ...
Fishbite's user avatar
  • 141
0 votes
0 answers
351 views

I need a script for Unity that allows a gameobject to be scaled using pinch & zoom touch controls. I have found lots of answers for scripts that cause the camera to zoom in/out but I want a ...
Hzata's user avatar
  • 1
1 vote
0 answers
148 views

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 ...
Sedanur Yesilnacar's user avatar
0 votes
1 answer
86 views

I'm making a mobile game in the Godot game engine. I made a spike scene where the spikes will respawn at a random time in a particular position moving upwards. Then I instanced the scene in the main ...
Jack Victor's user avatar
1 vote
2 answers
381 views

I have the following code it works, but I don't know how it works. This is the code I found: ...
Aimon Z.'s user avatar
  • 107
0 votes
2 answers
258 views

I'm working on recreating the board game "Hex" as a mobile game. I'm working on implementing zoom and pan features using two fingers. I feel like I managed to get the zoom to work, but the ...
Cooper Rutan's user avatar
0 votes
0 answers
362 views

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 ...
Anees's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
13