Jump to content

Android in-app browser 5.0 laggy


nikiton
 Share

Recommended Posts

Hi everyone. I'm trying to build a very simple game with Phaser. It doesn't have any physics. Just rotate and position tweens once in a while. It doesn't have any complex logic or huge textures either.

- After my first attempt the game looked perfectly on desktop and ios, but on android it looked blury. For some reason window.innerWidth & window.innerHeight returned more then twice lower values (smth about 306 * 560) then official resolution of the phone (720*1184). As a result all the sprites were scaled down and looked bad.

- Then I found this article and tried to apply described technique. It helped and now game looks pretty well on all devices (at least which I tried) and desktop. But when I'm trying to run it in in-app browser (believe me I need it) it's lagging a lot.

- Tried some advice from this thread like removing all the texts (because they are not sprite yet) or setting viewport to "width=device-width, initial-scale=1" but nothing helped.

On devices with android 6.0 or 7.0 the game runs smoothly without any problems. I experience lags with 5.0 only.

What can you suggest?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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