新增无摩擦模式(隐藏,入口位于设置语音处立绘)

This commit is contained in:
MrZ626
2021-06-01 14:34:04 +08:00
parent cd00b2f1cd
commit 762a2a907e
10 changed files with 51 additions and 4 deletions

View File

@@ -0,0 +1,31 @@
return{
color=COLOR.green,
env={
drop=0,lock=120,
nextCount=3,
das=0,arr=0,
dropPiece=function(P)if P.stat.row>=40 then P:win('finish')end end,
bg='aura',bgm='waterfall',
},
load=function()
PLY.newPlayer(1)
end,
mesDisp=function(P)
setFont(55)
local r=40-P.stat.row
if r<0 then r=0 end
mStr(r,69,265)
PLY.draw.drawTargetLine(P,r)
end,
getRank=function(P)
if P.stat.row<40 then return end
local T=P.stat.time
return
T<=40 and 5 or
T<=50 and 4 or
T<=70 and 3 or
T<=100 and 2 or
T<=150 and 1 or
0
end,
}