优化重开的操作提示和显示

This commit is contained in:
MrZ626
2020-09-09 11:49:59 +08:00
parent b387cdc72d
commit a8130ebbe9
5 changed files with 17 additions and 12 deletions

View File

@@ -1932,10 +1932,6 @@ do--play
--Warning
gc.push("transform")
gc.origin()
if restartCount>0 then
gc.setColor(0,0,0,restartCount*.05)
gc.rectangle("fill",0,0,scr.w,scr.h)
end
if game.warnLVL>0 then
gc.setColor(0,0,0,0)
SHADER.warning:send("level",game.warnLVL)
@@ -1943,6 +1939,10 @@ do--play
gc.rectangle("fill",0,0,scr.w,scr.h)
gc.setShader()
end
if restartCount>0 then
gc.setColor(0,0,0,restartCount*.05)
gc.rectangle("fill",0,0,scr.w,scr.h)
end
gc.pop()
end
end