Jump to content

Where can I learn about device scaling for Phaser?


tinagallegos
 Share

Recommended Posts

I downloaded Phaser and the Phaser examples but I am looking for the section which talks about how you can develop the game to handle all sorts of devices/screen/resolutions.  Can someone help with linking me the section or mentioning the Phaser subject which goes over this part? Thanks

Link to comment
Share on other sites

Hi,

 

I've got some scaling in my Phaser Boilerplate https://github.com/appsbu-de/phaserBoilerplate/blob/master/src/js/states/Boot.js

 

It is not easy to find, but Phaser has some project blueprints which are aware of scaling on mobile and desktop: https://github.com/photonstorm/phaser/blob/master/resources/Project%20Templates/Full%20Screen%20Mobile/src/Boot.js

Link to comment
Share on other sites

If you're working with the full screen mobile template that comes with Phaser (resources/Project Templates/Full Screen Mobile/), everything scaling is taken care of within the Boot state (Boot.js).

 

Additionally you may find some interesting approaches in this thread: http://www.html5gamedevs.com/topic/1380-how-to-scale-entire-game-up/

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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