Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
micheleciondolo authored May 15, 2024
1 parent 28f3c26 commit c064edb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ if (this.rate2 > 200) {

this.player = this.game.add.sprite(this.game.world.width/5, this.game.world.height -
(this.tileHeight*2), 'player');
this.player.scale.setTo(4, 4);
this.player.scale.setTo(1, 1);
this.player.anchor.setTo(0.5, 1.0);
this.game.physics.arcade.enable(this.player);
this.player.body.gravity.y = 2200;
Expand Down

0 comments on commit c064edb

Please sign in to comment.