From ec6436a43f06e40c957509ab7cf05a4b3359163f Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Wed, 3 Mar 2021 22:09:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B8=E6=88=8F=E8=AE=BE=E7=BD=AE=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E7=9A=AE=E8=82=A4=E9=A2=84=E8=A7=88=E5=B9=B3=E6=BB=91?= =?UTF-8?q?=E8=BF=87=E6=B8=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/setting_game.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/parts/scenes/setting_game.lua b/parts/scenes/setting_game.lua index 00e471ab..0cd3c8ae 100644 --- a/parts/scenes/setting_game.lua +++ b/parts/scenes/setting_game.lua @@ -11,8 +11,12 @@ function scene.sceneBack() end function scene.draw() + local t=TIME() + local b=int(t*2)%16+1 gc.setColor(1,1,1) - gc.draw(SKIN.curText[int(TIME()*2)%16+1],710,540,TIME()%6.28319,2,nil,15,15) + gc.draw(SKIN.curText[b],710,540,t%6.28319,2,nil,15,15) + gc.setColor(1,1,1,t*2%1) + gc.draw(SKIN.curText[b%16+1],710,540,t%6.28319,2,nil,15,15) end scene.widgetList={