Implementing page scrolling in Cocos2d

Please note, For now this page is just here to test the new blogging system I am writing. The original article is still on the “real” dk101.net

I’ve been working with Cocos2d for a couple of weeks now and it really is a wonderful language to work with for writing 2D games. I’m currently writing a couple of games with Cocos2d (Avoidance is in the app store right now!) but one thing I really wanted to implement was a scrolling page system. Think of the Chapter Select on Angry Birds and games like that. It’s not something that’s built in to Cocos2d and I wanted a full cocos2d method instead of messing with UIScrollView and all that jazz.

When finished the final product looks something like the following

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>