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

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

@@ -97,12 +97,12 @@ local function updatePowerInfo()
gc.rectangle('fill',76,6,pow*.22,14)
if pow<100 then
setFont(15)
gc_setColor(0,0,0)
gc.setColor(COLOR.D)
gc_print(pow,77,1)
gc_print(pow,77,3)
gc_print(pow,79,1)
gc_print(pow,79,3)
gc_setColor(1,1,1)
gc_setColor(COLOR.Z)
gc_print(pow,78,2)
end
end
@@ -657,11 +657,11 @@ function love.run()
gc_line(x,0,x,SCR.h)
gc_line(0,y,SCR.w,y)
local t=int(mx+.5)..","..int(my+.5)
gc_setColor(0,0,0)
gc.setColor(COLOR.D)
gc_print(t,x+1,y)
gc_print(t,x+1,y-1)
gc_print(t,x+2,y-1)
gc_setColor(1,1,1)
gc_setColor(COLOR.Z)
gc_print(t,x+2,y)
gc_replaceTransform(SCR.xOy_dr)