cocos2d-iphonecclayer

How to move CCLayer in cocos2d


Can any one tell me how to move a CClayer. Like DoodleJump when object will move upward the background will also move upward.Plz Explain me with some sample code.


Solution

  • This tutorial will teach you how to make a game very similar to doodle jump: Tutorial Part 1

    Hope it helps :)

    P.S. Check out this guys' channel he has the solution to your background problem.