MovingBlocks / box2d-editor

Automatically exported from code.google.com/p/box2d-editor - migrated here to maybe maintain together with Destination Sol. Original website:
https://code.google.com/archive/p/box2d-editor/
Apache License 2.0
83 stars 21 forks source link

Some Improvements #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, I would just like to suggest a few features, and hope you can possibly 
implement them.

1. As you are allowed to create multiple bodies per assets, you could allow the 
creation of joints to link them together.

2. If I am not mistaken, I believe that you have to manually group your image 
together by yourself if you were to want multiple assets on the same area. 
Could we have an option to drag multiple assets at once upon the screen?

3. As there is support for loaders, how about having these loaders be able to 
display the direct code for creating the bodies as not all of us would like to 
use FixtureAtlas'?

Hope you are interested in some of these ideas,
Seth Sectioner

Original issue reported on code.google.com by senth...@gmail.com on 29 Nov 2011 at 1:08

GoogleCodeExporter commented 9 years ago
Hello,

1. You're not allowed to create multiple bodies per asset, what is possible is 
multiple  shapes per body. In Box2D (and other engines), a body can be made of 
multiple shapes, but they still form a rigid body, and these shapes cannot 
interact dynamically with each other.

2. This time, such feature would allow multiple bodies to interact with each 
other, like in a real game. I'm considering this option, it would allow people 
to create complex objects made of multiple bodies, joined with custom joints.

3. Of course, the FixtureAtlas was just an example of how to create a (binary) 
loader for the editor files, anyone can reuse part of its code to create its 
own loader implementation. However, I'll try to create a generic java loader, 
that just let people access the vertices lists and build the bodies themselves, 
thanks for the suggestion ;)

Anyway, I'm really interested in point 2, it would allow some very powerful 
constructions. That's a lot of work (need to add a new canvas mode, joint 
creation, etc) but I'll update my twitter with the improvement status.

Thanks for the ideas ;)

Original comment by aurelien.ribon on 29 Nov 2011 at 1:29

GoogleCodeExporter commented 9 years ago
Work on all of this is started and will lead to 3.0 update with dynamic objects 
made of multiple rigid bodies and joint creation. Closing the issue.

Original comment by aurelien.ribon on 29 May 2012 at 8:39