This commit is contained in:
33333-33333 2026-07-18 22:15:26 +09:00
commit d163ceb291
76 changed files with 1385 additions and 524 deletions

View file

@ -275,8 +275,12 @@ function tarinaiSpriteReversesFacing(sprite) {
drawH *= 1.32;
}
if (sprite === "birth_ritual") {
drawW *= 0.64;
drawH *= 0.64;
// The ritual source image has a larger source canvas than ordinary tarinai
// sprites. Normalize its displayed bounds to the regular smile sprite so
// entering the ritual does not make the actor visibly grow.
const normalMetrics = getImageMetrics("smile") || { w: 512, h: 468 };
drawW = (normalMetrics.w || 512) * visualScale * 0.30;
drawH = (normalMetrics.h || 468) * visualScale * 0.30;
}
if (fallPose > 0) {
drawW *= 1 + fallPose * 0.08;