Export json while running RUBE simulation

General discussion about the R.U.B.E editor
Post Reply
kyle.bong2@gmail.com
Posts: 41
Joined: Thu May 29, 2014 5:01 am

Export json while running RUBE simulation

Post by kyle.bong2@gmail.com »

Any way to export json file from RUBE simulation?

Thanks!
iforce2d
Site Admin
Posts: 861
Joined: Sat Dec 22, 2012 7:20 pm

Re: Export json while running RUBE simulation

Post 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 :)
kyle.bong2@gmail.com
Posts: 41
Joined: Thu May 29, 2014 5:01 am

Re: Export json while running RUBE simulation

Post by kyle.bong2@gmail.com »

Cool. I look forward to see this feature in the future :D
Post Reply