-
-
Save videlais/ec1fcee6c0b040a52577 to your computer and use it in GitHub Desktop.
Game description of BasicPlatformer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var game = new Phaser.Game( | |
720, 384, // The width and height of the game in pixels | |
Phaser.AUTO, // The type of graphic rendering to use | |
// (AUTO tells Phaser to detect if WebGL is supported. | |
// If not, it will default to Canvas.) | |
'phaser-game', // The parent element of the game | |
{preload: preload, // The preloading function | |
create: create, // The creation function | |
update: update}); // The update (game-loop) function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment