Remove the first monster
[ld40.git] / ld40.js
diff --git a/ld40.js b/ld40.js
index 2c8a2b0..892e1b1 100644 (file)
--- a/ld40.js
+++ b/ld40.js
             nexttime_determination = Math.random() * WAIT_DETERMINATION;
 
             monsters = game.add.group();
-            monsters.add(new Monster(400, 500));
-            monsters.children.forEach(function(monster) { monster.enablePhysics(); });
-            nexttime_monsterspawn = WAIT_MONSTERSPAWN;
+            nexttime_monsterspawn = WAIT_MONSTERSPAWN / 4;
 
             player = new Player(game.world.width / 2, game.world.height / 2);
             player.enablePhysics();