整理代码

This commit is contained in:
MrZ626
2021-08-28 23:23:51 +08:00
parent 3a2b531d4c
commit 7eb243a18f
2 changed files with 4 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ local multiple=GC.DO{15,15,
{'line',2,2,12,12},
{'line',2,12,12,2},
}
local playerBoarder=GC.DO{334,620,
local playerborder=GC.DO{334,620,
{'setLW',2},
{'setCL',.97,.97,.97},
{'dRect',16,1,302,618,5},
@@ -832,7 +832,7 @@ function draw.norm(P,repMode)
gc_pop()
--Draw Frame and buffers
gc_setColor(P.frameColor)
gc_draw(playerBoarder,-17,-12)
gc_draw(playerborder,-17,-12)
_drawBuffer(P.atkBuffer,ENV.bufferWarn,P.atkBufferSum1,P.atkBufferSum)
_drawB2Bbar(P.b2b,P.b2b1)
_drawLDI(ENV.easyFresh,P.lockDelay/ENV.lock,P.freshTime)
@@ -919,7 +919,7 @@ function draw.small(P)
end end
end
--Draw boarder
--Draw border
if P.alive then
gc_setLineWidth(2)
gc_setColor(P.frameColor)

View File

@@ -466,7 +466,7 @@ function scene.draw()
local d=25-prevSpawnTime*25
rectangle('line',x*160+163-d,y*160-117-d,154+2*d,154+2*d,15)
--Touch control boarder line
--Touch control border line
if tapControl then
gc.setLineWidth(6)
setColor(1,1,1,.2)