From 5978a80b46cb1d5d22590a84609453c9be835ade Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Thu, 19 Aug 2021 17:05:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=89=88=E9=9D=A2=E9=81=AE?= =?UTF-8?q?=E6=8C=A1=E4=BD=8D=E7=BD=AE=E9=94=99=E8=AF=AF=E5=B9=B6=E6=8A=8A?= =?UTF-8?q?=E9=81=AE=E6=8C=A1=E5=8C=BA=E5=9F=9F=E6=94=B9=E4=B8=BA=E7=81=B0?= =?UTF-8?q?=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/player/draw.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/parts/player/draw.lua b/parts/player/draw.lua index c80ea2d1..a4f46e62 100644 --- a/parts/player/draw.lua +++ b/parts/player/draw.lua @@ -25,9 +25,9 @@ local attackColor={ {COLOR.dG,COLOR.C}, } local hideBoardStencil={ - up=function()gc_rectangle('fill',0,0,300,300)end, - down=function()gc_rectangle('fill',0,300,300,300)end, - all=function()gc_rectangle('fill',0,0,300,600)end, + up=function()gc_rectangle('fill',0,-600,300,300,6)end, + down=function()gc_rectangle('fill',0,-300,300,300,6)end, + all=function()gc_rectangle('fill',0,-600,300,600,6)end, } local dialFrame=GC.DO{80,80, {'setLW',3}, @@ -815,8 +815,9 @@ function draw.norm(P,repMode) alpha=1 end for i=0,24 do - gc_setColor(COLOR.rainbow_gray(t*.626+i*.1,alpha)) - gc_line(20*i-190,-2,20*i+10,602) + local l=.32+.05*sin(i*.26+t*.2) + gc_setColor(l,l,l,alpha) + gc_line(20*i-190,-602,20*i+10,2) end end gc_translate(0,-600)