sticky mines

mines are sticky
some mods trigger effects on pickup
This commit is contained in:
landgreen
2020-01-11 08:48:40 -08:00
parent 9c2433d50d
commit 7068a48903
9 changed files with 428 additions and 247 deletions

View File

@@ -16,7 +16,7 @@ const level = {
// game.difficulty = 6; //for testing to simulate possible mobs spawns
// b.giveGuns(10)
// mech.setField(3)
// b.giveMod(16);
// b.giveMod(3);
level.intro(); //starting level
// level.testingMap();
@@ -37,9 +37,12 @@ const level = {
game.setZoom();
level.addToWorld(); //add bodies to game engine
game.draw.setPaths();
for (let i = 0; i < b.modGuardianCount; i++) {
for (let i = 0; i < b.modLaserBotCount; i++) {
b.guardian()
}
for (let i = 0; i < b.modNailBotCount; i++) {
b.nailBot()
}
},
isBuildRun: false,
difficultyIncrease(num = 1) {