整理代码,调整大量场景内绘图用的纯白色和纯黑色

This commit is contained in:
MrZ626
2021-08-06 19:16:01 +08:00
parent e6f5723ecc
commit b501cd374b
32 changed files with 91 additions and 90 deletions

View File

@@ -201,7 +201,7 @@ end
function scene.draw()
--Draw mode
gc.setColor(1,1,1)
gc.setColor(COLOR.Z)
setFont(50)
mStr(modeName[mode],155,380)
@@ -213,7 +213,7 @@ function scene.draw()
setFont(45)
gc.setColor(1,.6,.6)
mStr(("%.2f"):format(maxSpeed/60),155,460)
gc.setColor(1,1,1)
gc.setColor(COLOR.Z)
mStr(("%.2f"):format(speed/60),155,520)
--Progress time list
@@ -224,7 +224,7 @@ function scene.draw()
end
--Draw time
gc.setColor(1,1,1)
gc.setColor(COLOR.Z)
setFont(45)
gc.print(("%.3f"):format(time),1030,70)
end
@@ -245,7 +245,7 @@ function scene.draw()
gc.pop()
--Draw track line
gc.setColor(0,0,0)
gc.setColor(COLOR.D)
gc.setLineWidth(2)
for x=1,5 do
x=130+170*x