Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
3.1.0 Phaser.Physics.Arcade.Sprite Resizing Doesn't Work #3247
I am trying to move into Phaser 3.1.0, this is my very first step into Phaser 3. I initialized a scene using Arcade Physics, everything is working great but i can not resize Sprites.
According to documentation width is defined as:
I think it is an issue about scaling game objecs.
Thanks every greate one in this great community!
Oh thank you that worked.
But now, image and body moves seperately, https://i.hizliresim.com/bBLPdb.png
@agilul Thanks, with your comment, I discovered that, we need to set display origin 0 before resizing:
I used to scale everything mathematically on my previous games, that will be hard to get used to for me.