Jump to content

Using Sprites as Shapes in P2.js


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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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