新增模式环境变量maxOver,允许超屏最大高度可以调整
This commit is contained in:
@@ -31,7 +31,7 @@ return{
|
||||
drop=60,lock=60,
|
||||
wait=0,fall=0,
|
||||
bone=false,
|
||||
fieldH=20,
|
||||
fieldH=20,maxOver=20,
|
||||
nextCount=6,nextStartPos=1,
|
||||
holdCount=1,infHold=false,phyHold=false,
|
||||
ospin=true,deepDrop=false,
|
||||
|
||||
@@ -275,7 +275,7 @@ function Player:garbageRise(color,amount,line)--Release n-lines garbage to field
|
||||
_=self.dropFX[i]
|
||||
_[3],_[5]=_[3]+amount,_[5]+amount
|
||||
end
|
||||
if #self.field>42 then self:lose()end
|
||||
if #self.field>self.gameEnv.fieldH+self.gameEnv.maxOver then self:lose()end
|
||||
end
|
||||
|
||||
local invList={2,1,4,3,5,6,7}
|
||||
|
||||
Reference in New Issue
Block a user