Jump to content

Calculate a particular size on any display device.


Recommended Posts

I need to work out about how many pixels makes up approx. 1cm on the device it'd being displayed on... I'm using the Phaser mobile template which scales up the game to the available window size which complicates things a little, but I don't know if you can calculate the display size (and I do mean size rather than resolution.)


Anyone got any ideas how I can do this? Or, even get close? (it doesn't need to be super accurate.)

Link to comment
Share on other sites


  • Recently Browsing   0 members

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