Jump to content

Phaser.ScaleManager.SHOW_ALL all good, but NOT on iPad


Andles
 Share

Recommended Posts

Using the SHOW_ALL option works just as expected on my browser and my iPhone, but on iPad I see stretched images. I can only assume fro this that it just isnt working on iPad but my code is correct (as it works just as described elsewhere)

 

Nothing fancy here, just general scale setting for all scenarios (within boot init).

 

this.game.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL;
this.game.scale.pageAlignHorizontally = true;
this.game.scale.pageAlignVertically = true;

 

Any help or advice would be much appreciated, kind of slowing down the whole go live process :(

 

Andy

Link to comment
Share on other sites

That looks like older version code? I am on 2.3.  Certainly,I know for sure that the refresh() is no longer needed or used.

 

My problem is that my code DOES work and is correct (as per the documentation and the book on Phaser scaling sold by the creator of Phaser) on desktop and iPhone. It is only iPad that it does not work on.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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