Skip to content

Instantly share code, notes, and snippets.

@photonstorm
Created May 10, 2017 00:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save photonstorm/2561a180b3ebe90895c16b76b52e76ac to your computer and use it in GitHub Desktop.
Save photonstorm/2561a180b3ebe90895c16b76b52e76ac to your computer and use it in GitHub Desktop.
Phaser Game Config Object
var conf = {
width: 800,
height: 600,
renderer: Phaser.AUTO,
parent: 'phaser-example',
transparent: false,
antialias: false,
state: this,
scaleMode: Phaser.ScaleManager.EXACT_FIT
};
var game = new Phaser.Game(conf);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment