new example showing how to use "pixel perfect collision detect"

Hi all,

I created an example showing how to use “pixel perfect collision detect”, which was implemented only with object-c version.
The source code can be reached via [[https://github.com/seetime/PixelPerfectCollision]] and the original discussions on the “Pixel perfect collision detection” can be founded here [[http://www.cocos2d-iphone.org/forum/topic/18522/page/4]].

Hello,

I tried using your code and trying to make it work with Cocos2d-x 2.1.4 but was unsuccessful. Could you help me out with this … ?
Here’s my code

http://pastebin.com/YKGxtxMA

The glReadPixels are reading wrong values I guess … Not sure