Skip to content

Instantly share code, notes, and snippets.

@videlais

videlais/script.js Secret

Created Aug 22, 2015
Embed
What would you like to do?
Phaser Group Basics - A
var game = new Phaser.Game(
200, //The width in pixels
200, //The height in pixels
Phaser.AUTO, //The render system
"phaser", //The element
{
preload: preload, // The preload function
create: create, // The create function
update: update // The update function
}
);
function preload() {}
function create() {
var group = game.add.group();
}
function update() {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment