ultra模式倒计时改为帧数
This commit is contained in:
@@ -11,7 +11,7 @@ return{
|
||||
P.modeData.stage=1
|
||||
while true do
|
||||
YIELD()
|
||||
if P.stat.time>=warnTime[P.modeData.stage]then
|
||||
if P.stat.frame/60>=warnTime[P.modeData.stage]then
|
||||
if P.modeData.stage<9 then
|
||||
P.modeData.stage=P.modeData.stage+1
|
||||
SFX.play('ready',.7+P.modeData.stage*.03)
|
||||
@@ -33,7 +33,7 @@ return{
|
||||
mesDisp=function(P)
|
||||
gc.setLineWidth(2)
|
||||
gc.rectangle('line',55,120,32,402)
|
||||
local T=P.stat.time/120
|
||||
local T=P.stat.frame/2
|
||||
gc.setColor(2*T,2-2*T,.2)
|
||||
gc.rectangle('fill',56,521,30,(T-1)*400)
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user