整理代码
This commit is contained in:
@@ -44,7 +44,7 @@ local multiple=GC.DO{15,15,
|
|||||||
{'line',2,2,12,12},
|
{'line',2,2,12,12},
|
||||||
{'line',2,12,12,2},
|
{'line',2,12,12,2},
|
||||||
}
|
}
|
||||||
local playerBoarder=GC.DO{334,620,
|
local playerborder=GC.DO{334,620,
|
||||||
{'setLW',2},
|
{'setLW',2},
|
||||||
{'setCL',.97,.97,.97},
|
{'setCL',.97,.97,.97},
|
||||||
{'dRect',16,1,302,618,5},
|
{'dRect',16,1,302,618,5},
|
||||||
@@ -832,7 +832,7 @@ function draw.norm(P,repMode)
|
|||||||
gc_pop()
|
gc_pop()
|
||||||
--Draw Frame and buffers
|
--Draw Frame and buffers
|
||||||
gc_setColor(P.frameColor)
|
gc_setColor(P.frameColor)
|
||||||
gc_draw(playerBoarder,-17,-12)
|
gc_draw(playerborder,-17,-12)
|
||||||
_drawBuffer(P.atkBuffer,ENV.bufferWarn,P.atkBufferSum1,P.atkBufferSum)
|
_drawBuffer(P.atkBuffer,ENV.bufferWarn,P.atkBufferSum1,P.atkBufferSum)
|
||||||
_drawB2Bbar(P.b2b,P.b2b1)
|
_drawB2Bbar(P.b2b,P.b2b1)
|
||||||
_drawLDI(ENV.easyFresh,P.lockDelay/ENV.lock,P.freshTime)
|
_drawLDI(ENV.easyFresh,P.lockDelay/ENV.lock,P.freshTime)
|
||||||
@@ -919,7 +919,7 @@ function draw.small(P)
|
|||||||
end end
|
end end
|
||||||
end
|
end
|
||||||
|
|
||||||
--Draw boarder
|
--Draw border
|
||||||
if P.alive then
|
if P.alive then
|
||||||
gc_setLineWidth(2)
|
gc_setLineWidth(2)
|
||||||
gc_setColor(P.frameColor)
|
gc_setColor(P.frameColor)
|
||||||
|
|||||||
@@ -466,7 +466,7 @@ function scene.draw()
|
|||||||
local d=25-prevSpawnTime*25
|
local d=25-prevSpawnTime*25
|
||||||
rectangle('line',x*160+163-d,y*160-117-d,154+2*d,154+2*d,15)
|
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
|
if tapControl then
|
||||||
gc.setLineWidth(6)
|
gc.setLineWidth(6)
|
||||||
setColor(1,1,1,.2)
|
setColor(1,1,1,.2)
|
||||||
|
|||||||
Reference in New Issue
Block a user