Page 1 of 1

Export json while running RUBE simulation

Posted: Thu Nov 13, 2014 9:12 pm
by kyle.bong2@gmail.com
Any way to export json file from RUBE simulation?

Thanks!

Re: Export json while running RUBE simulation

Posted: Sat Nov 15, 2014 6:17 am
by iforce2d
If you mean from the player view, no. There is a planned feature though, that would let you copy the current state of the world in the player view back to the editor view (or make a new copy I guess, would also need to be possible).
At the moment the player view loads the exact same .json as you get when you export, so a lot of information is lost (the original polygons before decomposition, the names and ids of items etc). It will take a major rearrangement of how the player view works to get the 'copy back' feature implemented. When I do that I also want to make it possible to have scripting in the player view as well... not sure when I will get all this done though sorry :)

Re: Export json while running RUBE simulation

Posted: Sat Nov 15, 2014 7:30 pm
by kyle.bong2@gmail.com
Cool. I look forward to see this feature in the future :D