Import world from vector

What would you like to see in future versions of the editor?
Post Reply
c0ffee
Posts: 4
Joined: Fri Aug 16, 2013 11:19 am

Import world from vector

Post by c0ffee » Sat Sep 07, 2013 5:23 pm

Hello,
being able to load b2world from vector could be quite handy.

Initial world creation step could be moved to vector editors like photoshop, illustrator, inkscape.
Besides being useful on its own, it also partially covers some other features like edge detection(if I understood it correctly).

Can't estimate importance of this feature since don't know how complex Box2D world for a game can be.

As for the implementation there are few ways. One would be delving into ready vector format and exporting its graphics straight to Rube editor's body/fixtures, this would create a big library of ready objects. Another one is using vector editors' scripting capabilities to create export script for rube/json format, with tricks and gimmicks.

What would be the best way to implement such feature, what are chances of it being added to Rube?

iforce2d
Site Admin
Posts: 860
Joined: Sat Dec 22, 2012 7:20 pm

Re: Import world from vector

Post by iforce2d » Mon Sep 09, 2013 2:55 pm

Qt provides a nice svg loader, which makes the chances of something like this being added to RUBE pretty good :)

Post Reply