Joe Kopena Posted October 27, 2014 Share Posted October 27, 2014 This weekend I've been playing with fullscreening, specifically SHOW_ALL, and had some challenges getting the stock examples and project template to work correctly on both my laptop and phone. After mostly nailing those down, I have a blog post up that may be useful to others:http://www.rocketshipgames.com/blogs/tjkopena/2014/10/fullscreen-scaling-in-phaser/I've also posted that demo code and the start of a revised boilerplate project template to GitHub:https://github.com/RocketshipGames/phaser-fullscreen I'd be appreciative of any comments, suggestions, and pointers to best practices. In particular, next I'd like to figure out why it gets scaled disproportionately in Firefox. I'm also not sure the orientation prompt (in the larger project) is being handled optimally, it shows flashes of rotated screen in the transition though there may be nothing much to be done about that. The standard project template doesn't show the orientation prompt at all in fullscreen mode because of the div not being contained in the fullscreen element. Thx Link to comment Share on other sites More sharing options...
oddskill Posted October 27, 2014 Share Posted October 27, 2014 removed by author. sry misunderstanding Link to comment Share on other sites More sharing options...
stupot Posted October 28, 2014 Share Posted October 28, 2014 If you want it to work out of the box, you'll need to checkin your /deps/phaser-2.1.3-arcade-min.js file. Link to comment Share on other sites More sharing options...
Recommended Posts