Questions tagged [gestures]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
284 views

How to detect two finger rotation Unity c#

I am trying to achieve rotating an object when two fingers are rotated on the Sensel morph touchpad. ...
0
votes
1answer
477 views

How to code dragging of objects in 3d space in Unity (Android/ iOS)?

I have been working for many hours trying to figure this out and i can't so I thought once again i'd trouble you kind folks. Basically I am trying to keep this as simple as possible so I can get to ...
1
vote
1answer
552 views

In iOS, where/how to do a back button?

Edit: To sum up my question, what is the established back gesture for iOS games (when no pause button exists)? I have a block puzzle game, square grid, and some levels fill up the whole screen with ...
1
vote
0answers
146 views

Handling multiple touches libgdx GestureListener

I've been trying to create a game with two finger gameplay (ie. If your finger is in the bottom 20% of the screen it will move the player along X axis towards your finger, and if you press finger ...
1
vote
0answers
178 views

any help using LibGDX Gesture Listener?

I've been trying to use GestureListener to turn touchscreen into the effect of my dpad. It all works pretty much, but the touch-held (or longpress) is not always working. It mostly does work but will ...
4
votes
1answer
949 views

Recognizing runes drawn by user

I want to implement a system where the player can draw runes on the screen with multiple gestures. Meaning its not just one motion it can be up to 3. So far I have implemented the $P Recognizer . In ...
1
vote
0answers
43 views

LibGDX: ActorGestureListener after change position

I have this code to get pan touch inside an Image and it works fine, but when I uncomment this line img.setPosition(100, 100); it doesn't work anymore, why? <...
1
vote
0answers
34 views

What are some different types of device motion gestures? [closed]

Complex touch events are well-defined and can even be categorised as seen in this Wikipedia article We have great names for various touch gestures like: Double-tap Pinch / Zoom Long Press etc. When ...
0
votes
1answer
82 views

Getting position of finger along a screen

I'm trying to get a list of Vector2 position by tracking my finger and then tracing them with a prefab (Basically just gestures). I have appended an onGUI function to help print out the list of ...
0
votes
1answer
207 views

How to get GestureDetector to work?(Problem with GestureDetector class)

I am trying to write simple program which would get input from user by swiping in four capital directions. I'm extending GestureDetector.java from libGDX and overriding fling method, but no matter ...
0
votes
1answer
61 views

Implement an action “while” touching event

I'm making a game using Xcode for iOS. This is a segment of code I have that makes the sprite jump up when the screen is tapped: ...
1
vote
1answer
96 views

Slide to reveal in AndEngine

I was designing the game in that i want to cover the scene with black layer and i want user to see it when he slide the image. Is there any functionality in AndEngine for something like slide to ...
2
votes
2answers
668 views

Accurate way to calculate swipe direction based on delta vector

I am trying to calculate the direction of a swipe on a touch device screen. Lets say the screen size is 1024 wide and 768 high. The bottom left x and y coordinate is 0,0 and the top right coordinate ...
0
votes
1answer
751 views

How do I implement swipe-to-throw in Andengine?

I have a ball sprite and I apply physics to it when the user swipes on it. I'd like the ball to start moving in the direction of the swipe, similarly to how Paper Toss works. How can I do this?
0
votes
2answers
484 views

Implementing `fling` logic without pan gesture recognizers

So I am trying to port over a simple game that I originally wrote to iphone into cocos2d-x. I've hit a minor bump however in implementing simple 'fling' logic I had in the iphone version that is ...
1
vote
1answer
445 views

Which gesture recognizer should I use to handle multiple simultaneous flicks?

So, if you can picture a game with little ninjas running down at you, and a bunch of shurikens at the bottom of the screen, you're picturing the set-up I'm addressing. I want the player to be able ...
2
votes
2answers
520 views

Ambiguation between multitouch geistures tap and free drag in Windows Phone 8 Emulator (Monogame)

I am making a 2d tile based tactic game. I want the map to be slided around (because it's bigger than the screen) with FreeDrag (It's perfectly done, the map can moved around, that's not the problem). ...
5
votes
2answers
2k views

How to combine tap and long hold gesture recognizers?

I have a game in which the player moves around a sprite by tapping on various sections of the screen (left, right, up, down). So far, each tap moves the sprite one tile (I use a tile system for ...
0
votes
1answer
387 views

Merging InputProcessor and GestureDetector

I'm planning to make a simple soccerball app. When I attempt to drag the ball, I use the touchDragged() from InputProcessor to move the ball left or right. Next, while holding before releasing, I use ...
0
votes
1answer
362 views

Drag Gestures - fractional delta values

I have an issue with objects moving roughly twice as far as expected when dragging them. I am comparing my application to the standard TouchGestureSample sample from MSDN. For some reason in my ...