更改场景内更新和绘制的方法名

This commit is contained in:
MrZ626
2020-12-05 12:52:02 +08:00
parent 27d8aac39e
commit f5d4866996
33 changed files with 57 additions and 57 deletions

View File

@@ -39,7 +39,7 @@ function scene.keyDown(k)
end
end
function scene.Tmr(dt)
function scene.update(dt)
local S=sceneTemp
if(kb.isDown("space","return")or tc.getTouches()[1])and S.v<6.26 then
S.v=S.v+.26
@@ -52,7 +52,7 @@ function scene.Tmr(dt)
end
end
function scene.Pnt()
function scene.draw()
local L=text.staff
local t=sceneTemp.time
setFont(40)