An input method used in games, thich is generally reffered to input used by mobile phones and tablet-type computers.

learn more… | top users | synonyms

0
votes
3answers
578 views

How to flick gameObject using Touch?

I've been searching for a solution for my problem for a while on the web, but i didn't find anything that work properly What i want to do I have a bouncing ball and I want to let the user flick it ...
2
votes
2answers
144 views

Touch taps only on very short flicks on Win7 with Monogame

I have an application on win7 which needs to support touch and mouse input using monogame. But reading touch taps proves to be a very hard thing. The TouchPanel is initialized like this: ...
2
votes
2answers
779 views

Card game - creating card Listener

I am making a card game where there are 21 cards on hand and 2 options from where user can draw cards to his hand and throw a card from hand. I am new on game development and I'm following the ...
1
vote
2answers
70 views

Help with Javascript touch button

I tried many buttons but I can't connect them with the (Java)Script. So I made 2 gui buttons: one for jump which was easy because I have an if statement and if it's true then jump. But I have ...
1
vote
1answer
29 views

Making Basic Touch Behaviors

I am trying to make Basic Touch behaviors for my game where i want to Pan Camera by Single finger touch. Zoom Camera by pinch With two fingers ofCourse. Rotate Camera by two fingers rotation. Rotate ...
1
vote
1answer
38 views

Libgdx, actor touchlistener not working

public class Main extends ApplicationAdapter { SpriteBatch batch; OrthographicCamera camera; Stage stage; Image greyback; Image circle; private float width; private float height; @Override ...
1
vote
1answer
120 views

How to detect if two sprites are being touched at the same time?

I tried this: if(spr.getBoundingRectangles.contain(x,y)){ //do this } but how to detect if the other sprite is touched by the second pointer? Then I created two Vector3 for the pointer ...
1
vote
1answer
159 views

LibGDX - how to detect touchUp with GestureListener?

I'm making a game and I have implemented GestureListener as my inputprocessor. It came with a bunch of methods such as fling, pan, tap etc etc including touchDown. However, there is no touchUp method! ...
0
votes
1answer
16 views

Unity, how can I shoot when I touch the Box Collider

I want to change the Computer Input to Mobile Touch Input, if I press Space Button it shoots but how do I change this [Code] to Touch Input ? I want it to have it into void OnTouchDown() but what do ...
0
votes
1answer
182 views

How can I avoid a delay with continues touch detection in swift?

I want control a character on my screen with a continuous swipe gesture. As soon as I do a swipe +x or -x my character moves left or right. And as long as I hold my finger it continuous to move to the ...
0
votes
1answer
134 views

Cocos2dx - Touch not recognized on Android

I'm having trouble with a touch listener not picking up touch events on android, but doing fine in windows (mouse input). I've got a Node listening for touches (not a Layer), but from what I've been ...
-1
votes
1answer
276 views

Issues with touch buttons in XNA (Release state to be precise)

I am trying to make touch buttons in WP8 with all the states (Pressed, Released, Moved), but the TouchLocationState.Released is not working. Here's my code: Class variables: bool touching = false; ...
1
vote
0answers
2k views

Dragging an object by touching on Android

I am trying to move and object by touching it and dragging. I am testing it on my Samsung Galaxy SIII. I have used the following code. For some reason it moves faster than my finger. It should always ...
1
vote
0answers
319 views

Moving an object (pong paddle) along the x,y axis in 3d-space with mouse/touch

First of all: Sorry, my English isn't quiet good, I'm very new in 3D and I'am using JMonkeyEngine. What I would like to do?: A 3d pong game and I want to control the paddle with the mousecursor ...
0
votes
0answers
36 views

unity UI buttons staying highlighted after touch

i have a touch dpad giving me some weird issues i havent experienced in older versions of unity. after building the game and running on android i am noticing that some touches to the dpad are leaving ...
0
votes
0answers
87 views

Simulate a touch on a point where ray hits in Unity

I want to simulate a touch input on the position where a ray hits an object, and only if it hits something. I know that it's not common to do it with a raycast, but I need it this way for the HTC ...
0
votes
0answers
36 views

How to detect number of pointers being used on screen?

I wan't to be able to detect if the screen is touched by two fingers at the same time. final int MAX_NUMBER_OF_POINTERS = 20; int pointers = 0; for(int i = 0; i < MAX_NUMBER_OF_POINTERS; ...
0
votes
0answers
118 views

How to make touch events work in a match three type game

In "match three" types of games like Crazy Kitchen, when the user touches an image, he can drag his finger over multiple images and create a change in each image he touches in a single gesture. You ...
0
votes
0answers
71 views

how to disable touch in Quintus?

hi i'm new in web games development and trying to build card game using the Quintus game engine i have object called card i can touch and drag it in the screen but i want just to touch and drag it one ...
0
votes
0answers
1k views

How to rotate just the object being touched in Unity?

For my first steps in Unity I am just trying to rotate some squares when I touch them. using UnityEngine; using System.Collections; public class testskript2 : MonoBehaviour { // Use this for ...
0
votes
0answers
117 views

Make a layer over an image and adjust its co-ordinates by touch

I need to make a layer over an image and adjust the layer to fit to image and get its co-ordinates of the layer. I need to adjust the layer by touch and pinch. The sample image is as below. I need ...