Jump to content

How to make this game full screen?


bartje01
 Share

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

Link to comment
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

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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