coyote time
added 5 cycles of "coyote time" this means you can still jump for 5/60 = 0.1 seconds after leaving the ground let me know if you like the feel this might cause some unexpected bugs, or reduce the difficulty of some platforming levels JUNK tech: NFT - buy your current game seed no one is allow to use your seeds if they use them they are gonna get in trouble removed the pavilion/ruins map to see if it's causing bugs
This commit is contained in:
@@ -72,6 +72,7 @@ function playerOffGroundCheck(event) {
|
||||
if (pairs[i].bodyA === jumpSensor || pairs[i].bodyB === jumpSensor) {
|
||||
if (m.onGround && m.numTouching === 0) {
|
||||
m.onGround = false;
|
||||
m.lastOnGroundCycle = m.cycle;
|
||||
m.hardLandCD = 0 // disable hard landing
|
||||
if (m.checkHeadClear()) {
|
||||
if (m.crouch) {
|
||||
@@ -189,7 +190,7 @@ function collisionChecks(event) {
|
||||
time: simulation.drawTime
|
||||
});
|
||||
}
|
||||
if (tech.isLessDamageReduction && !mob[k].shield) mob[k].damageReduction *= mob[k].isBoss ? 1.005 : 1.05
|
||||
if (tech.isLessDamageReduction && !mob[k].shield) mob[k].damageReduction *= mob[k].isBoss ? 1.0025 : 1.05
|
||||
return;
|
||||
}
|
||||
//mob + body collisions
|
||||
|
||||
Reference in New Issue
Block a user