var game = new Phaser.Game(800, 600, Phaser.CANVAS, 'phaser-example', 
	{ create: create, render: render });

var circle = [];
var floor;
var offsetX = 70; // roughly the diameter
var offsetY = 70;

function create() {
	for (var i = 0; i != 25; ++i) {
		for (var j = 0; j != 10; ++j) {
			circle = new Phaser.Circle(/*game.world.centerX*/i * offsetX, j * offsetY, 64)
		}

	}
}

function render() {
	for (var i = 0; i != 250; ++i) {
		game.debug.geom(circle[i], '#cfffff');
	}
	// game.debug.text('Diameter: ' + circle.diameter, 50, 200);
	// game.debug.text('Circumference : ' + circle.circumference(), 50, 250);
}
@@ -71,545 +71,166 @@
 %0A%09%7B 
-create: create, render: render %7D);%0A%0Avar circle = %5B%5D;%0Avar floor;%0Avar offsetX = 70; // roughly the diameter%0Avar offsetY = 70;%0A%0Afunction create() %7B%0A%09for (var i = 0; i != 25; ++i) %7B%0A%09%09for (var j = 0; j != 10; ++j) %7B%0A%09%09%09circle = new Phaser.Circle(/*game.world.centerX*/i * offsetX, j * offsetY, 64)%0A%09%09%7D%0A%0A%09%7D%0A%7D%0A%0Afunction render() %7B%0A%09for (var i = 0; i != 250; ++i) %7B%0A%09%09game.debug.geom(circle%5Bi%5D, '#cfffff');%0A%09%7D%0A%09// game.debug.text('Diameter: ' + circle.diameter, 50, 200);%0A%09// game.debug.text('Circumference : ' + circle.circumference(), 50, 250);%0A%7D
+preload: preload, create: create, update: update, render: render %7D);%0A%0Afunction preload() %7B%0A%7D%0A%0Afunction create() %7B%0A%7D%0A%0Afunction update() %7B%0A%7D%0A%0Afunction render() %7B%0A%7D%0A

Prepare for sprites