Jump to content

Zoom in, Zoom out - center canvas and Zoom ?


Recommended Posts

I want to zoom in zoom out. In game, I set this.scale.pageAlignVertically = true;         this.scale.pageAlignHorizontally = true;  and in config I set: scaleMode: Phaser.ScaleManager.SHOW_ALL.when I zoom in browser. It scales game, however when i zoom out browser, it not scale game and not center of screen. I don't know why. How to do that




Link to comment
Share on other sites


  • Recently Browsing   0 members

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