0

I have the following shape: http://s16.postimg.org/sfhb5wgdx/slime.png and I want to draw it in LibGDx just like that because am using Box2d wand will be used in collisions. I have heard I can used a mesh to create this but there isn't much documentation about drawing anything from an image. Do I seriously have to define all the points myself? Is there a better way to extract a shape from in image?

1 Answers1

1

Use Physics body editor https://code.google.com/p/box2d-editor/ this will solve your problem

Vikalp Jain
  • 1,419
  • 1
  • 11
  • 20
  • Thank you! Thats what I have been looking for! –  Jul 18 '13 at 19:04
  • Doesn't work on Mac OSX Mavericks because this application doesn't support Java 7.. – Oliver Dixon Aug 19 '14 at 05:35
  • @iLoveUnicorns then install java 6 on Mac OSX Mavericks. I'm currnetly running all java6, java7 both on my mac with default set to java6. you can use http://support.apple.com/kb/DL1572 to install java 6. – Vikalp Jain Aug 19 '14 at 10:15