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

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

@@ -48,7 +48,7 @@ function scene.keyDown(key)
end
end
function scene.Tmr()
function scene.update()
local S=sceneTemp
S.t1=S.t1+1
S.t2=S.t2+1
@@ -73,7 +73,7 @@ local titleTransform={
gc.setColor(1,1,1,min(t*.02,1)+rnd()*.2)
end,
}
function scene.Pnt()
function scene.draw()
local S=sceneTemp
local T=(S.t1+110)%300
if T<30 then