How to create an animated tiled background from a texture atlas with Cocos2d

Posted by Kriem on Stack Overflow See other posts from Stack Overflow or by Kriem
Published on 2010-05-14T21:47:42Z Indexed on 2010/05/14 21:54 UTC
Read the original article Hit count: 347

I want to create a CCLayer with an animated tiled background from a larger texture atlas with Cocos2d.

I know how to drop a background in a CCLayer. I know how to create an animated CCSprite. I even know how to handle tiled world maps. But I can't find a proper way to combine all these elements in the desired form.

How would I do this?

© Stack Overflow or respective owner

Related posts about cocos2d-iphone

Related posts about iphone