Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Catalog / nod3011 / PinchToRevealCocos2D
Public GitHub Catalog Discovered Sep 27, 2026

nod3011 / 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.

View repository on GitHub ↗ View creator profile Browse directory

About this discovery

Public repository record indexed from GitHub. Explore verified star velocity metrics, source code repositories, and curated developer tool directories across the GitHubRepo ecosystem.

#9938846GitHub System ID
nod3011Organization / User
PublicVisibility
ActiveCatalog Status

More from nod3011

↗

nod3011/TDBadgedCell

UITableViewCell subclass that adds a "badgeString" property to table view cells.

Discovered
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.

SPONSORED Sponsored Partner