Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.