Canvas and Stage added and starting to merge in Pixi deeply.

This commit is contained in:
Richard Davey
2013-08-29 17:20:59 +01:00
parent 16749edf20
commit 19483bafed
8 changed files with 372 additions and 18 deletions
+1 -3
View File
@@ -13,10 +13,8 @@
// Your game will work either from within a closure or not, it doesn't matter
(function () {
var game = new Phaser.Game(800, 600, Phaser.RENDERER_AUTO, '', { preload: preload, create: create });
// In this approach we're simply using functions in the current scope to do what we need
// game.launch(this, preload, create);
var game = new Phaser.Game(800, 600, Phaser.RENDERER_AUTO, '', { preload: preload, create: create });
function preload() {