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

 Share

  • Recently Browsing   0 members

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