mirror of
https://github.com/wassname/phaser.git
synced 2026-07-26 13:27:43 +08:00
Updated Loader component and fixed a few Pointer issues.
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
function init() {
|
||||
|
||||
// Using Phasers asset loader we load up a PNG from the assets folder
|
||||
game.loader.addImageFile('sprite', 'assets/sprites/parsec.png');
|
||||
game.loader.load();
|
||||
game.load.image('sprite', 'assets/sprites/parsec.png');
|
||||
game.load.start();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user