Jump to content

phaser game speed normal vs retina


Recommended Posts

The pixel density will be greater on a retina display, so if you were moving 100px/s on a normal screen, it will feel like 50px/s on a retina display.

To solve this, you can either scale your game or adjust the velocity of objects when on a retina display. 

You can use Device.pixelRatio to detect higher DPI devices, including retina displays. You could then just multiply your velocity by that pixel ratio.

Link to comment
Share on other sites


  • Recently Browsing   0 members

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