27 lines
673 B
Lua
27 lines
673 B
Lua
local dropSpeed={50,40,30,24,18,13,9,6,4,3,2,2,1,1,.5,.5,.5,.25,.25}
|
|
|
|
return
|
|
{
|
|
drop=60,
|
|
wait=8,
|
|
fall=20,
|
|
mesDisp=function(P)
|
|
PLY.draw.drawProgress(P.stat.row,P.modeData.target)
|
|
PLY.draw.drawTargetLine(P,200-P.stat.row)
|
|
end,
|
|
task=function(P)
|
|
P.modeData.target=10
|
|
end,
|
|
hook_drop=function(P)
|
|
if P.stat.row>=P.modeData.target then
|
|
if P.modeData.target==200 then
|
|
P:win('finish')
|
|
else
|
|
P.gameEnv.drop=dropSpeed[P.modeData.target/10]
|
|
P.modeData.target=P.modeData.target+10
|
|
SFX.play('reach')
|
|
end
|
|
end
|
|
end
|
|
}
|