master-u模式新增500~1000,新BGM:Secret7th Remix(by 柒栎流星)
This commit is contained in:
BIN
media/BGM/secret7th remix.ogg
Normal file
BIN
media/BGM/secret7th remix.ogg
Normal file
Binary file not shown.
@@ -1,7 +1,7 @@
|
|||||||
local gc=love.graphics
|
local gc=love.graphics
|
||||||
local death_lock={12,11,10,9,8}
|
local death_lock={12,11,10,9,8, 7,7,7,6,6}
|
||||||
local death_wait={10,9,8,7,6}
|
local death_wait={10,9,8,7,6, 6,5,4,4,3}
|
||||||
local death_fall={10,9,8,7,6}
|
local death_fall={10,9,8,7,6, 5,5,4,3,2}
|
||||||
local function score(P)
|
local function score(P)
|
||||||
local D=P.modeData
|
local D=P.modeData
|
||||||
|
|
||||||
@@ -11,6 +11,7 @@ local function score(P)
|
|||||||
if P.combo>7 then s=s+2
|
if P.combo>7 then s=s+2
|
||||||
elseif P.combo>3 then s=s+1
|
elseif P.combo>3 then s=s+1
|
||||||
end
|
end
|
||||||
|
s=s+10
|
||||||
D.pt=D.pt+s
|
D.pt=D.pt+s
|
||||||
|
|
||||||
if D.pt%100==99 then
|
if D.pt%100==99 then
|
||||||
@@ -18,6 +19,7 @@ local function score(P)
|
|||||||
elseif D.pt>=D.target then--Level up!
|
elseif D.pt>=D.target then--Level up!
|
||||||
s=D.target/100
|
s=D.target/100
|
||||||
local E=P.gameEnv
|
local E=P.gameEnv
|
||||||
|
SFX.play('reach')
|
||||||
BG.set(s==1 and'rainbow'or s==2 and'rainbow2'or'lightning')
|
BG.set(s==1 and'rainbow'or s==2 and'rainbow2'or'lightning')
|
||||||
E.lock=death_lock[s]
|
E.lock=death_lock[s]
|
||||||
E.wait=death_wait[s]
|
E.wait=death_wait[s]
|
||||||
@@ -25,16 +27,22 @@ local function score(P)
|
|||||||
E.das=math.floor(6.9-s*.4)
|
E.das=math.floor(6.9-s*.4)
|
||||||
if s==3 then
|
if s==3 then
|
||||||
E.bone=true
|
E.bone=true
|
||||||
end
|
elseif s==5 then
|
||||||
|
if P.stat.frame>146*60 then
|
||||||
if s==5 then
|
D.pt=500
|
||||||
D.pt=500
|
P:win('finish')
|
||||||
|
return
|
||||||
|
else
|
||||||
|
P.gameEnv.freshLimit=10
|
||||||
|
BGM.play('secret7th remix')
|
||||||
|
end
|
||||||
|
elseif s==10 then
|
||||||
|
D.pt=1000
|
||||||
P:win('finish')
|
P:win('finish')
|
||||||
else
|
return
|
||||||
D.target=D.target+100
|
|
||||||
P:showTextF(text.stage:gsub("$1",s),0,-120,80,'fly')
|
|
||||||
end
|
end
|
||||||
SFX.play('reach')
|
D.target=D.target+100
|
||||||
|
P:showTextF(text.stage:gsub("$1",s),0,-120,80,'fly')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -72,18 +80,12 @@ return{
|
|||||||
end,
|
end,
|
||||||
getRank=function(P)
|
getRank=function(P)
|
||||||
local S=P.modeData.pt
|
local S=P.modeData.pt
|
||||||
if S==500 then
|
return
|
||||||
local T=P.stat.time
|
S>=1000 and 5 or
|
||||||
return
|
S>=800 and 4 or
|
||||||
T<=118 and 5 or
|
S>=500 and 3 or
|
||||||
T<=148 and 4 or
|
|
||||||
T<=183 and 3 or
|
|
||||||
2
|
|
||||||
else
|
|
||||||
return
|
|
||||||
S>=300 and 2 or
|
S>=300 and 2 or
|
||||||
S>=100 and 1 or
|
S>=100 and 1 or
|
||||||
S>=50 and 0
|
S>=50 and 0
|
||||||
end
|
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
@@ -15,6 +15,7 @@ local author={
|
|||||||
empty="ERM",
|
empty="ERM",
|
||||||
["how feeling"]="????",
|
["how feeling"]="????",
|
||||||
moonbeam="Beethoven & MrZ",
|
moonbeam="Beethoven & MrZ",
|
||||||
|
["secret7th remix"]="柒栎流星",
|
||||||
}
|
}
|
||||||
|
|
||||||
local scene={}
|
local scene={}
|
||||||
@@ -73,9 +74,9 @@ function scene.draw()
|
|||||||
gc.draw(TEXTURE.title,840,220,nil,.5,nil,580,118)
|
gc.draw(TEXTURE.title,840,220,nil,.5,nil,580,118)
|
||||||
if BGM.nowPlay then
|
if BGM.nowPlay then
|
||||||
local t=TIME()
|
local t=TIME()
|
||||||
setFont(50)
|
setFont(45)
|
||||||
gc.setColor(sin(t*.5)*.2+.8,sin(t*.7)*.2+.8,sin(t)*.2+.8)
|
gc.setColor(sin(t*.5)*.2+.8,sin(t*.7)*.2+.8,sin(t)*.2+.8)
|
||||||
gc.print(BGM.nowPlay,710,500)
|
gc.print(BGM.nowPlay,710,508)
|
||||||
setFont(35)
|
setFont(35)
|
||||||
gc.setColor(1,sin(t*2.6)*.5+.5,sin(t*2.6)*.5+.5)
|
gc.setColor(1,sin(t*2.6)*.5+.5,sin(t*2.6)*.5+.5)
|
||||||
gc.print(author[BGM.nowPlay]or"MrZ",680,465)
|
gc.print(author[BGM.nowPlay]or"MrZ",680,465)
|
||||||
|
|||||||
Reference in New Issue
Block a user