Joe Kopena 3 Posted October 27, 2014 Report 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 Quote Link to post Share on other sites
oddskill 5 Posted October 27, 2014 Report Share Posted October 27, 2014 removed by author. sry misunderstanding Quote Link to post Share on other sites
stupot 46 Posted October 28, 2014 Report 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. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.