Very new to Box2D Any iPhone Tutorials?

Hello,

I am completely new to Box2D, i have made a few iPhone Apps that are in the store, but i really want to move onto games now. Nothing to Complex, just something very simple to start, i no my limits.. 😀

Anyway, i was wondering if there are any tutorials on how to get Box2D it to run in Xcode for the iphone! I really have no idea where to start, i have downloaded the engine but all i can see is a walking spider that is on the desktop but not in iphone or on the simulator... What next??? 😳

Plus i seen someone say that there is a iPhone testbed in the download, there IS NOT in mine! there is only
Build/
CodeBlocks/
VC8/
Xcode/

No iPhone....

So then I looked at the manual but i have no idea what to do... Like where do i type all the stuff???
b2AABB worldAABB;
worldAABB.lowerBound.Set(-100.0f, -100.0f);
worldAABB.upperBound.Set(100.0f, 100.0f);

Where does this go?? what do i open to type this?? I AM TOTALLY LOST!!

Thanks, i hope someone can help, I completely LOVE the Box2D games!!
can anyone help?? have been playing around with it for 2 days now and still cant figure it out!!!! 😳 😢
Hi

if you make a svn checkout from https://box2d.svn.sourceforge.net/svnroot/box2d you should find an xcode project in the folder trunk/Build/iPhone/Box2D or take a look at cocos2d (http://www.cocos2d-iphone.org/).
The latest version also provides you with a xcode template for box2d.
Thank you very much for a reply was beginning to think this site was dead!!! Or else no one knew how to answer my question!?

ok a few things,

I have seen "https://box2d.svn.sourceforge.net/svnroot/box2d" before and can only read the files, how can i download them? like if i look at the -Box2D.xcodeproj/ i cant download it there is just a bunch of code! what am i supposed to do with that??

and i have gone to cocos2d (http://www.cocos2d-iphone.org/) and downloaded that before, the test apps are really cool but i really have no idea how to change them? can i even change them to make my own?

and lastly i tried to install the install_template.sh in terminal and it installed all fine, but when i open Xcode there is no iphone template! how do i get that to work??


Sorry for all the questions but i am reallt having a hard time with this nothing im doing works in ANY way!!! its driving me crazy..
salvadormg wrote:
I have seen "https://box2d.svn.sourceforge.net/svnroot/box2d" before and can only read the files, how can i download them? like if i look at the -Box2D.xcodeproj/ i cant download it there is just a bunch of code! what am i supposed to do with that??


it is a subversion repository, you need to check it out with subversion. open a terminal and type "svn co https://box2d.svn.sourceforge.net/svnroot/box2d box2d-read-only"

salvadormg wrote:
and lastly i tried to install the install_template.sh in terminal and it installed all fine, but when i open Xcode there is no iphone template! how do i get that to work??


in xcode, File->New Project->iPhone OS->Application you should see two new templates, cocos2d...application and cocos2d...box2d application
trung wrote:
salvadormg wrote:
I have seen "https://box2d.svn.sourceforge.net/svnroot/box2d" before and can only read the files, how can i download them? like if i look at the -Box2D.xcodeproj/ i cant download it there is just a bunch of code! what am i supposed to do with that??


it is a subversion repository, you need to check it out with subversion. open a terminal and type "svn co https://box2d.svn.sourceforge.net/svnroot/box2d box2d-read-only"


Oh ok cool, had no idea you can do that!! have it all now that you very very much!! 🙂


trung wrote:
salvadormg wrote:
and lastly i tried to install the install_template.sh in terminal and it installed all fine, but when i open Xcode there is no iphone template! how do i get that to work??


in xcode, File->New Project->iPhone OS->Application you should see two new templates, cocos2d...application and cocos2d...box2d application



Ok its not there!!! This is all i see... - Image

And see it is installed! - Image

What do i do??

Original thread: https://box2d.org/forum/viewtopic.php?t=3768