Skip to content

Commit

Permalink
Update preload.js
Browse files Browse the repository at this point in the history
  • Loading branch information
micheleciondolo authored May 15, 2024
1 parent 80b6190 commit c794a33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Preload.prototype = {
preload: function(){
this.game.load.image('tile', 'assets/tile.png');
this.game.load.image('box', 'assets/box.png');
this.game.load.image('box', 'assets/commesse.png');


this.game.load.spritesheet('player', 'assets/player.png', 24, 24, 9, -2);

Expand All @@ -14,4 +16,4 @@ Preload.prototype = {
create: function(){
this.game.state.start("Main");
}
}
}

0 comments on commit c794a33

Please sign in to comment.