隐型模式背景的模电变暗,并且会随着场地晃动运动

This commit is contained in:
MrZ626
2021-05-31 03:07:10 +08:00
parent 2b05efb0ff
commit 2197af2799
4 changed files with 20 additions and 8 deletions

View File

@@ -22,8 +22,11 @@ return{
setFont(75)
mStr(P.stat.row,69,220)
mStr(P.stat.clears[4],69,340)
gc.setColor(1,1,1,.2)
gc.draw(IMG.electric,124,106,0,2.6)
gc.push('transform')
PLY.draw.applyFieldOffset(P)
gc.setColor(1,1,1,.1)
gc.draw(IMG.electric,0,106,0,2.6)
gc.pop()
end,
score=function(P)return{min(P.stat.row,200),P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..STRING.time(D[2])end,

View File

@@ -23,8 +23,11 @@ return{
setFont(75)
mStr(P.stat.row,69,220)
mStr(P.stat.clears[4],69,340)
gc.setColor(1,1,1,.2)
gc.draw(IMG.electric,124,106,0,2.6)
gc.push('transform')
PLY.draw.applyFieldOffset(P)
gc.setColor(1,1,1,.1)
gc.draw(IMG.electric,0,106,0,2.6)
gc.pop()
end,
score=function(P)return{min(P.stat.row,200),P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..STRING.time(D[2])end,

View File

@@ -19,8 +19,11 @@ return{
setFont(75)
mStr(P.stat.row,69,220)
mStr(P.stat.clears[4],69,340)
gc.setColor(1,1,1,.2)
gc.draw(IMG.electric,124,106,0,2.6)
gc.push('transform')
PLY.draw.applyFieldOffset(P)
gc.setColor(1,1,1,.1)
gc.draw(IMG.electric,0,106,0,2.6)
gc.pop()
end,
score=function(P)return{min(P.stat.row,200),P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..STRING.time(D[2])end,

View File

@@ -22,8 +22,11 @@ return{
setFont(75)
mStr(P.stat.row,69,220)
mStr(P.stat.clears[4],69,340)
gc.setColor(1,1,1,.2)
gc.draw(IMG.electric,124,106,0,2.6)
gc.push('transform')
PLY.draw.applyFieldOffset(P)
gc.setColor(1,1,1,.1)
gc.draw(IMG.electric,0,106,0,2.6)
gc.pop()
end,
score=function(P)return{min(P.stat.row,100),P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..STRING.time(D[2])end,