0.8.16Fantastic Global Update

This commit is contained in:
MrZ_26
2020-04-19 11:50:17 +08:00
parent e88553bc00
commit 7d63386410
103 changed files with 2237 additions and 1702 deletions

View File

@@ -53,14 +53,14 @@ return{
players[1].modeData.event="M7"
end,
mesDisp=function(P,dx,dy)
mDraw(drawableText.line,-81,300)
mDraw(drawableText.techrash,-81,420)
mDraw(drawableText.grade,-81,170)
mText(drawableText.line,-81,300)
mText(drawableText.techrash,-81,420)
mText(drawableText.grade,-81,170)
setFont(55)
mStr(P.modeData.event,-81,110)
setFont(75)
mStr(P.stat.row,-81,220)
mStr(P.stat.clear_4,-81,340)
mStr(P.stat.clear_S[4],-81,340)
end,
score=function(P)return{P.modeData.point,P.stat.score}end,
scoreDisp=function(D)return sectionName[int(D[1]*.1)+1].." "..D[2]end,

View File

@@ -22,7 +22,7 @@ return{
freshLimit=15,
pushSpeed=2,
task=function(P)
if not(P.control and scene.cur=="play")then return end
if not(P.control and SCN.cur=="play")then return end
if P.atkBuffer.sum==0 then
local p=#P.atkBuffer+1
local B,D=P.atkBuffer,P.modeData
@@ -60,8 +60,8 @@ return{
setFont(55)
mStr(P.modeData.event,-81,200)
mStr("24",-81,320)
mDraw(drawableText.wave,-81,260)
mDraw(drawableText.nextWave,-81,380)
mText(drawableText.wave,-81,260)
mText(drawableText.nextWave,-81,380)
end,
score=function(P)return{P.modeData.event,P.stat.time}end,
scoreDisp=function(D)return D[1].." Waves "..toTime(D[2])end,

View File

@@ -21,7 +21,7 @@ return{
fall=8,
freshLimit=15,
task=function(P)
if not(P.control and scene.cur=="play")then return end
if not(P.control and SCN.cur=="play")then return end
if P.atkBuffer.sum<2 then
local p=#P.atkBuffer+1
local B,D=P.atkBuffer,P.modeData
@@ -73,8 +73,8 @@ return{
or P.modeData.event<20 and 25
or 28
,-81,320)
mDraw(drawableText.wave,-81,260)
mDraw(drawableText.nextWave,-81,380)
mText(drawableText.wave,-81,260)
mText(drawableText.nextWave,-81,380)
end,
score=function(P)return{P.modeData.event,P.stat.time}end,
scoreDisp=function(D)return D[1].." Waves "..toTime(D[2])end,

View File

@@ -4,7 +4,7 @@ local function getField()
return F
end
local function newField(P)
end
return{
name={

View File

@@ -29,11 +29,11 @@ return{
newPlayer(1,340,15)
end,
mesDisp=function(P,dx,dy)
mDraw(drawableText.line,-81,300)
mDraw(drawableText.techrash,-81,420)
mText(drawableText.line,-81,300)
mText(drawableText.techrash,-81,420)
setFont(75)
mStr(P.stat.row,-81,220)
mStr(P.stat.clear_4,-81,340)
mStr(P.stat.clear_S[4],-81,340)
end,
score=function(P)return{min(P.stat.row or 200),P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..toTime(D[2])end,

View File

@@ -31,11 +31,11 @@ return{
newPlayer(1,340,15)
end,
mesDisp=function(P,dx,dy)
mDraw(drawableText.line,-81,300)
mDraw(drawableText.techrash,-81,420)
mText(drawableText.line,-81,300)
mText(drawableText.techrash,-81,420)
setFont(75)
mStr(P.stat.row,-81,220)
mStr(P.stat.clear_4,-81,340)
mStr(P.stat.clear_S[4],-81,340)
end,
score=function(P)return{min(P.stat.row or 200),P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..toTime(D[2])end,

View File

@@ -31,11 +31,11 @@ return{
newPlayer(1,340,15)
end,
mesDisp=function(P,dx,dy)
mDraw(drawableText.line,-81,300)
mDraw(drawableText.techrash,-81,420)
mText(drawableText.line,-81,300)
mText(drawableText.techrash,-81,420)
setFont(75)
mStr(P.stat.row,-81,220)
mStr(P.stat.clear_4,-81,340)
mStr(P.stat.clear_S[4],-81,340)
end,
score=function(P)return{min(P.stat.row or 200),P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..toTime(D[2])end,

View File

@@ -30,11 +30,11 @@ return{
newPlayer(1,340,15)
end,
mesDisp=function(P,dx,dy)
mDraw(drawableText.line,-81,300)
mDraw(drawableText.techrash,-81,420)
mText(drawableText.line,-81,300)
mText(drawableText.techrash,-81,420)
setFont(75)
mStr(P.stat.row,-81,220)
mStr(P.stat.clear_4,-81,340)
mStr(P.stat.clear_S[4],-81,340)
end,
score=function(P)return{min(P.stat.row or 200),P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..toTime(D[2])end,
@@ -49,8 +49,8 @@ return{
3
else
return
L>=150 and 3 or
L>=100 and 2 or
L>=126 and 3 or
L>=80 and 2 or
L>=40 and 1 or
L>=1 and 0
end

View File

@@ -32,11 +32,11 @@ return{
newPlayer(1,340,15)
end,
mesDisp=function(P,dx,dy)
mDraw(drawableText.line,-81,300)
mDraw(drawableText.techrash,-81,420)
mText(drawableText.line,-81,300)
mText(drawableText.techrash,-81,420)
setFont(75)
mStr(P.stat.row,-81,220)
mStr(P.stat.clear_4,-81,340)
mStr(P.stat.clear_S[4],-81,340)
end,
score=function(P)return{min(P.stat.row or 200),P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..toTime(D[2])end,

View File

@@ -63,8 +63,8 @@ return{
setFont(45)
mStr(P.combo,-81,310)
mStr(P.modeData.point,-81,400)
mDraw(drawableText.combo,-81,358)
mDraw(drawableText.mxcmb,-81,450)
mText(drawableText.combo,-81,358)
mText(drawableText.mxcmb,-81,450)
end,
score=function(P)return{min(P.modeData.point,100),P.stat.time}end,
scoreDisp=function(D)return D[1].." Combo "..toTime(D[2])end,

View File

@@ -61,8 +61,8 @@ return{
setFont(45)
mStr(P.combo,-81,310)
mStr(P.modeData.point,-81,400)
mDraw(drawableText.combo,-81,358)
mDraw(drawableText.mxcmb,-81,450)
mText(drawableText.combo,-81,358)
mText(drawableText.mxcmb,-81,450)
end,
score=function(P)return{min(P.modeData.point,100),P.stat.time}end,
scoreDisp=function(D)return D[1].." Combo "..toTime(D[2])end,

View File

@@ -12,7 +12,7 @@ local function check_LVup(P)
end
end
end
return{
name={
"高速经典",
@@ -50,7 +50,7 @@ return{
setFont(75)
local r=P.gameEnv.target*.1
mStr(r<11 and 18 or r<22 and r+8 or r==22 and"00"or r==23 and"0a"or format("%x",r*10-220),-81,210)
mDraw(drawableText.speedLV,-81,290)
mText(drawableText.speedLV,-81,290)
setFont(45)
mStr(P.stat.row,-81,320)
mStr(P.gameEnv.target,-81,370)

View File

@@ -54,6 +54,7 @@ return{
P.visTime[y]=freeRow.get(t)
for x=1,10 do P.field[y][x]=preField[y][x]end
end
P.garbageBeneath=preField.h
end
modeEnv.bg=customRange.bg[customSel[12]]
modeEnv.bgm=customRange.bgm[customSel[13]]
@@ -62,7 +63,7 @@ return{
setFont(55)
if P.gameEnv.puzzle or P.gameEnv.target>1e10 then
mStr(P.stat.row,-81,225)
mDraw(drawableText.line,-81,290)
mText(drawableText.line,-81,290)
else
local R=P.gameEnv.target-P.stat.row
mStr(R>=0 and R or 0,-81,240)

View File

@@ -74,7 +74,7 @@ return{
local dx,dy=P.fieldOff.x,P.fieldOff.y
setFont(55)
mStr(P.stat.row,-81,225)
mDraw(drawableText.line,-81,290)
mText(drawableText.line,-81,290)
if P.gameEnv.puzzle and P.modeData.event==0 then
local m=puzzleMark
for y=1,preField.h do for x=1,10 do

View File

@@ -19,10 +19,11 @@ return{
env={
drop=5,lock=60,
fall=6,
next=3,
freshLimit=15,
pushSpeed=2,
task=function(P)
if not(P.control and scene.cur=="play")then return end
if not(P.control and SCN.cur=="play")then return end
P.modeData.counter=P.modeData.counter+1
local t=240-2*P.modeData.event
if P.modeData.counter>=t then
@@ -61,8 +62,8 @@ return{
setFont(55)
mStr(P.modeData.event,-81,200)
mStr(P.modeData.point,-81,320)
mDraw(drawableText.wave,-81,260)
mDraw(drawableText.rpm,-81,380)
mText(drawableText.wave,-81,260)
mText(drawableText.rpm,-81,380)
end,
score=function(P)return{P.modeData.event,P.stat.time}end,
scoreDisp=function(D)return D[1].." Waves "..toTime(D[2])end,

View File

@@ -19,10 +19,11 @@ return{
env={
drop=30,lock=60,
fall=10,
next=3,
freshLimit=15,
pushSpeed=1,
task=function(P)
if not(P.control and scene.cur=="play")then return end
if not(P.control and SCN.cur=="play")then return end
P.modeData.counter=P.modeData.counter+1
local t=360-P.modeData.event*2
if P.modeData.counter>=t then
@@ -61,8 +62,8 @@ return{
setFont(55)
mStr(P.modeData.event,-81,200)
mStr(P.modeData.point,-81,320)
mDraw(drawableText.wave,-81,260)
mDraw(drawableText.rpm,-81,380)
mText(drawableText.wave,-81,260)
mText(drawableText.rpm,-81,380)
end,
score=function(P)return{P.modeData.event,P.stat.time}end,
scoreDisp=function(D)return D[1].." Waves "..toTime(D[2])end,

View File

@@ -21,11 +21,12 @@ return{
fall=20,
freshLimit=15,
task=function(P)
if not(P.control and scene.cur=="play")then return end
if not(P.control and SCN.cur=="play")then return end
local D=P.modeData
D.counter=D.counter+1
if D.counter>=max(90,180-D.event)then
P:garbageRise(10,1,rnd(10))
P.stat.recv=P.stat.recv+1
D.counter=0
D.event=D.event+1
end
@@ -39,7 +40,7 @@ return{
mesDisp=function(P,dx,dy)
setFont(65)
mStr(P.modeData.event,-81,310)
mDraw(drawableText.wave,-81,375)
mText(drawableText.wave,-81,375)
end,
score=function(P)return{P.modeData.event,P.stat.row}end,
scoreDisp=function(D)return D[1].." Waves "..D[2].." Lines"end,

View File

@@ -20,11 +20,12 @@ return{
drop=10,lock=30,
freshLimit=15,
task=function(P)
if not(P.control and scene.cur=="play")then return end
if not(P.control and SCN.cur=="play")then return end
local D=P.modeData
D.counter=D.counter+1
if D.counter>=max(30,80-.3*D.event)then
P:garbageRise(11+D.event%3,1,rnd(10))
P.stat.recv=P.stat.recv+1
D.counter=0
D.event=D.event+1
end
@@ -38,7 +39,7 @@ return{
mesDisp=function(P,dx,dy)
setFont(65)
mStr(P.modeData.event,-81,310)
mDraw(drawableText.wave,-81,375)
mText(drawableText.wave,-81,375)
end,
score=function(P)return{P.modeData.event,P.stat.row}end,
scoreDisp=function(D)return D[1].." Waves "..D[2].." Lines"end,

View File

@@ -40,7 +40,7 @@ return{
local L=P.stat.row
if L>=100 then
local T=P.stat.time
return
return
T<=70 and 5 or
T<=110 and 4 or
T<=160 and 3 or

View File

@@ -40,7 +40,7 @@ return{
local L=P.stat.row
if L>=100 then
local T=P.stat.time
return
return
T<=65 and 5 or
T<=100 and 4 or
T<=145 and 3 or

View File

@@ -10,9 +10,9 @@ return{
"2P",
},
info={
"友尽模式(非联网/局域网)",
"友尽模式(非联网/局域网)",
"End of friendship",
"不是联网也不是局域网",
"不是联网也不是局域网",
"No network\nlocal game only",
},
color=color.white,
env={

View File

@@ -10,9 +10,9 @@ return{
"3P",
},
info={
"友尽模式(非联网/局域网)",
"友尽模式(非联网/局域网)",
"End of friendship",
"不是联网也不是局域网",
"不是联网也不是局域网",
"No network\nlocal game only",
},
color=color.white,
env={

View File

@@ -10,9 +10,9 @@ return{
"4P",
},
info={
"友尽模式(非联网/局域网)",
"友尽模式(非联网/局域网)",
"End of friendship",
"不是联网也不是局域网",
"不是联网也不是局域网",
"No network\nlocal game only",
},
color=color.white,
env={

View File

@@ -28,8 +28,8 @@ return{
setFont(45)
mStr(P.stat.atk,-81,260)
mStr(format("%.2f",P.stat.atk/P.stat.row),-81,370)
mDraw(drawableText.atk,-81,313)
mDraw(drawableText.eff,-81,425)
mText(drawableText.atk,-81,313)
mText(drawableText.eff,-81,425)
end,
score=function(P)return{P.stat.score}end,
scoreDisp=function(D)return tostring(D[1])end,

View File

@@ -1,11 +1,8 @@
local format,rnd=string.format,math.random
local function check_rise(P)
local L=P.clearedRow
for i=1,#L do
if L[i]<6 then
P:garbageRise(10,1,rnd(10))
P.modeData.point=P.modeData.point+1
end
while P.garbageBeneath<6 do
P:garbageRise(10,1,rnd(10))
P.modeData.point=P.modeData.point+1
end
end
@@ -44,9 +41,9 @@ return{
mStr(P.modeData.point,-81,190)
mStr(P.stat.atk,-81,310)
mStr(format("%.2f",P.stat.atk/P.stat.row),-81,420)
mDraw(drawableText.line,-81,243)
mDraw(drawableText.atk,-81,363)
mDraw(drawableText.eff,-81,475)
mText(drawableText.line,-81,243)
mText(drawableText.atk,-81,363)
mText(drawableText.eff,-81,475)
end,
score=function(P)return{P.modeData.point}end,
scoreDisp=function(D)return D[1].." Lines"end,

View File

@@ -34,7 +34,7 @@ return{
env={
noFly=true,
mindas=7,minarr=1,minsdarr=1,
drop=.5,fall=30,
drop=.5,wait=8,fall=20,
target=50,dropPiece=check,
bg="strap",bgm="race",
},

View File

@@ -33,7 +33,7 @@ return{
env={
noFly=true,
minsdarr=1,
fall=30,
wait=8,fall=20,
target=10,dropPiece=check_LVup,
mindas=7,minarr=1,minsdarr=1,
bg="strap",bgm="way",

View File

@@ -16,7 +16,7 @@ local function score(P)
elseif P.modeData.point>=100*(P.modeData.event+1)then
local s=P.modeData.event+1;P.modeData.event=s--level up!
local E=P.gameEnv
curBG=s==1 and"game3"or s==2 and"game4"or s==3 and"game5"or s==4 and"game6"or"game5"
BG.set(s==1 and"game3"or s==2 and"game4"or s==3 and"game5"or s==4 and"game6"or"game5")
E.lock=death_lock[s]
E.wait=death_wait[s]
E.fall=death_fall[s]
@@ -78,7 +78,7 @@ return{
getRank=function(P)
local S=P.modeData.point
if S==500 then
local L=P.stat.clear_4
local L=P.stat.clear_S[4]
return
L>=30 and 5 or
L>=25 and 4 or

View File

@@ -15,7 +15,7 @@ local function score(P)
elseif P.modeData.point>=100*(P.modeData.event+1)then
local s=P.modeData.event+1;P.modeData.event=s--level up!
local E=P.gameEnv
curBG=s==1 and"game1"or s==2 and"game2"or s==3 and"game3"or "game4"
BG.set(s==1 and"game1"or s==2 and"game2"or s==3 and"game3"or "game4")
E.lock=rush_lock[s]
E.wait=rush_wait[s]
E.fall=rush_fall[s]
@@ -82,7 +82,7 @@ return{
getRank=function(P)
local S=P.modeData.point
if S==500 then
local L=P.stat.clear_4
local L=P.stat.clear_S[4]
return
L>=30 and 5 or
L>=25 and 4 or

View File

@@ -35,7 +35,7 @@ return{
setFont(75)
mStr(P.stat.pc,-81,350)
mDraw(drawableText.pc,-81,432)
mText(drawableText.pc,-81,432)
gc.setColor(.5,.5,.5)
if frame>179 then

View File

@@ -35,7 +35,7 @@ return{
setFont(75)
mStr(P.stat.pc,-81,350)
mDraw(drawableText.pc,-81,432)
mText(drawableText.pc,-81,432)
gc.setColor(.5,.5,.5)
if frame>179 then

View File

@@ -34,7 +34,7 @@ return{
setFont(75)
mStr(P.stat.pc,-81,350)
mDraw(drawableText.pc,-81,432)
mText(drawableText.pc,-81,432)
gc.setColor(.5,.5,.5)
if frame>179 then

View File

@@ -6,6 +6,7 @@ local pc_fall={18,16,14,12,10,9,8,7,6}
local PCbase=require("parts/PCbase")
local PClist=require("parts/PClist")
local function task_PC(P)
local _
P.modeData.counter=P.modeData.counter+1
if P.modeData.counter==21 then
local t=P.stat.pc%2
@@ -13,7 +14,7 @@ local function task_PC(P)
for i=1,4 do
local r=freeRow.get(0)
for j=1,10 do
local _=PCbase[4*t+i][j]
_=PCbase[4*t+i][j]
r[j]=S[_]or 0
end
ins(P.field,1,r)
@@ -49,7 +50,7 @@ local function newPC(P)
P:getNext(b)
end
P.modeData.counter=P.stat.piece==0 and 20 or 0
newTask(task_PC,P)
TASK.new(task_PC,P)
local s=P.stat.pc*.5
if int(s)==s and s>0 then
P.gameEnv.drop=pc_drop[s]or 10
@@ -100,7 +101,7 @@ return{
mesDisp=function(P,dx,dy)
setFont(75)
mStr(P.stat.pc,-81,330)
mDraw(drawableText.pc,-81,412)
mText(drawableText.pc,-81,412)
end,
score=function(P)return{P.stat.pc,P.stat.time}end,
scoreDisp=function(D)return D[1].." PCs "..toTime(D[2])end,

View File

@@ -3,6 +3,7 @@ local ins=table.insert
local PCbase=require("parts/PCbase")
local PClist=require("parts/PClist")
local function task_PC(P)
local _
P.modeData.counter=P.modeData.counter+1
if P.modeData.counter==21 then
local t=P.stat.pc%2
@@ -10,7 +11,7 @@ local function task_PC(P)
for i=1,4 do
local r=freeRow.get(0)
for j=1,10 do
local _=PCbase[4*t+i][j]
_=PCbase[4*t+i][j]
r[j]=S[_]or 0
end
ins(P.field,1,r)
@@ -45,7 +46,7 @@ local function newPC(P)
P:getNext(b)
end
P.modeData.counter=P.stat.piece==0 and 20 or 0
newTask(task_PC,P)
TASK.new(task_PC,P)
end
end
return{
@@ -83,7 +84,7 @@ return{
mesDisp=function(P,dx,dy)
setFont(75)
mStr(P.stat.pc,-81,330)
mDraw(drawableText.pc,-81,412)
mText(drawableText.pc,-81,412)
end,
score=function(P)return{P.stat.pc,P.stat.time}end,
scoreDisp=function(D)return D[1].." PCs "..toTime(D[2])end,

View File

@@ -46,7 +46,7 @@ return{
if P.result=="WIN"then
local T=P.stat.piece
return
T<=20 and 5 or
T<=23 and 5 or
T<=26 and 4 or
T<=40 and 3 or
T<=60 and 2 or

View File

@@ -43,7 +43,7 @@ return{
getRank=function(P)
if P.stat.row<10 then return end
local T=P.stat.time
return
return
T<=7 and 5 or
T<=10 and 4 or
T<=25 and 3 or

View File

@@ -43,7 +43,7 @@ return{
getRank=function(P)
if P.stat.row<100 then return end
local T=P.stat.time
return
return
T<=62 and 5 or
T<=90 and 4 or
T<=130 and 3 or

View File

@@ -43,7 +43,7 @@ return{
getRank=function(P)
if P.stat.row<1000 then return end
local T=P.stat.time
return
return
T<=626 and 5 or
T<=1000 and 4 or
T<=1400 and 3 or
@@ -51,4 +51,4 @@ return{
T<=3000 and 1 or
0
end,
}
}

View File

@@ -43,7 +43,7 @@ return{
getRank=function(P)
if P.stat.row<20 then return end
local T=P.stat.time
return
return
T<=13 and 5 or
T<=18 and 4 or
T<=45 and 3 or

View File

@@ -43,7 +43,7 @@ return{
getRank=function(P)
if P.stat.row<40 then return end
local T=P.stat.time
return
return
T<=26 and 5 or
T<=32.6 and 4 or
T<=40 and 3 or

View File

@@ -43,7 +43,7 @@ return{
getRank=function(P)
if P.stat.row<400 then return end
local T=P.stat.time
return
return
T<=255 and 5 or
T<=330 and 4 or
T<=420 and 3 or

View File

@@ -20,7 +20,7 @@ return{
drop=30,lock=45,
freshLimit=10,
task=function(P)
if not(P.control and scene.cur=="play")then return end
if not(P.control and SCN.cur=="play")then return end
P.modeData.counter=P.modeData.counter+1
if P.modeData.counter>=max(60,150-2*P.modeData.event)and P.atkBuffer.sum<4 then
P.atkBuffer[#P.atkBuffer+1]={pos=rnd(10),amount=1,countdown=30,cd0=30,time=0,sent=false,lv=1}
@@ -40,7 +40,7 @@ return{
mesDisp=function(P,dx,dy)
setFont(65)
mStr(P.modeData.event,-81,310)
mDraw(drawableText.wave,-81,375)
mText(drawableText.wave,-81,375)
end,
score=function(P)return{P.modeData.event,P.stat.time}end,
scoreDisp=function(D)return D[1].." Waves "..toTime(D[2])end,

View File

@@ -20,16 +20,17 @@ return{
drop=30,lock=45,
freshLimit=10,
task=function(P)
if not(P.control and scene.cur=="play")then return end
if not(P.control and SCN.cur=="play")then return end
P.modeData.counter=P.modeData.counter+1
if P.modeData.counter>=max(60,180-2*P.modeData.event)and P.atkBuffer.sum<15 then
P.atkBuffer[#P.atkBuffer+1]=
local B=P.atkBuffer
if P.modeData.counter>=max(60,180-2*P.modeData.event)and B.sum<15 then
B[#B+1]=
P.modeData.event%3<2 and
{pos=rnd(10),amount=1,countdown=0,cd0=0,time=0,sent=false,lv=1}
or
{pos=rnd(10),amount=3,countdown=60,cd0=60,time=0,sent=false,lv=2}
local R=(P.modeData.event%3<2 and 1 or 3)
P.atkBuffer.sum=P.atkBuffer.sum+R
B.sum=B.sum+R
P.stat.recv=P.stat.recv+R
if P.modeData.event==60 then P:showTextF(text.maxspeed,0,-140,100,"appear",.6)end
P.modeData.counter=0
@@ -45,7 +46,7 @@ return{
mesDisp=function(P,dx,dy)
setFont(65)
mStr(P.modeData.event,-81,310)
mDraw(drawableText.wave,-81,375)
mText(drawableText.wave,-81,375)
end,
score=function(P)return{P.modeData.event,P.stat.time}end,
scoreDisp=function(D)return D[1].." Waves "..toTime(D[2])end,

View File

@@ -20,7 +20,7 @@ return{
drop=30,lock=45,
freshLimit=10,
task=function(P)
if not(P.control and scene.cur=="play")then return end
if not(P.control and SCN.cur=="play")then return end
P.modeData.counter=P.modeData.counter+1
if P.modeData.counter>=max(60,150-P.modeData.event)and P.atkBuffer.sum<20 then
local t=max(60,90-P.modeData.event)
@@ -41,7 +41,7 @@ return{
mesDisp=function(P,dx,dy)
setFont(65)
mStr(P.modeData.event,-81,310)
mDraw(drawableText.wave,-81,375)
mText(drawableText.wave,-81,375)
end,
score=function(P)return{P.modeData.event,P.stat.time}end,
scoreDisp=function(D)return D[1].." Waves "..toTime(D[2])end,

View File

@@ -20,7 +20,7 @@ return{
drop=30,lock=45,
freshLimit=10,
task=function(P)
if not(P.control and scene.cur=="play")then return end
if not(P.control and SCN.cur=="play")then return end
P.modeData.counter=P.modeData.counter+1
if P.modeData.counter>=max(90,180-2*P.modeData.event)and P.atkBuffer.sum<8 then
local d=P.modeData.event+1
@@ -45,7 +45,7 @@ return{
mesDisp=function(P,dx,dy)
setFont(65)
mStr(P.modeData.event,-81,310)
mDraw(drawableText.wave,-81,375)
mText(drawableText.wave,-81,375)
end,
score=function(P)return{P.modeData.event,P.stat.time}end,
scoreDisp=function(D)return D[1].." Waves "..toTime(D[2])end,

View File

@@ -22,7 +22,7 @@ return{
freshLimit=15,
pushSpeed=2,
task=function(P)
if not(P.control and scene.cur=="play")then return end
if not(P.control and SCN.cur=="play")then return end
P.modeData.counter=P.modeData.counter+1
if P.modeData.counter>=max(300,600-10*P.modeData.event)and P.atkBuffer.sum<20 then
local t=max(300,480-12*P.modeData.event)
@@ -47,7 +47,7 @@ return{
mesDisp=function(P,dx,dy)
setFont(65)
mStr(P.modeData.event,-81,310)
mDraw(drawableText.wave,-81,375)
mText(drawableText.wave,-81,375)
end,
score=function(P)return{P.modeData.event,P.stat.time}end,
scoreDisp=function(D)return D[1].." Waves "..toTime(D[2])end,

View File

@@ -36,8 +36,8 @@ return{
setFont(45)
mStr(P.stat.atk,-81,310)
mStr(format("%.2f",P.stat.atk/P.stat.row),-81,420)
mDraw(drawableText.atk,-81,363)
mDraw(drawableText.eff,-81,475)
mText(drawableText.atk,-81,363)
mText(drawableText.eff,-81,475)
end,
score=function(P)return{P.stat.row<=200 and P.stat.row or 200,P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..toTime(D[2])end,

View File

@@ -36,8 +36,8 @@ return{
setFont(45)
mStr(P.stat.atk,-81,310)
mStr(format("%.2f",P.stat.atk/P.stat.row),-81,420)
mDraw(drawableText.atk,-81,363)
mDraw(drawableText.eff,-81,475)
mText(drawableText.atk,-81,363)
mText(drawableText.eff,-81,475)
end,
score=function(P)return{P.stat.row<=200 and P.stat.row or 200,P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..toTime(D[2])end,

View File

@@ -36,8 +36,8 @@ return{
setFont(45)
mStr(P.stat.atk,-81,310)
mStr(format("%.2f",P.stat.atk/P.stat.row),-81,420)
mDraw(drawableText.atk,-81,363)
mDraw(drawableText.eff,-81,475)
mText(drawableText.atk,-81,363)
mText(drawableText.eff,-81,475)
end,
score=function(P)return{P.stat.row<=200 and P.stat.row or 200,P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..toTime(D[2])end,

View File

@@ -36,8 +36,8 @@ return{
setFont(45)
mStr(P.stat.atk,-81,310)
mStr(format("%.2f",P.stat.atk/P.stat.row),-81,420)
mDraw(drawableText.atk,-81,363)
mDraw(drawableText.eff,-81,475)
mText(drawableText.atk,-81,363)
mText(drawableText.eff,-81,475)
end,
score=function(P)return{P.stat.row<=200 and P.stat.row or 200,P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..toTime(D[2])end,

View File

@@ -36,8 +36,8 @@ return{
setFont(45)
mStr(P.stat.atk,-81,310)
mStr(format("%.2f",P.stat.atk/P.stat.row),-81,420)
mDraw(drawableText.atk,-81,363)
mDraw(drawableText.eff,-81,475)
mText(drawableText.atk,-81,363)
mText(drawableText.eff,-81,475)
end,
score=function(P)return{P.stat.row<=200 and P.stat.row or 200,P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..toTime(D[2])end,

View File

@@ -36,8 +36,8 @@ return{
setFont(45)
mStr(P.stat.atk,-81,310)
mStr(format("%.2f",P.stat.atk/P.stat.row),-81,420)
mDraw(drawableText.atk,-81,363)
mDraw(drawableText.eff,-81,475)
mText(drawableText.atk,-81,363)
mText(drawableText.eff,-81,475)
end,
score=function(P)return{P.stat.row<=200 and P.stat.row or 200,P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..toTime(D[2])end,

View File

@@ -39,8 +39,8 @@ return{
setFont(45)
mStr(P.stat.atk,-81,310)
mStr(format("%.2f",P.stat.atk/P.stat.row),-81,420)
mDraw(drawableText.atk,-81,363)
mDraw(drawableText.eff,-81,475)
mText(drawableText.atk,-81,363)
mText(drawableText.eff,-81,475)
end,
score=function(P)return{P.stat.row<=200 and P.stat.row or 200,P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..toTime(D[2])end,

View File

@@ -39,8 +39,8 @@ return{
setFont(45)
mStr(P.stat.atk,-81,310)
mStr(format("%.2f",P.stat.atk/P.stat.row),-81,420)
mDraw(drawableText.atk,-81,363)
mDraw(drawableText.eff,-81,475)
mText(drawableText.atk,-81,363)
mText(drawableText.eff,-81,475)
end,
score=function(P)return{P.stat.row<=200 and P.stat.row or 200,P.stat.time}end,
scoreDisp=function(D)return D[1].." Lines "..toTime(D[2])end,

View File

@@ -83,7 +83,7 @@ return{
setFont(25)
gc.print(powerUp[P.strength],-132,290)
for i=1,P.strength do
gc.draw(badgeIcon,16*i-138,260)
gc.draw(IMG.badgeIcon,16*i-138,260)
end
end,
score=function(P)return{P.modeData.event,P.modeData.point}end,

View File

@@ -83,7 +83,7 @@ return{
setFont(25)
gc.print(powerUp[P.strength],-132,290)
for i=1,P.strength do
gc.draw(badgeIcon,16*i-138,260)
gc.draw(IMG.badgeIcon,16*i-138,260)
end
end,
score=function(P)return{P.modeData.event,P.modeData.point}end,

View File

@@ -83,7 +83,7 @@ return{
setFont(25)
gc.print(powerUp[P.strength],-132,290)
for i=1,P.strength do
gc.draw(badgeIcon,16*i-138,260)
gc.draw(IMG.badgeIcon,16*i-138,260)
end
end,
score=function(P)return{P.modeData.event,P.modeData.point}end,

View File

@@ -83,7 +83,7 @@ return{
setFont(25)
gc.print(powerUp[P.strength],-132,290)
for i=1,P.strength do
gc.draw(badgeIcon,16*i-138,260)
gc.draw(IMG.badgeIcon,16*i-138,260)
end
end,
score=function(P)return{P.modeData.event,P.modeData.point}end,

View File

@@ -83,7 +83,7 @@ return{
setFont(25)
gc.print(powerUp[P.strength],-132,290)
for i=1,P.strength do
gc.draw(badgeIcon,16*i-138,260)
gc.draw(IMG.badgeIcon,16*i-138,260)
end
end,
score=function(P)return{P.modeData.event,P.modeData.point}end,

View File

@@ -83,7 +83,7 @@ return{
setFont(25)
gc.print(powerUp[P.strength],-132,290)
for i=1,P.strength do
gc.draw(badgeIcon,16*i-138,260)
gc.draw(IMG.badgeIcon,16*i-138,260)
end
end,
score=function(P)return{P.modeData.event,P.modeData.point}end,

View File

@@ -38,7 +38,7 @@ return{
mesDisp=function(P,dx,dy)
setFont(75)
mStr(P.modeData.event,-81,330)
mDraw(drawableText.tsd,-81,407)
mText(drawableText.tsd,-81,407)
end,
score=function(P)return{P.modeData.event,P.stat.time}end,
scoreDisp=function(D)return D[1].."TSD "..toTime(D[2])end,

View File

@@ -39,7 +39,7 @@ return{
mesDisp=function(P,dx,dy)
setFont(75)
mStr(P.modeData.event,-81,330)
mDraw(drawableText.tsd,-81,407)
mText(drawableText.tsd,-81,407)
end,
score=function(P)return{P.modeData.event,P.stat.time}end,
scoreDisp=function(D)return D[1].."TSD "..toTime(D[2])end,

View File

@@ -39,7 +39,7 @@ return{
mesDisp=function(P,dx,dy)
setFont(75)
mStr(P.modeData.event,-81,330)
mDraw(drawableText.tsd,-81,407)
mText(drawableText.tsd,-81,407)
end,
score=function(P)return{P.modeData.event,P.stat.time}end,
scoreDisp=function(D)return D[1].."TSD "..toTime(D[2])end,