优化堆叠模式体验,微调难度和评级

This commit is contained in:
MrZ626
2021-11-02 20:15:23 +08:00
parent 111d4e991f
commit 4991e8cea2
6 changed files with 40 additions and 10 deletions

View File

@@ -0,0 +1,20 @@
return{
fillClear=false,
mesDisp=function(P)
setFont(60)
mStr(P.stat.row,63,280)
mText(TEXTOBJ.line,63,350)
end,
dropPiece=function(P)
if #P.field>P.gameEnv.fieldH then
local cc=P:clearFilledLines(P.garbageBeneath+1,#P.field-P.garbageBeneath)
local h=math.ceil((P.gameEnv.fieldH-cc-P.garbageBeneath)/2)
if h>0 then
P:garbageRise(21,h,2e10-1)
if P.garbageBeneath>=P.gameEnv.fieldH then
P:lose()
end
end
end
end,
}