优化堆叠模式体验,微调难度和评级
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
return{
|
return{
|
||||||
fillClear=false,
|
fillClear=false,
|
||||||
|
mesDisp=function(P)
|
||||||
|
setFont(60)
|
||||||
|
mStr(P.stat.row,63,280)
|
||||||
|
mText(TEXTOBJ.line,63,350)
|
||||||
|
end,
|
||||||
dropPiece=function(P)
|
dropPiece=function(P)
|
||||||
if #P.field>P.gameEnv.fieldH then
|
if #P.field>P.gameEnv.fieldH then
|
||||||
local cc=P:clearFilledLines(P.garbageBeneath+1,#P.field-P.garbageBeneath)
|
local cc=P:clearFilledLines(P.garbageBeneath+1,#P.field-P.garbageBeneath)
|
||||||
@@ -1,9 +1,14 @@
|
|||||||
return{
|
return{
|
||||||
fillClear=false,
|
fillClear=false,
|
||||||
|
mesDisp=function(P)
|
||||||
|
setFont(60)
|
||||||
|
mStr(P.stat.row,63,280)
|
||||||
|
mText(TEXTOBJ.line,63,350)
|
||||||
|
end,
|
||||||
dropPiece=function(P)
|
dropPiece=function(P)
|
||||||
if #P.field>P.gameEnv.fieldH then
|
if #P.field>P.gameEnv.fieldH then
|
||||||
local cc=P:clearFilledLines(P.garbageBeneath+1,#P.field-P.garbageBeneath)
|
local cc=P:clearFilledLines(P.garbageBeneath+1,#P.field-P.garbageBeneath)
|
||||||
local h=P.gameEnv.fieldH-cc-P.garbageBeneath
|
local h=P.gameEnv.fieldH-cc-P.garbageBeneath-2
|
||||||
if h>0 then
|
if h>0 then
|
||||||
P:garbageRise(21,h,2e10-1)
|
P:garbageRise(21,h,2e10-1)
|
||||||
if P.garbageBeneath>=P.gameEnv.fieldH then
|
if P.garbageBeneath>=P.gameEnv.fieldH then
|
||||||
20
parts/eventsets/stack_u.lua
Normal file
20
parts/eventsets/stack_u.lua
Normal 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=P.gameEnv.fieldH-cc-P.garbageBeneath-3
|
||||||
|
if h>0 then
|
||||||
|
P:garbageRise(21,h,2e10-1)
|
||||||
|
if P.garbageBeneath>=P.gameEnv.fieldH then
|
||||||
|
P:lose()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
}
|
||||||
@@ -6,7 +6,7 @@ return{
|
|||||||
garbageSpeed=30,
|
garbageSpeed=30,
|
||||||
highCam=false,
|
highCam=false,
|
||||||
seqData={1,2,3,4,5,6,7},
|
seqData={1,2,3,4,5,6,7},
|
||||||
eventSet='stack_100',
|
eventSet='stack_e',
|
||||||
bg='blockrain',bgm='there',
|
bg='blockrain',bgm='there',
|
||||||
},
|
},
|
||||||
score=function(P)return{P.stat.row,P.stat.time}end,
|
score=function(P)return{P.stat.row,P.stat.time}end,
|
||||||
@@ -16,10 +16,10 @@ return{
|
|||||||
local L=P.stat.row
|
local L=P.stat.row
|
||||||
return
|
return
|
||||||
L>=200 and 5 or
|
L>=200 and 5 or
|
||||||
L>=180 and 4 or
|
L>=175 and 4 or
|
||||||
L>=160 and 3 or
|
L>=150 and 3 or
|
||||||
L>=130 and 2 or
|
L>=120 and 2 or
|
||||||
L>=100 and 1 or
|
L>=90 and 1 or
|
||||||
L>=70 and 0
|
L>=30 and 0
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ return{
|
|||||||
highCam=false,
|
highCam=false,
|
||||||
garbageSpeed=30,
|
garbageSpeed=30,
|
||||||
seqData={1,2,3,4,5,6,7,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25},
|
seqData={1,2,3,4,5,6,7,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25},
|
||||||
eventSet='stack_50',
|
eventSet='stack_h',
|
||||||
bg='blockrain',bgm='there',
|
bg='blockrain',bgm='there',
|
||||||
},
|
},
|
||||||
score=function(P)return{P.stat.row,P.stat.time}end,
|
score=function(P)return{P.stat.row,P.stat.time}end,
|
||||||
@@ -20,7 +20,7 @@ return{
|
|||||||
L>=70 and 4 or
|
L>=70 and 4 or
|
||||||
L>=60 and 3 or
|
L>=60 and 3 or
|
||||||
L>=50 and 2 or
|
L>=50 and 2 or
|
||||||
L>=40 and 1 or
|
L>=35 and 1 or
|
||||||
L>=20 and 0
|
L>=20 and 0
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
@@ -7,7 +7,7 @@ return{
|
|||||||
highCam=false,
|
highCam=false,
|
||||||
garbageSpeed=30,
|
garbageSpeed=30,
|
||||||
seqData={8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25},
|
seqData={8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25},
|
||||||
eventSet='stack_50',
|
eventSet='stack_u',
|
||||||
bg='blockrain',bgm='there',
|
bg='blockrain',bgm='there',
|
||||||
},
|
},
|
||||||
score=function(P)return{P.stat.row,P.stat.time}end,
|
score=function(P)return{P.stat.row,P.stat.time}end,
|
||||||
|
|||||||
Reference in New Issue
Block a user