nano-scale disable field
power up boss no longer slows down after each time you kill it holding down the field button will stop nano-scale field from converting energy into bullets energy costs have been increased a bit nano scale can now use mod - supercapacitor
This commit is contained in:
@@ -540,8 +540,13 @@ const spawn = {
|
||||
me.onDeath = function() {
|
||||
this.leaveBody = false;
|
||||
this.dropPowerUp = false;
|
||||
|
||||
if (vertices > 3) spawn.powerUpBoss(this.position.x, this.position.y, vertices - 1)
|
||||
if (vertices > 3) {
|
||||
spawn.powerUpBoss(this.position.x, this.position.y, vertices - 1)
|
||||
Matter.Body.setVelocity(mob[mob.length - 1], {
|
||||
x: this.velocity.x,
|
||||
y: this.velocity.y
|
||||
})
|
||||
}
|
||||
for (let i = 0; i < powerUp.length; i++) {
|
||||
powerUp[i].collisionFilter.mask = cat.map | cat.powerUp
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user