Nice editor, easy to use. I guess the file formats for static and dynamic objects, and the environment are your own formats?
I've attached my little editor for you and anyone else that finds it useful. It may still be a little bugged until I test it in anger. I plan to do more with it as the need arises. This is for creating individual objects rather than an environment. The simple process is:
1. Load an image
2. Left-Click or "M" to place markers around the image
3. Right-click or "X" to remove a marker
4. Don't worry about number of points, it will automatically Start a new entity (fixture) when required.
5. "N" to manually start a new entity (fixture). The next left-click will start marking again
6. "P" to delete current entity in whole (not recommended, a bit glitchy, just use "X" several times)
7. "S" to save.
Known issues
============
"P" as mentioned is bugged, doesn't reset marker numbers correctly
You must manually ensure no convex angles, and applied clockwise
Notes
======
Save creates a file (e.g
myImage.png.b2d) with the following format, all values are saved as 1 string per line, readable in Notepad:
Value 1 - Number of points
Sets of 3 Values:
. Marker Pos X
. Marker Pos Y
. Entity (Fixture) number
To use Saved data
=================
1. Load image
2. Load values into array
3. Create Body
3. Create shapes
4. Create fixtures from shapes
5. Associate image with Body
Planned updates:
================
Enforce concave angles
Enforce clockwise application
Enhance auto-fixture creation to be more seamless