I created a level in the ‘Tiled Map Editor’ and loaded it into my libGDX game.
I can easily transform almost all objects into Box2D objects (although this problem is not Box2D specific), but I have trouble with ellipses.
Tiled seems to only create ellipse objects, without a special case for circles. I’d be happy with just circles if they existed in Tiled.
However, even the EllipseMapObject I load in libGDX only has an x,y
position. I don’t see any information about area or vertices. Did I miss something? How can I create circle or ellipse objects in Tiled and load them into libGDX with right dimensions?
Tiled version 0.10.1, libGDX version 1.4.1