
In this project you will find:
Cocos2d 8.1 working with Box2d
Box2D world created on init
AtlasSpriteManager created to manage the sprites
also:
schedule function that creates a different colored ball randomly and adds it to the world
a different colored ball is created and placed in the scene when the screen is touched at the touch location.
http://onedayitiwllmake.com/box2dcocos2dcopy.zip
Tags: Uncategorized
[...] hopefully this is still helpful if only to browse thru and see what i changed. – Link removed, see this post [...]
Hi, I’ve just downloaded this project… note that the link is broken, the “i” and “w” in “will” are swapped. Thanks for the example, it’ll surelly be very useful.
Hi, there’s no need to use this project anymore.
The latest version of Cocos2d has an example Box2d project built in which works great!
So I recommend using that instead