mirror of
https://github.com/wassname/phaser.git
synced 2026-08-11 05:49:23 +08:00
Updated Loader component and fixed a few Pointer issues.
This commit is contained in:
@@ -8,10 +8,10 @@
|
||||
|
||||
game.world.setSize(1920, 1200, true);
|
||||
|
||||
game.loader.addImageFile('backdrop', 'assets/pics/remember-me.jpg');
|
||||
game.loader.addImageFile('ball', 'assets/sprites/shinyball.png');
|
||||
game.load.image('backdrop', 'assets/pics/remember-me.jpg');
|
||||
game.load.image('ball', 'assets/sprites/shinyball.png');
|
||||
|
||||
game.loader.load();
|
||||
game.load.start();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user