Remove the first monster
[ld40.git] / ld40.js
diff --git a/ld40.js b/ld40.js
index 2c8a2b0a3a558e75d53303414420077581d42b26..892e1b1d62239d0ec497f90ce9ad7b69bee19f2f 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();