mirror of
https://github.com/wassname/phaser.git
synced 2026-09-10 12:29:30 +08:00
Updated Loader component and fixed a few Pointer issues.
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
|
||||
function init() {
|
||||
|
||||
game.loader.addImageFile('ball1', 'assets/sprites/aqua_ball.png');
|
||||
game.loader.addImageFile('ball2', 'assets/sprites/yellow_ball.png');
|
||||
game.load.image('ball1', 'assets/sprites/aqua_ball.png');
|
||||
game.load.image('ball2', 'assets/sprites/yellow_ball.png');
|
||||
|
||||
game.loader.load();
|
||||
game.load.start();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user