游戏内时间和真实时间独立计算

This commit is contained in:
MrZ626
2020-12-01 22:01:00 +08:00
parent e8d9cb74ad
commit 79e6477338
74 changed files with 121 additions and 116 deletions

View File

@@ -64,7 +64,7 @@ return{
mStr((P.modeData.event+1)*100,69,440)
gc.rectangle("fill",25,445,90,4)
end,
score=function(P)return{P.modeData.point,P.stat.time}end,
score=function(P)return{P.modeData.point,P.stat.frame/60}end,
scoreDisp=function(D)return D[1].."P "..toTime(D[2])end,
comp=function(a,b)
return a[1]>b[1]or(a[1]==b[1]and a[2]<b[2])
@@ -72,7 +72,7 @@ return{
getRank=function(P)
local S=P.modeData.point
if S==500 then
local T=P.stat.time
local T=P.stat.frame/60
return
T<=170 and 5 or
T<=200 and 4 or