Jump to content

Using Sprites as Shapes in P2.js


eladrich
 Share

Recommended Posts

Hi guys,

I'm trying to extend the excellent ragdoll example from the P2 library (http://schteppe.github.io/p2.js/demos/ragdoll.html), so I could use actual images instead of shapes (i.e. head, hands and so on).

What would you say is the easiest and fastest way to take the existing demo and extend it?

 

I've tried working with Phaser, but since the Physics API is quite different, and there seems to be problems with dragging there it doesn't seem like the best option.

I've also head a look at P2Pixi, but it looks like it only supports textures.

 

Thanks :)

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...