Updated Loader component and fixed a few Pointer issues.

This commit is contained in:
Richard Davey
2013-06-05 02:58:16 +01:00
parent d42f396ba0
commit 2f03f5fc43
118 changed files with 934 additions and 602 deletions
+3 -3
View File
@@ -4,9 +4,9 @@
var leftEmitter;
var rightEmitter;
function init() {
game.loader.addImageFile('ball1', 'assets/sprites/aqua_ball.png');
game.loader.addImageFile('ball2', 'assets/sprites/yellow_ball.png');
game.loader.load();
game.load.image('ball1', 'assets/sprites/aqua_ball.png');
game.load.image('ball2', 'assets/sprites/yellow_ball.png');
game.load.start();
}
function create() {
leftEmitter = game.add.emitter(0, game.stage.centerY - 200);