Second commit, all the basic examples added, and wip files moved

This commit is contained in:
Webeled
2013-10-25 18:10:03 +01:00
parent f63e8d7d06
commit 8dfe5aee1c
11 changed files with 125 additions and 27 deletions
+11
View File
@@ -0,0 +1,11 @@
var game = new Phaser.Game(800, 600, Phaser.CANVAS, 'phaser-example', { create: create });
function create() {
var text = "- phaser -\n with a sprinkle of \n pixi dust.";
var style = { font: "65px Arial", fill: "#ff0044", align: "center" };
var t = game.add.text(game.world.centerX-300, 0, text, style);
}