Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Phaser.Physics.Arcade.Body - properties request ?


Recommended Posts

Well what do you think about adding two properties to body:





instead of writing: 


sprite.body.x + sprite.body.halfWidth

sprite.body.y + sprite.body.halfHeight


... ? 


That's all :P



Also I was thinking of changing the body anchor like the sprite.x changes when you change the  sprite.anchor(0.5,0.5);

Link to comment
Share on other sites


  • Recently Browsing   0 members

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