Mike Posted October 29, 2013 Share Posted October 29, 2013 Well what do you think about adding two properties to body: sprite.body.centerXsprite.body.centerY instead of writing: sprite.body.x + sprite.body.halfWidthsprite.body.y + sprite.body.halfHeight ... ? That's all p.s.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 More sharing options...
rich Posted October 29, 2013 Share Posted October 29, 2013 Yeah that's a sensible idea, please submit on github so I can close it tonight. I've finally got to the bottom of the body/tilemap issues and will be releasing 1.1.2 very soon to address this, so can do the above at the same time. Mike 1 Link to comment Share on other sites More sharing options...
Mike Posted October 29, 2013 Author Share Posted October 29, 2013 Done.https://github.com/photonstorm/phaser/issues/142 Link to comment Share on other sites More sharing options...
Recommended Posts