From 6cc0b262be878b05d9e04cbc4cd34ea281962de0 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Thu, 3 Sep 2020 22:29:58 +0800 Subject: [PATCH] =?UTF-8?q?debug=E6=A8=A1=E5=BC=8F=E4=B8=8B=E5=B8=A7?= =?UTF-8?q?=E9=97=B4=E9=9A=94=E6=98=BE=E7=A4=BA=E4=BD=8D=E7=BD=AE=E5=92=8C?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=EF=BC=8C=E9=9D=9E=E7=89=B9=E6=AE=8A=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E9=94=AEfallback=E5=88=B0=E6=99=AE=E9=80=9A=E6=8C=89?= =?UTF-8?q?=E9=94=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/init.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Zframework/init.lua b/Zframework/init.lua index 13bc9132..9692a6f3 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -228,7 +228,10 @@ function love.keypressed(i) elseif i=="'"then W.h=W.h+10 elseif i=="["then W.font=W.font-1 elseif i=="]"then W.font=W.font+1 + else goto NORMAL end + else + goto NORMAL end else goto NORMAL @@ -518,8 +521,9 @@ function love.run() gc.print("Voices:"..VOC.getCount(),5,_-80) gc.print("Tasks:"..TASK.getCount(),5,_-100) ins(frameTimeList,1,dt)rem(frameTimeList,126) + gc.setColor(1,1,1,.3) for i=1,#frameTimeList do - gc.rectangle("fill",900+2*i,_,2,-frameTimeList[i]*4000) + gc.rectangle("fill",150+2*i,_,2,-frameTimeList[i]*4000) end if devMode==3 then WAIT(.1) elseif devMode==4 then WAIT(.5)