From 186f18f4d248bec66c06289a6e51d254b04901c8 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Tue, 17 Aug 2021 02:21:54 +0800 Subject: [PATCH] =?UTF-8?q?tas=E6=A8=A1=E5=BC=8F=E4=B8=8B=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E4=BC=9A=E6=9C=89TAS=E5=A4=A7=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/game.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/parts/scenes/game.lua b/parts/scenes/game.lua index c2974a15..0c42efe2 100644 --- a/parts/scenes/game.lua +++ b/parts/scenes/game.lua @@ -315,6 +315,7 @@ function scene.update(dt) end end +local tasText=gc.newText(getFont(100),"TAS") local function drawAtkPointer(x,y) local t=TIME() local a=t*3%1*.8 @@ -327,6 +328,15 @@ local function drawAtkPointer(x,y) gc.circle('line',x,y,30*(1+a),6) end function scene.draw() + if GAME.tasUsed then + gc.push('transform') + gc.scale(4) + setFont(100) + gc.setColor(.4,.4,.4,.5) + gc.draw(tasText,72,20) + gc.pop() + end + local repMode=GAME.replaying --Players