Hub

InfiniteParallax Class

Thumb_mountain_grey

Brief

InfiniteParallax Class, to repeat same backgrounds all time.

Description

This project provides Parallax Scrolling for a Cocos2d-X project.

This code is 100% based on the CCParallaxScrollingNode project for cocos2d-iphone:
https://github.com/aramkocharyan/cocos2d
(We even used the assets!)

For more info on the original project:
http://ak.net84.net/iphone/creating-a-repeating-backgroundinfinite-parallax-effect-in-cocos2d/

To test:
Run the included project in XCode 4.

Comments

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.