X-Git-Url: http://git.megabrutal.com/?p=ld40.git;a=blobdiff_plain;f=ld40.js;fp=ld40.js;h=892e1b1d62239d0ec497f90ce9ad7b69bee19f2f;hp=2c8a2b0a3a558e75d53303414420077581d42b26;hb=eef1b7028b56916c6dd0c91e538ebb12cbab13de;hpb=98934c1cc490e5de98fd1f210bbed6618c5c3063 diff --git a/ld40.js b/ld40.js index 2c8a2b0..892e1b1 100644 --- a/ld40.js +++ b/ld40.js @@ -257,9 +257,7 @@ 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();