jumping bug fix, ceramic plating rebalance, added platforms to aerie level

This commit is contained in:
landgreen
2019-12-06 16:13:26 -08:00
parent dc408dd464
commit 619cdae5ac
5 changed files with 119 additions and 104 deletions

View File

@@ -34,10 +34,10 @@ function playerOnGroundCheck(event) {
let pair = pairs[i];
if (pair.bodyA === jumpSensor) {
mech.standingOn = pair.bodyB; //keeping track to correctly provide recoil on jump
enter();
if (mech.standingOn.alive !== true) enter();
} else if (pair.bodyB === jumpSensor) {
mech.standingOn = pair.bodyA; //keeping track to correctly provide recoil on jump
enter();
if (mech.standingOn.alive !== true) enter();
}
}
mech.numTouching = 0;