espace

fullsrcreen need a real example

Recommended Posts

it is a question that has already been often asked but no real answer. Can a kind soul could adapt the concepts of this tutorial about fulscreen on this empty phaser

https://www.sitepoint.com/use-html5-full-screen-api/

here the virgin jsfiddle

https://jsfiddle.net/espace3d/y8u4o5cw/

var game = new Phaser.Game(800, 600, Phaser.CANVAS, 'phaser-example', { preload: preload,create: create, update: update, render: render });

function preload() {
   game.load.image('circle', 'https://s13.postimg.org/xjhlzmiev/disc_png.png');
   
};

function create() { 
};

function update() {
};

function render() {
}

 

I believe that this solution will delight many people....thanks for the repliers ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.