More inforamiton about scale

I am a little bit confused with scale. Need more information about FIT, ENVELOP mode of scale configuration. Can someone share my experience with me?

I want to set a background image which should be liquid, i.e image size change dynamic with the size of the canvas.

I should check any proportions, and depending on it set right sprite? ~1,3; ~1,8 and so on?

I don’t know much about the scale manager, but here’s the devlog explaining all the scale manager modes: https://phaser.io/phaser3/devlog/136.

Scale mode effects the entire game though, not just the a single gameobject (i.e. your background image). You might want to handle window resize events on your own if you only want a single game object to respond to them.

1 Like

Thank for the reply. I do some test and realize it.

1 Like