a complete xcode project for cocos2dx available ??

General discussion about Box2D tutorials
Post Reply
pacific00
Posts: 1
Joined: Tue Mar 03, 2015 4:42 pm

a complete xcode project for cocos2dx available ??

Post by pacific00 »

hi,
im really new to box2d , wanted to learn it with a sample project . I have downloaded the one from you site which has all the scripts but the project is giving me a lot of errors, semantic as well as linker errors. It'd be really helpful if there is a complete xcode project.
iforce2d
Site Admin
Posts: 861
Joined: Sat Dec 22, 2012 7:20 pm

Re: a complete xcode project for cocos2dx available ??

Post by iforce2d »

No need to download anything from my site for this :)

There is a basic test example for Box2D in the "cpp-tests" of the standard cocos2d-x distribution, which you can use as a base to get started using Box2D.
https://github.com/cocos2d/cocos2d-x/tr ... /cpp-tests
If you followed the setup guide for installing cocos2d-x for C++, you will probably have this "cpp-tests" project already, so you can try editing the file Classes/Box2DTest/Box2dTest.cpp in that project to try using Box2D.
Post Reply