整理代码,略微提升部分小程序的性能

This commit is contained in:
MrZ626
2021-09-21 00:27:27 +08:00
parent 1d30623222
commit 6f715a663a
17 changed files with 39 additions and 40 deletions

View File

@@ -151,10 +151,10 @@ end
function scene.draw()
--Draw score
setFont(100)
gc.setColor(.4,.4,.4)
mStr(p1.score,470,20)
mStr(p2.score,810,20)
FONT.get(100)
GC.mStr(p1.score,470,20)
GC.mStr(p2.score,810,20)
--Draw boundary
gc.setColor(COLOR.Z)