整理代码习惯,常量字符串改用单引号,可能有遗漏

This commit is contained in:
MrZ626
2021-04-30 01:00:22 +08:00
parent 7676f32cf2
commit eda6c0d746
213 changed files with 2503 additions and 2499 deletions

View File

@@ -13,8 +13,8 @@ scene.touchDown=NULL
function scene.update(dt)
timer=timer-dt*.8
if timer<0 then
SFX.play("click")
SCN.swapTo("game","none")
SFX.play('click')
SCN.swapTo('game','none')
end
end
@@ -26,14 +26,14 @@ function scene.draw()
--Gray screen cover
gc.setColor(.15,.15,.15,timer*1.26)
gc.push("transform")
gc.push('transform')
gc.origin()
gc.rectangle("fill",0,0,SCR.w,SCR.h)
gc.rectangle('fill',0,0,SCR.w,SCR.h)
gc.pop()
--Pie counter
gc.setColor(1,1,1,4*(1-timer))
gc.arc("fill","pie",640,360,160,-1.5708,timer*6.2832-1.5708)
gc.arc('fill','pie',640,360,160,-1.5708,timer*6.2832-1.5708)
end
return scene