From e266ecfe00769546edea5b12cba77393038b8c70 Mon Sep 17 00:00:00 2001 From: photonstorm Date: Sat, 22 Feb 2014 00:17:41 +0000 Subject: [PATCH] Starting timer tests. --- examples/wip/timer1.js | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 examples/wip/timer1.js diff --git a/examples/wip/timer1.js b/examples/wip/timer1.js new file mode 100644 index 000000000..a3e2aedd8 --- /dev/null +++ b/examples/wip/timer1.js @@ -0,0 +1,30 @@ + +var game = new Phaser.Game(800, 600, Phaser.AUTO, 'phaser-example', { preload: preload, create: create, update: update, render: render }); + +function preload() { + + game.load.image('pic', 'assets/pics/backscroll.png'); + +} + +var text; +var b; +var grd; + +function create() { + + game.stage.setBackgroundColor(0x2d2d2d); + + text = game.add.text(0, 0, "time"); + +} + +function update() { + + +} + +function render() { + + +}