Search found 4 matches

by c0ffee
Sat Sep 07, 2013 5:23 pm
Forum: Feature requests
Topic: Import world from vector
Replies: 1
Views: 16378

Import world from vector

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...
by c0ffee
Wed Sep 04, 2013 6:43 pm
Forum: R.U.B.E discussion
Topic: pyBox2D Json loader
Replies: 4
Views: 13812

Re: pyBox2D Json loader

Hello, the link to script is https://github.com/c0ffeeartc/rubeJsonToPyBox2D
All is done and should work well, everyone is welcome to try it :)

Check "readme" for usage.
by c0ffee
Tue Aug 20, 2013 8:31 pm
Forum: R.U.B.E discussion
Topic: pyBox2D Json loader
Replies: 4
Views: 13812

Re: pyBox2D Json loader

Hello, Box2D json loads into memory fine in python, yet for example pyBox2D.b2World object has different set of variables compared to Box2D.b2World. Then you would use the data to recreate the Box2D world. So remapping values straight from Box2d json data to pyBox2D fields would be a usual practice,...
by c0ffee
Mon Aug 19, 2013 6:23 pm
Forum: R.U.B.E discussion
Topic: pyBox2D Json loader
Replies: 4
Views: 13812

pyBox2D Json loader

Update: Link to script https://github.com/c0ffeeartc/rubeJsonToPyBox2D Check "readme" for usage. :) Previous post: Can someone with experience specify what steps would take to create a python Box2D json loader? I'm used to python and would be able to make one if it's within reach of my kno...