Sign in to follow this  
bartje01

How to make this game full screen?

Recommended Posts

Hello everyone,

I've been following a tutorial for making a flappy bird clone in Phaser.
However, I don't know how to stretch the game to fullscreen on any device. I've read that Phaser can do it for you. 

The tutorial I followed can be found here: http://www.lessmilk.com/tutorial/flappy-bird-phaser-1

Can anyone help me with the stretching part? is it easy?

 

Thanks in advance

Share this post


Link to post
Share on other sites
5 minutes ago, drhayes said:

You're probably looking for http://phaser.io/docs/2.4.7/Phaser.ScaleManager.html#scaleMode, and probably want to set that to SHOW_ALL.

I am using it. It does fill up the width of my device but not the height. I also want it to be stretched in height.

I've also tried EXACT_FIT which didn't do anything different then show_all

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.