Revamping the examples area.

This commit is contained in:
photonstorm
2013-10-22 03:58:20 +01:00
parent 82df8c9f54
commit 07724e5001
380 changed files with 8619 additions and 10707 deletions
+15
View File
@@ -0,0 +1,15 @@
var game = new Phaser.Game(800, 600, Phaser.AUTO, 'phaser-example', {create: create });
function create() {
game.stage.backgroundColor = '#454645';
var style = { font: "14px Arial", fill: "#ff0044", align: "center" };
game.add.text(10, 20, game.rnd.integer());
game.add.text(10, 40, game.rnd.frac());
game.add.text(10, 60, game.rnd.real());
game.add.text(10, 80, game.rnd.integerInRange(100, 200));
}