// Create a new Game-Instance var game = new Phaser.Game( --width-- , --height-- , Phaser.AUTO, '', { preload: preload, create: create, update: update }); function preload() { // Load the game assets before the game starts } function create() { // Executed after everything is loaded } function update() { // This is executed many times per second to update the screen }