How to get Touch phase and tap count?


#1

Hi I just wondering how can we get touch phase and count in Cocos2d-x?

For cocos2d we can just use UITouch and we can get both phase and tap count from it.
But, how can I get the same data from CCTouch in Cocos2d-x?

Thanks.

FaRHaN


#2

Anybody?


#3

This may help you


#4

Ryan Blake wrote:

This may help you
https://github.com/spalx/cocos2d-x-extensions/wiki/CCTapGestureRecognizer

Thanks :slight_smile: