labs 2/6 done
tech: chain reaction - blocks caught in explosions, explode
tech: shock wave reduces explosion damage by 30% (was 40%)
slime hazards now draw themselves in hazard.query()
I updated all the maps to remove hazard.draw()
but maybe I missed one let me know if you find a buggy slime
laser hazards also draw themselves in hazard.opticalQuery()
2/6 rooms for new level.labs() are completed
This commit is contained in:
@@ -41,8 +41,8 @@ function playerOnGroundCheck(event) {
|
||||
m.yOff = m.yOffWhen.jump;
|
||||
m.hardLandCD = m.cycle + Math.min(momentum / 6.5 - 6, 40)
|
||||
//falling damage
|
||||
if (tech.isFallingDamage && m.immuneCycle < m.cycle) {
|
||||
m.damage(Math.min(Math.sqrt(momentum - 123) * 0.01, 0.25));
|
||||
if (tech.isFallingDamage && m.immuneCycle < m.cycle && momentum > 150) {
|
||||
m.damage(Math.min(Math.sqrt(momentum - 133) * 0.01, 0.25));
|
||||
m.immuneCycle = m.cycle + tech.collisionImmuneCycles; //player is immune to damage for 30 cycles
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user