Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Home / Developers / sprakshak
Developer Profile

sprakshak

Discovered public repositories for sprakshak in the GitHub catalog.

↗

sprakshak/PinchToRevealCocos2D

Have a look at the youtube video of the animation in action : (http://www.youtube.com/watch?v=0PfU-3BjBDc&feature=youtu.be) . Krzysztof zablocki (www.merowing.info) wrote a fantastic piece on how to use gesture recognizer in cocos2d and another tutorial on how to create a pinch to reveal animation for UIKit. I have built upon his technique and created this project to use Pinch To Reveal gesture in cocos2d. the Source code is documented well and you are free to use/modify it in any way you please. Through this code you shall learn how to a) Incorporate UIGestureRecognizer in cocos2d (1.0 RC) b) How To Read in a pinch gesture on a CCsprite c) How to split the sprite in two sections based on the pinch gesture's location and move the split sections according to the movement of the pinch gesture.

FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.