Hello Box2D Tutorial out of date?

Hello all, just been trying to get started with my first project in Box2D and seem to be coming across more problems than I expected with the Hello Box2D starter tutorial in the manual.

I've found out from the forums here that the b2World class now only takes 2 arguments in the constructor... but now I'm getting an error saying that the b2PolygonDef class is not a compile time constant (I'm assuming the name has been changed to something else?) and also one telling me that the b2Body class does not contain the function CreateShape. For a beginner like me who is really just trying to find their feet with Box2D this is a complete nightmare - every time I think I'm getting somewhere I get another error and I'm never sure whether I've done something wrong or if it's the out-of-date tutorial.

Is there an up-to-date beginners tutorial available? Or is there somewhere I can download the older version of the code (for Flash AS3) that will work with the existing tut?


Any help here would be greatly appreciated. Thanks in advance.
Hi Dinkyfish,
there are two versions of Box2DFlash around, 2.0.2 and 2.1. Probably you will want to use version 2.0.2, because you will find a complete manual for it. I think the tutorials are for this version, too.

Version 2.1 is still alpha and does not have a manual yet.

See here for download, manual and reference for both versions: http://www.box2dflash.org. You also find the main differences of both versions pointed out on this site.

Good luck,
M
Thank you! I'm working with Flash 10 though... so will the older version still work?
Dinkyfish wrote:
Thank you! I'm working with Flash 10 though... so will the older version still work?


Yes it will.

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