AS3 2.1 Port (Alchemy), WCK Update and Kinematic Demos

Quote:
That way programmer without flash IDE could still benefit from these util classes.


Are you talking about Flex? WCK classes should work fine in Flex, if you chose to use them.
Box2d classes can be used. But when I wanted to use arc lines.. looking up source I found class that creates fixtures for that. But that class expected a display object as data source.
I would have to manually rewrite that class to something I could use.

Specifically I'm talking about classes:
shapes.Arc90
wck.BodyShape
I see. Perhaps some generic shape factory methods would be useful.
I didn't really looked at wck structure in depth, but I would say something like this would be best:
Divide box2d, utils and wck.
At this moment box2d is divided, but util classes are inside wck. Making some, as you say, generic shape factory methods, which would be easily usable with just code and let wck classes use these methods.

This API is really great. It just needs a little more friendly usage for programmers.
The Alchemy port (Box2DAS) is completely self contained. You should be able to use it entirely by itself, without the other packages (folders). It is intended to be as close to the native port as possible, with little add ons or dependencies. I DO think some shape building helpers would be a legitimate add on and plan on taking a stab at it though.

the wck package depends on the misc package. This is not going to change. Would be impossible to separate.

This explains the folder structure:
http://wiki.github.com/jesses/wck/folder-structure
How do you use animated type if your not using WCK. Or even how do you move a body without setting the usual velocity/force etc?

Ignore. Figured out how to use WCK and export the swc from flash, so I use in a non retarded editor 😛
i believe the methods without involve setXForm and kinematic bodies.
John Brookes wrote:
How do you use animated type if your not using WCK. Or even how do you move a body without setting the usual velocity/force etc?


b2Body::SetTransform is the low level way to do it.

John Brookes wrote:
so I use in a non retarded editor 😛


Are there alternative Flash authoring programs (besides Flex)?
I've finally gotten around to upgrading to the latest version of Box2D, and I'm confused about the usage of Edge Shapes and Loops and whether it's only edge shapes that give smooth collisions, or if loops can also provide that. Loops are obviously a lot more convenient, but it's not clear from the comments whether they actually do the heavy lifting for you.

As for edge shapes, am I correct in guessing that vertices 0 and 3 are the adjacent ones, while 1 and 2 represent the endpoints of the actual edge?
Jon:

AFAIK loop shapes should provide the same functionality as edge shapes, they're just more memory efficient (saw Erin comment on this in another thread). You are right, vertices 0 and 3 are the adjacent ones (thus the hasVertex0 and hasVertex3 flags). I think they are both still a work in progress though. Erin's still committing new code.

BTW just saw your GitHub message: The contact event system has not changed, I can confirm that its still working over here. I would make sure the pointers are still going to the right place since I know you've added variables here and there.

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