Jump to content

What is difference between Phaser.Scale.FIT and Phaser.FIT


haci koder
 Share

Recommended Posts

I am confused. I have just done a trying game with the Phaser 3 that is adjusted by Phaser.FIT mode. But I read some information of Phaser Scale on the page https://rexrainbow.github.io/phaser3-rex-notes/docs/site/scalemanager/.

Firstly I thought that the both are the same. But then, I got it. If I adjust with Phaser.FIT to scale.mode, it make size cover the entire area without canvas ratio. But Phaser.Scale.FIT, with aspect ratio. is it true? and are there any secret information of usage of scale.mode like Phase.ENVELOP/Phaser.Scale.ENVELOP or Phaser.RESIZE/Phaser.Scale.RESIZE?

 

Thank you.

 

These are my stuffs made by Phaser. The first is adjusted by Phaser.FIT, other is with Phaser.Scale.FIT:

 

with Phaser.FIT

with Phaser.Scale.FIT

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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