From 51304487d9f50828b0a06df43ee5f71937385d4a Mon Sep 17 00:00:00 2001 From: JOJO <1498581755@qq.com> Date: Thu, 6 Aug 2026 02:54:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=9F=E7=A7=8D=E6=8E=A5=E7=BC=9D=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=EF=BC=9A=E8=BA=AB=E4=BD=93=E5=BA=95=E8=BE=B9=E4=B8=8A?= =?UTF-8?q?=E6=8A=AC=E8=87=B3y14=E4=B8=8E=E5=B0=BE=E6=A0=B9=E5=8F=AA?= =?UTF-8?q?=E9=87=8D=E5=90=883px=EF=BC=88=E6=9C=80=E5=A4=A7=E5=8C=96?= =?UTF-8?q?=E9=9C=B2=E5=B0=BE=EF=BC=89=EF=BC=8C=E5=BA=95=E7=BC=98=E5=8A=A0?= =?UTF-8?q?=E5=B0=BE=E8=8A=82=E5=90=8C=E6=AC=BE=E5=B7=A6=E4=BA=AE=E5=8F=B3?= =?UTF-8?q?=E6=9A=97=E6=8F=8F=E8=BE=B9=E4=BD=BF=E6=8E=A5=E7=BC=9D=E8=AF=BB?= =?UTF-8?q?=E4=BD=9C=E7=94=B2=E7=89=87=E7=BC=9D=EF=BC=8C=E8=A1=80=E8=82=89?= =?UTF-8?q?=E5=BA=95=E8=BE=B9=E6=94=B6=E8=87=B3y16=E5=8F=AA=E5=A1=AB?= =?UTF-8?q?=E4=B8=AD=E7=BC=9D=E3=80=82=E4=BB=85=E8=AF=AD=E6=B3=95=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=E9=80=9A=E8=BF=87=EF=BC=8C=E6=9C=AA=E8=BF=90=E8=A1=8C?= =?UTF-8?q?=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- star-raid/js/render.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/star-raid/js/render.js b/star-raid/js/render.js index b1f3b70..23add58 100644 --- a/star-raid/js/render.js +++ b/star-raid/js/render.js @@ -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生长(延长,非新增)