Adobe Alchemy

Arguably, Alchemy would be reducing forks, as the C++ version could be used entirely instead of manually tracking changes in AS3.

And I think Glaze and Motor2 are forks of Box2D 1.4.3, or Box2D Lite. So there are not really any forks about. I didn't think APE actually had any Box2D in it at all.

I know what you mean though. So far, Box2DAS3 has been a rigid line for line port, and this has scared off people who are interested in getting better performance, or more Actionscript-styled APIs. I don't know if anyone actually intended for the situation to end up like this, but it is a pity imho.

This would be better taken up in a separate thread.
I think android was talking about Physaxe, not Alchemy. *shrug* But anyway, Alchemy would be a perfect opportunity to present a more AS3 oriented interface. It is already necessary to write some extra glue code to connect C++ to AS3, and this glue code doesn't necessarily correspond exactly to any part of the original library.

BTW, I have stopped making progress on my attempt to port Box2D to Alchemy until this question gets answered:
http://www.adobe.com/cfusion/webforums/ ... erthread=y
No support for "placement new"?
shaktool wrote:
I think android was talking about Physaxe, not Alchemy. *shrug* But anyway, Alchemy would be a perfect opportunity to present a more AS3 oriented interface. It is already necessary to write some extra glue code to connect C++ to AS3, and this glue code doesn't necessarily correspond exactly to any part of the original library.

BTW, I have stopped making progress on my attempt to port Box2D to Alchemy until this question gets answered:
http://www.adobe.com/cfusion/webforums/ ... erthread=y


shaktool, you might want to try emailing Mike Chambers (mesh[at]adobe.com from the readme -OR- mchamber[AT]adobe.com according to his site) as it appears he created the stringecho sample. He should be able to at least point you to someone who might be able to help. In my opinion the adobe forums tend to be hit or miss... mostly miss.
If Box2D is compiled using alchemy, it will be necessary to compile your own application for FP10 right? Or do you have to write your whole application in C++, and use alchemy for everything?
I was planning on exposing an AS3 interface to Box2D. The exact nature of this interface is to-be-determined. A compiler that supports Flash Player 10 would probably be necessary to use an Alchemy version of Box2D, but you might not need Alchemy itself.
android wrote:
If Box2D is compiled using alchemy, it will be necessary to compile your own application for FP10 right? Or do you have to write your whole application in C++, and use alchemy for everything?


The output of the Alchemy tool set is a swc file that can be linked to using any of the tools that compile Flash 10 swfs. So you could use Flex Builder 3 (with the 3.0.2 update), Flash CS4 or just the Flex SDK.
Just thought I would bump this thread to let everyone know that Alchemy has been updated.
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=755&threadid=1411810&enterthread=y

Not sure if this update will do anything for the problems you ran into shaktool, but I can hope. 🙂
Thanks for the notice, I'll try to check it out when I get home.
The problem is not fixed.

Feel free to try it out yourself. I'd like to know if anyone else can compiling anything containing
"#include <new>".

EDIT: Oh, while reading through the other threads I found the solution. I can make progress again. 🙂

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