mirror of
https://github.com/wassname/phaser.git
synced 2026-07-27 11:25:30 +08:00
Updated Loader component and fixed a few Pointer issues.
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
|
||||
function init() {
|
||||
|
||||
game.loader.addImageFile('crystal', 'assets/pics/jim_sachs_time_crystal.png');
|
||||
game.loader.load();
|
||||
game.load.image('crystal', 'assets/pics/jim_sachs_time_crystal.png');
|
||||
game.load.start();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user