Closed GoogleCodeExporter closed 9 years ago
1. Next revision will feature named shapes. Image paths won't be necessary
anymore. I'll also add a "userData" field so you can add extra stuff.
2. It's also planned in next revision ;)
3. There is no such ratio. Actually, the shapes are normalized to a 100x100
square box (like if your image was resized to 100x100). Indeed, the shapes you
create shouldn't be bound to any pixel measure since you may want to reuse them
for multiple objects with different sizes. That's why the provided loader
(FixtureAtlas) asks the user for the width and height of the bodies that will
be loaded.
However, next revision will feature a proper way to size the shapes, see tthis
picture: http://twitpic.com/7mnii4/full Shapes will be normalized in a 1x1
square, always.
Original comment by aurelien.ribon
on 18 Jan 2012 at 10:51
Original issue reported on code.google.com by
ozz...@gmail.com
on 18 Jan 2012 at 10:42