Is there a way to use an external bitmap as the world?
I've nearly checked every tutorial, and i couldn't find out how to do this.
Thanks
no. Objects must be created using code to dynamically draw polygons, and circles.
Thanks, i found this SVGParser, wich is working perfectly now.
But it returns me aan array of "[object b2EdgeShape]", but i can't figure out how i can add these shapes to my world.
I already went trough all of those tutorials, but from what i understand, every object you want to use in your world needs a shape definition and a body definition.
But since that SVGParser is just returning me a b2EdgeShape, i don't see how i can create a body without the shape definition.
Ok, i think i figured it out, that SVGParser does that all for me 🙂