Skip to main content

Questions tagged [gestures]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
860 views

Comparing analog stick movements to predefined flick shapes

I want to create a control scheme similar to the EA Skate games, where flicking the right analog stick in various ways makes the character do various tricks: I record the user input over a set amount ...
Toto's user avatar
  • 23
1 vote
1 answer
936 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 ...
Big T Larrity's user avatar
1 vote
1 answer
4k 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 ...
DrZ214's user avatar
  • 348
1 vote
0 answers
271 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 ...
Big T Larrity's user avatar
1 vote
0 answers
372 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 ...
Big T Larrity's user avatar
4 votes
1 answer
2k 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 ...
Uri Popov's user avatar
  • 3,027
1 vote
0 answers
50 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? <...
cyclingIsBetter's user avatar
1 vote
0 answers
36 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 ...
Bryce's user avatar
  • 111
0 votes
1 answer
95 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 ...
user4985's user avatar
  • 165
0 votes
1 answer
240 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 ...
ssekav's user avatar
  • 3
0 votes
1 answer
63 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: ...
Reanimation's user avatar
1 vote
1 answer
100 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 ...
Sudeep Acharya's user avatar
2 votes
2 answers
971 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 ...
Simon's user avatar
  • 123
-1 votes
1 answer
781 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. How can I do this?
Uday's user avatar
  • 99
0 votes
2 answers
536 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 ...
Kevin DiTraglia's user avatar
1 vote
1 answer
484 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 ...
Le Mot Juiced's user avatar
2 votes
2 answers
555 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). ...
Moses Aprico's user avatar
5 votes
2 answers
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 ...
pasawaya's user avatar
  • 261
0 votes
1 answer
425 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 ...
David Dimalanta's user avatar
0 votes
1 answer
369 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 ...
Den's user avatar
  • 1,208