New Flash to Box2D Layout Tool

Apologies for the question but this tool looks very impressive and I'm hoping I'll be able to use this tool for my game I'm developing...

We need to create this level:

http://www.dukesbox.net/track1.png

Where the multicolour barriers are the collidable walls for the gokarts. Could I use this tool to create the inner wall and outer wall objects?
Hi android,

Sorry for the delay, I didn't get a notifiction from this from the forum -- I must have set that up wrong...

The http://debreuil.com/ASDraw/selectionToDrawingAPI.zip too is what you would want to use I think (at this point). It is installable double clicking the mxi script in there (that is the flash component installer thing). If that doesn't work you can just manually put the jsfl file in your commands folder.

This will work on a mac, and will work in flash CS3/9. It converts the vectors to data, and then has a little mini program that unpacks and draws that. The AsDraw one is a little more elaborate (and faster) however it requires .Net, so on a mac you would need mono.

I have a version on the Box2D tool that also runs directly from flash now (clicking on a command does all the steps), I may release that before integrating the vector stuff. So that part may only come a bit down the road.
Hi Andrew,

Yes it could be used for that. Atm you would need to draw the shape boxes manually, busting them into groups with a max of 8 points. there can be as many shape groups as you like for each object though, so I would guess you would want two objects, with about 10 shapes each (one for the inner track, one for the outer).
Hi Andrew,

Out of curiosity I tried your sample track, looks great btw : ), and works well. You can see it here (not a permanent link, I'll take it down once you have a look -- arrow keys to control once you click on it):

http://debreuil.com/v2d/temp/racerTest/racer.html

I've made a few adjustments since the last update to the tool, so I've bundled them together (with the flash file and the latest v2d.exe) here:

http://debreuil.com/v2d/temp/racerTest/racerTest.zip

The source is updated for swf.Net (http://codeplex.com/swf) with these changes, though the new release version isn't up at this point.

Cheers,
Robin
Wow you guys are great 🙂 Thanks for your replies and thats a great demo! I was starting to worry about manually creating hundreds of little boxes for each little track that exists within my game (30 so far and growing!) which would have been a bit of a pain. This tool is a massive time saver so thankyou!

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