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
@@ -3,9 +3,9 @@
(function () {
var game = new Phaser.Game(this, 'game', 800, 600, init, create);
function init() {
game.loader.addImageFile('dragonsun', 'assets/pics/cougar_dragonsun.png');
game.loader.addImageFile('overlay', 'assets/pics/scrollframe.png');
game.loader.load();
game.load.image('dragonsun', 'assets/pics/cougar_dragonsun.png');
game.load.image('overlay', 'assets/pics/scrollframe.png');
game.load.start();
}
var scroller;
function create() {