explosions balance, added pulse gun, harmonic field balance

This commit is contained in:
landgreen
2019-12-21 10:01:38 -08:00
parent a3fa842d53
commit f48cd896f2
5 changed files with 718 additions and 508 deletions

View File

@@ -900,9 +900,9 @@ const spawn = {
let me = mob[mob.length - 1];
me.stroke = "transparent";
me.onHit = function () {
this.explode();
this.explode(this.mass * 10);
};
Matter.Body.setDensity(me, 0.001); //normal is 0.001
Matter.Body.setDensity(me, 0.0001); //normal is 0.001
me.timeLeft = 240;
me.g = 0.001; //required if using 'gravity'
me.frictionAir = 0;