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

2
votes
3answers
895 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 ...
0
votes
3answers
657 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 ...
3
votes
2answers
174 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: TouchPanel....
1
vote
2answers
81 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 ...
3
votes
1answer
137 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
40 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
47 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
230 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
28 views

Unity 3d - Touchscript Asset: Get object when “touched”

I have a question regarding the exact method for getting the game object that I'm touching. I thought it would be getting the name of the PressGesture once the touch starts...but it returns me a Swipe ...
0
votes
1answer
33 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
145 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
284 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; ...
3
votes
0answers
28 views

Unity's Touch API is exposing only half of the available Android touch data (image attached)

Unity is only exposing half of the touch data that Android itself receives. I'm using the standard Input.touchCount and Input.GetTouch() API. My test scene is quite simple. My game is precision swipe ...
1
vote
0answers
82 views

How to disable touch in Quintus?

I'm trying to build card game using the Quintus game engine. I have objects called Card. I can touch and drag it in the screen but I want just to touch and drag it one time but I can't figure out how ...
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
320 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 and/...
0
votes
0answers
111 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
37 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
119 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
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 ...