vmars316

Can Phaser canvas code run without 'local web server' ?

Recommended Posts

THanks matt ;

I downloaded the 2.4.4 version and went thru the demo :

http://phaser.io/tutorials/getting-started/index 

and went in and changed all the statements :

var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });

to:

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

And they all run fine .

Will it stop working when I use more complex features ?

 

 

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.