From 8950cf9533a0099c7c87bbaa0a2b229db59c7ed1 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Wed, 11 Aug 2021 21:20:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=BA=E5=9C=B0=E9=A1=B6?= =?UTF-8?q?=E7=BA=BF=E4=B9=8B=E4=B8=8A=E7=9A=84=E7=BA=A2=E8=89=B2=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E7=BB=98=E5=88=B6=E8=8C=83=E5=9B=B4=E4=B8=8D=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=20close=20#191=20=E7=95=A5=E5=BE=AE=E5=87=8F=E5=B0=8F?= =?UTF-8?q?=E8=AF=A5=E7=BA=A2=E8=89=B2=E5=8C=BA=E5=9F=9F=E9=80=8F=E6=98=8E?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/player/draw.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/parts/player/draw.lua b/parts/player/draw.lua index a802e1d8..7c5618cb 100644 --- a/parts/player/draw.lua +++ b/parts/player/draw.lua @@ -683,8 +683,10 @@ function draw.norm(P) local fieldTop=-ENV.fieldH*30 --Draw dangerous area - gc_setColor(1,0,0,.3) - gc_rectangle('fill',0,fieldTop,300,-10-camDY) + if fieldTop-camDY<610 then + gc_setColor(1,0,0,.26) + gc_rectangle('fill',0,fieldTop,300,-10-camDY-(600-fieldTop)) + end --Draw field drawField(P,replaying)