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

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

@@ -38,7 +38,7 @@ function back.update()
end
function back.draw()
gc.clear(.1,.1,.1)
gc.push("transform")
gc.push('transform')
gc.origin()
gc.translate(SCR.w/2,SCR.h/2)
@@ -52,11 +52,11 @@ function back.draw()
--Blackhole
gc.scale(SCR.rad/1600)
gc.setColor(0,0,0)
gc.circle("fill",0,0,157)
gc.circle('fill',0,0,157)
gc.setLineWidth(6)
for i=0,15 do
gc.setColor(0,0,0,1-i*.0666)
gc.circle("line",0,0,160+6*i)
gc.circle('line',0,0,160+6*i)
end
gc.scale(1600/SCR.rad)
gc.pop()