mirror of
https://github.com/wassname/phaser.git
synced 2026-07-24 13:10:53 +08:00
Updated Loader component and fixed a few Pointer issues.
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
|
||||
function init() {
|
||||
|
||||
game.loader.addImageFile('dragonsun', 'assets/pics/cougar_dragonsun.png');
|
||||
game.loader.addImageFile('overlay', 'assets/pics/scrollframe.png');
|
||||
game.load.image('dragonsun', 'assets/pics/cougar_dragonsun.png');
|
||||
game.load.image('overlay', 'assets/pics/scrollframe.png');
|
||||
|
||||
game.loader.load();
|
||||
game.load.start();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user