Omnibus commited on
Commit
f4a4777
1 Parent(s): 1065cbf

Update game.html

Browse files
Files changed (1) hide show
  1. game.html +2 -2
game.html CHANGED
@@ -59,7 +59,7 @@ function preload ()
59
  this.load.image('ground', platform_img);
60
  this.load.image('star', star_img);
61
  this.load.image('bomb', bomb_img);
62
- this.load.spritesheet('dude', dude_img, { frameWidth: 32, frameHeight: 48 });
63
  }
64
  function create ()
65
  {
@@ -168,7 +168,7 @@ function hitBomb (player, bomb)
168
  this.events.off();
169
 
170
  });
171
- );
172
  this.input.on('pointerdown', () => this.scene.restart();
173
 
174
  }
 
59
  this.load.image('ground', platform_img);
60
  this.load.image('star', star_img);
61
  this.load.image('bomb', bomb_img);
62
+ this.load.spritesheet('dude', dude_img, {frameWidth: 32, frameHeight: 48 });
63
  }
64
  function create ()
65
  {
 
168
  this.events.off();
169
 
170
  });
171
+
172
  this.input.on('pointerdown', () => this.scene.restart();
173
 
174
  }