exit animation

exit door has a 1 second delay and animation

reservoir map now has a flipped horizontal chance
map ruins renamed -> pavilion

all the individual !m.isBodiesAsleep are replaced with ones in the main game loop
  this needs extensive bug testing?
    should behave similarly to testing mode, which doesn't have issues
  todo remove the checks from bullets and mobs, do this after update so it can be easy to revert

bug fixes
This commit is contained in:
landgreen
2022-01-18 18:12:04 -08:00
parent 694ff23f61
commit 4b8ecfce40
7 changed files with 473 additions and 339 deletions

View File

@@ -926,7 +926,7 @@ const spawn = {
}
},
cellBoss(x, y, radius = 20, cellID) {
mobs.spawn(x + Math.random(), y + Math.random(), 20, radius * (1 + 1.2 * Math.random()), "rgba(0,100,105,0.4)");
mobs.spawn(x + Math.random(), y + Math.random(), 20, radius * (1 + 1.2 * Math.random()), "rgba(0,80,125,0.3)");
let me = mob[mob.length - 1];
me.stroke = "transparent"
me.isBoss = true;
@@ -3378,7 +3378,7 @@ const spawn = {
// spawn.shield(me, x, y, 1);
Matter.Body.setDensity(me, 0.005); //extra dense //normal is 0.001 //makes effective life much larger
me.damageReduction = 0.1 / (tech.isScaleMobsWithDuplication ? 1 + tech.duplicationChance() : 1)
me.damageReduction = 0.12 / (tech.isScaleMobsWithDuplication ? 1 + tech.duplicationChance() : 1)
me.isBoss = true;
me.onDamage = function() {};
me.onDeath = function() {