Objective - Gestures while finger touches screen

Posted by marcg11 on Game Development See other posts from Game Development or by marcg11
Published on 2012-04-01T18:04:11Z Indexed on 2012/04/01 23:41 UTC
Read the original article Hit count: 479

Filed under:
|

I'm creating a space cocos2d game with objetive-c. I have in the bottom left 2 arrows to move the sprite left or right. I also implemented a swipe gesture to change weapon, however it only happens when I'm not touching the screen.

I would like the player to change weapons while he's moving the sprite and not have to lift the finger from the arrows and stop moving the sprite to change weapons.

Is there any way I can detect Gestures while having a finger pressed un a buton in thes screen?

© Game Development or respective owner

Related posts about cocos2d-iphone

Related posts about objective-c