Jump to content

Resize window while using Phaser


fredericlam
 Share

Recommended Posts

Hi all

 

thanks for the great work on Phaser .

 

I have a weird issue while using phaser, on a classic way, that I can't reproduce with the examples on phaser.io.

Here is my app : http://www.fredericlam.com/phaser/public/resize.html

 

- on chrome under Mac OS

- enable the chrome toolbar

- enable the viewport rendering

- choose iphone device on LANDSCAPE mode 

- scroll down to the window

- that try to resize de window, and you are directly redirect to the top, why ?

 

All my functions create(), init(), preload() are empty.

I tried game.scale.scaleMode = Phaser.ScaleManager.NO_SCALE; without any changes.

 

This can explain this strange redirection on a "reel" iphone, sometimes, user are redirected to the top.

 

Please do you have any idea to understand this behaviour ? 

 

Many thanks

 

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...