This commit is contained in:
33333-33333 2026-07-01 14:41:05 +09:00
commit 4d3fc2cd47
84 changed files with 3429 additions and 3480 deletions

View file

@ -328,7 +328,6 @@
if (!b || !this.world?.nestBoxEntryPoint) {
this._nestBoxExitSmoothUntil = -Infinity;
this._nestBoxExitDuration = 0;
this._nestBoxExitBoxId = "";
return false;
}
const inner = this.world?.nestBoxInnerPoint ? this.world.nestBoxInnerPoint(b, this) : { x: b.x, y: b.y };
@ -346,7 +345,6 @@
this._nestBoxExitEndY = Number.isFinite(exit.y) ? exit.y : this._nestBoxExitDoorY;
this._nestBoxExitDuration = 0.58;
this._nestBoxExitSmoothUntil = now + this._nestBoxExitDuration;
this._nestBoxExitBoxId = b.id || "";
this.nestFade = Math.max(this.nestFade || 0, 0.96);
return true;
},
@ -385,7 +383,6 @@
this.nestFade = 0;
this._nestBoxExitSmoothUntil = -Infinity;
this._nestBoxExitDuration = 0;
this._nestBoxExitBoxId = "";
this._nestBoxExitStartX = this._nestBoxExitStartY = this._nestBoxExitDoorX = this._nestBoxExitDoorY = this._nestBoxExitEndX = this._nestBoxExitEndY = NaN;
}
return true;