原种接缝修正:身体底边上抬至y14与尾根只重合3px(最大化露尾),底缘加尾节同款左亮右暗描边使接缝读作甲片缝,血肉底边收至y16只填中缝。仅语法检查通过,未运行验证

This commit is contained in:
JOJO 2026-08-06 02:54:47 +08:00
parent 4e2f21c598
commit 51304487d9

View File

@ -291,11 +291,12 @@ function drawProgenitor(b,t,fl,tf){ // 太空原种·装甲虫兽tf 0=装甲
circ(swT,tipY+2,1.1,"#ffdfe5");
// —— 壳下血肉(常存于背甲之下,滑开才见;血红,非粉) ——
if(tf>0){ctx.globalAlpha=tf*0.9;
poly([0,-36,9,-29,11,-14,10,2,9,16,8,22,-8,22,-9,16,-10,2,-11,-14,-9,-29],"#c8202e");
px(-2,-30,4,52,"#e8393a");ctx.globalAlpha=1;}
poly([0,-36,9,-29,11,-14,10,2,9,14,7,16,-7,16,-9,14,-10,2,-11,-14,-9,-29],"#c8202e");
px(-2,-30,4,45,"#e8393a");ctx.globalAlpha=1;}
// —— 背甲两瓣沿背脊中线裂开P2向外滑开同一多边形平移 ——
for(const sd of[-1,1]){ctx.save();ctx.translate(sd*tf*7,0);
poly([0,-40,sd*11,-37,sd*15,-28,sd*13,-12,sd*12,4,sd*11,14,sd*10,20,0,20],sd<0?"#c9d6e2":"#9fb0c2");
poly([0,-40,sd*11,-37,sd*15,-28,sd*13,-12,sd*12,4,sd*11,14,0,14],sd<0?"#c9d6e2":"#9fb0c2"); // 末端平边与尾节同材质(#c9d6e2
px(sd<0?-11:0,12,11,2,sd<0?"#e8f0f6":"#8498ac"); // 底缘左亮右暗(与尾节描边一致,接缝读作甲片缝)
poly([0,-40,sd*11,-37,sd*15,-28,sd*7,-26,sd*5,-36],"#e8f0f6"); // 受光斜面
for(let i=0;i<4;i++)px(sd*(4+i*2.8)-1,-24+i*9,2,5,"#5a6c80"); // 甲片板缝
const crk=Math.max(0,Math.min(1,(tf-0.15)/0.4))*10; // 裂纹随tf生长延长非新增