Questions about using multitouch controls in games.

learn more… | top users | synonyms

1
vote
3answers
907 views

Counting multiple touches using Cocos2dx 3.2

I'm trying to count the number of active touches in screen in order to perform an an action in case that there are two touches: auto jumpListener = EventListenerTouchAllAtOnce::create(); ...
2
votes
1answer
659 views

How can I cause the latest touch event to interrupt a prior event in Cocos2D?

In Cocos2D for iPhone, I want the latest touch event to interrupt another and ignore the last touch. Let me know if I need to elaborate more, but basically my game consists of a lot of finger ...
1
vote
1answer
115 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 ...
2
votes
0answers
830 views

3 Button Multi-touch for Android

OK, my multi-touch system was somewhat convoluted, but was working perfectly OK until I tried to run my game on my Nexus 10 which is running Jellybean. Crashing all over the place! So I removed my ...
1
vote
0answers
43 views

Android Multitouch Implementation

I'm trying to implement multitouch in my game but I'm running into problems. Basically all I want is for the player to run and shoot or jump at the same time. I've followed a multitouch tutorial and ...
1
vote
0answers
393 views

Touch Gesture Map Movement

I really dig the way that the map is moved in Clash of Clans (https://itunes.apple.com/ca/app/clash-of-clans/id529479190?mt=8)... I can recognize the pinch and finger movement needed for the zooming ...
0
votes
0answers
37 views

Enable multi touch for Scene2d UI widgets?

I'm using scene2d for my on-screen controls. I have 3 buttons and each one has it's own listener which sets the entities current action on touchUp and touchDown events. However when I hold one button ...