Jump to content

JSON problems


littlebuddy98
 Share

Recommended Posts

Link to comment
Share on other sites

Ah, so you just want the sprite to use a non-rectangular physics body? In that case, you can use any image you want, and adjust the physics body as needed.

Here's an example of the ninja physics system showing a collision between a square and an object with a sloped body.

http://phaser.io/examples/v2/ninja-physics/ninja-aabb-vs-tile

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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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