再微调大量模式的左侧信息显示

stack模式左侧信息添加"块数"标签
This commit is contained in:
MrZ626
2021-08-09 03:16:40 +08:00
parent ac889dcba9
commit 20cd27d7f6
33 changed files with 66 additions and 57 deletions

View File

@@ -34,7 +34,7 @@ return{
missionFailed="Wrong Clear", missionFailed="Wrong Clear",
speedLV="Speed Level", speedLV="Speed Level",
line="Lines",atk="Attack",eff="Efficiency", piece="Piece",line="Lines",atk="Attack",eff="Efficiency",
rpm="RPM",tsd="TSD", rpm="RPM",tsd="TSD",
grade="Grade",techrash="Techrash", grade="Grade",techrash="Techrash",
wave="Wave",nextWave="Next", wave="Wave",nextWave="Next",

View File

@@ -24,7 +24,7 @@ return{
missionFailed="Misión Fallida", missionFailed="Misión Fallida",
speedLV="Vel. de juego", speedLV="Vel. de juego",
line="Líneas",atk="Ataque",eff="Eficiencia", piece="Piezas",line="Líneas",atk="Ataque",eff="Eficiencia",
rpm="RPM",tsd="TSD", rpm="RPM",tsd="TSD",
grade="Grado",techrash="Techrash", grade="Grado",techrash="Techrash",
wave="Ronda",nextWave="Sig. ronda", wave="Ronda",nextWave="Sig. ronda",

View File

@@ -24,7 +24,7 @@ return{
missionFailed="Mission échouée", missionFailed="Mission échouée",
speedLV="niveau de vitesse", speedLV="niveau de vitesse",
line="Lignes",atk="Attaque",eff="Efficacité", piece="Pièce",line="Lignes",atk="Attaque",eff="Efficacité",
rpm="RPM",tsd="TSD", rpm="RPM",tsd="TSD",
grade="Grade",techrash="Techrash", grade="Grade",techrash="Techrash",
wave="Vague",nextWave="Prochain", wave="Vague",nextWave="Prochain",

View File

@@ -25,7 +25,7 @@ return{
missionFailed="Missão falha", missionFailed="Missão falha",
speedLV="Nível de velocidade", speedLV="Nível de velocidade",
line="Linhas",atk="Ataque",eff="Eficiência", piece="Peça",line="Linhas",atk="Ataque",eff="Eficiência",
rpm="RPM",tsd="TSD", rpm="RPM",tsd="TSD",
grade="Grade",techrash="Techrash", grade="Grade",techrash="Techrash",
wave="Onda",nextWave="Próxima", wave="Onda",nextWave="Próxima",

View File

@@ -25,7 +25,7 @@ return{
maxspeed="速度封顶", maxspeed="速度封顶",
speedLV="速度等级", speedLV="速度等级",
line="行数",atk="",eff="", piece="块数",line="行数",atk="",eff="",
rpm="收每分",tsd="T2", rpm="收每分",tsd="T2",
grade="段位",techrash="消四", grade="段位",techrash="消四",
wave="波数",nextWave="下一波", wave="波数",nextWave="下一波",

View File

@@ -34,7 +34,7 @@ return{
missionFailed="非任务消除", missionFailed="非任务消除",
speedLV="速度等级", speedLV="速度等级",
line="行数",atk="攻击",eff="效率", piece="块数",line="行数",atk="攻击",eff="效率",
rpm="RPM",tsd="T2", rpm="RPM",tsd="T2",
grade="段位",techrash="Techrash", grade="段位",techrash="Techrash",
wave="波数",nextWave="下一波", wave="波数",nextWave="下一波",

View File

@@ -11,7 +11,7 @@ return{
continue="继续。", continue="继续。",
speedLV="速度等级", speedLV="速度等级",
line="行数",atk="攻击",eff="效率", piece="块数",line="行数",atk="攻击",eff="效率",
rpm="收每分",tsd="T2", rpm="收每分",tsd="T2",
grade="段位",techrash="消四", grade="段位",techrash="消四",
wave="波数",nextWave="下一波", wave="波数",nextWave="下一波",

View File

@@ -164,7 +164,7 @@ do--drawableText
gamewin=T(100),gameover=T(100),pause=T(120), gamewin=T(100),gameover=T(100),pause=T(120),
speedLV=T(20), speedLV=T(20),
line=T(25),atk=T(20),eff=T(20), piece=T(25),line=T(25),atk=T(20),eff=T(20),
rpm=T(35),tsd=T(35), rpm=T(35),tsd=T(35),
grade=T(25),techrash=T(25), grade=T(25),techrash=T(25),
wave=T(30),nextWave=T(30), wave=T(30),nextWave=T(30),

View File

@@ -14,9 +14,9 @@ return{
bg='tunnel',bgm='echo', bg='tunnel',bgm='echo',
}, },
mesDisp=function(P) mesDisp=function(P)
setFont(65) setFont(60)
mStr(P.stat.atk,63,310) mStr(P.stat.atk,63,280)
mText(drawableText.atk,63,380) mText(drawableText.atk,63,350)
end, end,
score=function(P)return{math.min(math.floor(P.stat.atk),100),P.stat.time}end, score=function(P)return{math.min(math.floor(P.stat.atk),100),P.stat.time}end,
scoreDisp=function(D)return D[1].." Attack "..STRING.time(D[2])end, scoreDisp=function(D)return D[1].." Attack "..STRING.time(D[2])end,

View File

@@ -14,9 +14,9 @@ return{
bg='blackhole',bgm='echo', bg='blackhole',bgm='echo',
}, },
mesDisp=function(P) mesDisp=function(P)
setFont(65) setFont(60)
mStr(P.stat.atk,63,310) mStr(P.stat.atk,63,280)
mText(drawableText.atk,63,380) mText(drawableText.atk,63,350)
end, end,
score=function(P)return{math.min(math.floor(P.stat.atk),100),P.stat.time}end, score=function(P)return{math.min(math.floor(P.stat.atk),100),P.stat.time}end,
scoreDisp=function(D)return D[1].." Attack "..STRING.time(D[2])end, scoreDisp=function(D)return D[1].." Attack "..STRING.time(D[2])end,

View File

@@ -13,9 +13,9 @@ return{
bg='tunnel',bgm='echo', bg='tunnel',bgm='echo',
}, },
mesDisp=function(P) mesDisp=function(P)
setFont(65) setFont(60)
mStr(P.stat.atk,63,310) mStr(P.stat.atk,63,280)
mText(drawableText.atk,63,380) mText(drawableText.atk,63,350)
end, end,
score=function(P)return{math.min(math.floor(P.stat.atk),100),P.stat.time}end, score=function(P)return{math.min(math.floor(P.stat.atk),100),P.stat.time}end,
scoreDisp=function(D)return D[1].." Attack "..STRING.time(D[2])end, scoreDisp=function(D)return D[1].." Attack "..STRING.time(D[2])end,

View File

@@ -14,9 +14,9 @@ return{
bg='blackhole',bgm='echo', bg='blackhole',bgm='echo',
}, },
mesDisp=function(P) mesDisp=function(P)
setFont(65) setFont(60)
mStr(P.stat.atk,63,310) mStr(P.stat.atk,63,280)
mText(drawableText.atk,63,380) mText(drawableText.atk,63,350)
end, end,
score=function(P)return{math.min(math.floor(P.stat.atk),100),P.stat.time}end, score=function(P)return{math.min(math.floor(P.stat.atk),100),P.stat.time}end,
scoreDisp=function(D)return D[1].." Attack "..STRING.time(D[2])end, scoreDisp=function(D)return D[1].." Attack "..STRING.time(D[2])end,

View File

@@ -1,3 +1,11 @@
local boarder=GC.DO{334,620,
{'setLW',2},
{'setCL',.97,.97,.975},
{'dRect',16,1,302,618,5},
{'fRect',17,612,300,2},
{'dRect',318,9,15,596,3},
{'dRect',1,9,15,596,3},
}
local gc=love.graphics local gc=love.graphics
local sin,min=math.sin,math.min local sin,min=math.sin,math.min
return{ return{
@@ -30,9 +38,7 @@ return{
gc.translate(150,0) gc.translate(150,0)
gc.setColor(.5,.5,.5) gc.setColor(.5,.5,.5)
--Frame --Frame
gc.rectangle('line',-1,-11,302,612)--Boarder gc.draw(boarder,-17,-12)
gc.rectangle('line',301,-3,15,604)--AtkBuffer boarder
gc.rectangle('line',-16,-3,15,604)--B2b bar boarder
end end
gc.pop() gc.pop()
end end

View File

@@ -22,7 +22,7 @@ return{
bg='bg2',bgm='shift', bg='bg2',bgm='shift',
}, },
mesDisp=function(P) mesDisp=function(P)
setFont(65) setFont(60)
mStr(P.modeData.wave,63,310) mStr(P.modeData.wave,63,310)
mText(drawableText.wave,63,375) mText(drawableText.wave,63,375)
end, end,

View File

@@ -21,7 +21,7 @@ return{
bg='bg2',bgm='shift', bg='bg2',bgm='shift',
}, },
mesDisp=function(P) mesDisp=function(P)
setFont(65) setFont(60)
mStr(P.modeData.wave,63,310) mStr(P.modeData.wave,63,310)
mText(drawableText.wave,63,375) mText(drawableText.wave,63,375)
end, end,

View File

@@ -17,7 +17,7 @@ return{
setFont(70) setFont(70)
mStr(P.stat.pc,63,300) mStr(P.stat.pc,63,300)
mText(drawableText.pc,63,380) mText(drawableText.pc,63,350)
end, end,
score=function(P)return{P.stat.pc,P.stat.time}end, score=function(P)return{P.stat.pc,P.stat.time}end,
scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end, scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end,

View File

@@ -24,7 +24,7 @@ return{
mesDisp=function(P) mesDisp=function(P)
setFont(70) setFont(70)
mStr(P.stat.pc,63,300) mStr(P.stat.pc,63,300)
mText(drawableText.pc,63,380) mText(drawableText.pc,63,350)
end, end,
score=function(P)return{P.stat.pc,P.stat.time}end, score=function(P)return{P.stat.pc,P.stat.time}end,
scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end, scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end,

View File

@@ -17,7 +17,7 @@ return{
setFont(70) setFont(70)
mStr(P.stat.pc,63,300) mStr(P.stat.pc,63,300)
mText(drawableText.pc,63,380) mText(drawableText.pc,63,350)
end, end,
score=function(P)return{P.stat.pc,P.stat.time}end, score=function(P)return{P.stat.pc,P.stat.time}end,
scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end, scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end,

View File

@@ -15,7 +15,7 @@ return{
setFont(70) setFont(70)
mStr(P.stat.pc,63,300) mStr(P.stat.pc,63,300)
mText(drawableText.pc,63,380) mText(drawableText.pc,63,350)
end, end,
score=function(P)return{P.stat.pc,P.stat.time}end, score=function(P)return{P.stat.pc,P.stat.time}end,
scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end, scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end,

View File

@@ -59,7 +59,7 @@ return{
mesDisp=function(P) mesDisp=function(P)
setFont(70) setFont(70)
mStr(P.stat.pc,63,300) mStr(P.stat.pc,63,300)
mText(drawableText.pc,63,380) mText(drawableText.pc,63,350)
end, end,
score=function(P)return{P.stat.pc,P.stat.time}end, score=function(P)return{P.stat.pc,P.stat.time}end,
scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end, scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end,

View File

@@ -50,7 +50,7 @@ return{
mesDisp=function(P) mesDisp=function(P)
setFont(70) setFont(70)
mStr(P.stat.pc,63,300) mStr(P.stat.pc,63,300)
mText(drawableText.pc,63,380) mText(drawableText.pc,63,350)
end, end,
score=function(P)return{P.stat.pc,P.stat.time}end, score=function(P)return{P.stat.pc,P.stat.time}end,
scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end, scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end,

View File

@@ -11,8 +11,9 @@ return{
bg='none',bgm='there', bg='none',bgm='there',
}, },
mesDisp=function(P) mesDisp=function(P)
setFont(55) setFont(60)
mStr(P.stat.piece,63,265) mStr(P.stat.piece,63,280)
mText(drawableText.piece,63,350)
end, end,
score=function(P)return{P.stat.piece,P.stat.time}end, score=function(P)return{P.stat.piece,P.stat.time}end,
scoreDisp=function(D)return D[1].." Pieces".." "..STRING.time(D[2])end, scoreDisp=function(D)return D[1].." Pieces".." "..STRING.time(D[2])end,

View File

@@ -8,8 +8,9 @@ return{
bg='none',bgm='there', bg='none',bgm='there',
}, },
mesDisp=function(P) mesDisp=function(P)
setFont(55) setFont(60)
mStr(P.stat.piece,63,265) mStr(P.stat.piece,63,280)
mText(drawableText.piece,63,350)
end, end,
score=function(P)return{P.stat.piece,P.stat.time}end, score=function(P)return{P.stat.piece,P.stat.time}end,
scoreDisp=function(D)return D[1].." Pieces".." "..STRING.time(D[2])end, scoreDisp=function(D)return D[1].." Pieces".." "..STRING.time(D[2])end,

View File

@@ -10,8 +10,9 @@ return{
bg='none',bgm='there', bg='none',bgm='there',
}, },
mesDisp=function(P) mesDisp=function(P)
setFont(55) setFont(60)
mStr(P.stat.piece,63,265) mStr(P.stat.piece,63,280)
mText(drawableText.piece,63,350)
end, end,
score=function(P)return{P.stat.piece,P.stat.time}end, score=function(P)return{P.stat.piece,P.stat.time}end,
scoreDisp=function(D)return D[1].." Pieces".." "..STRING.time(D[2])end, scoreDisp=function(D)return D[1].." Pieces".." "..STRING.time(D[2])end,

View File

@@ -23,8 +23,8 @@ return{
bg='glow',bgm='new era', bg='glow',bgm='new era',
}, },
mesDisp=function(P) mesDisp=function(P)
setFont(65) setFont(60)
mStr(P.modeData.wave,63,310) mStr(P.modeData.wave,63,280)
mText(drawableText.wave,63,375) mText(drawableText.wave,63,375)
end, end,
score=function(P)return{P.modeData.wave,P.stat.time}end, score=function(P)return{P.modeData.wave,P.stat.time}end,

View File

@@ -30,8 +30,8 @@ return{
bg='glow',bgm='new era', bg='glow',bgm='new era',
}, },
mesDisp=function(P) mesDisp=function(P)
setFont(65) setFont(60)
mStr(P.modeData.wave,63,310) mStr(P.modeData.wave,63,280)
mText(drawableText.wave,63,375) mText(drawableText.wave,63,375)
end, end,
score=function(P)return{P.modeData.wave,P.stat.time}end, score=function(P)return{P.modeData.wave,P.stat.time}end,

View File

@@ -24,8 +24,8 @@ return{
bg='glow',bgm='here', bg='glow',bgm='here',
}, },
mesDisp=function(P) mesDisp=function(P)
setFont(65) setFont(60)
mStr(P.modeData.wave,63,310) mStr(P.modeData.wave,63,280)
mText(drawableText.wave,63,375) mText(drawableText.wave,63,375)
end, end,
score=function(P)return{P.modeData.wave,P.stat.time}end, score=function(P)return{P.modeData.wave,P.stat.time}end,

View File

@@ -29,8 +29,8 @@ return{
bg='glow',bgm='new era', bg='glow',bgm='new era',
}, },
mesDisp=function(P) mesDisp=function(P)
setFont(65) setFont(60)
mStr(P.modeData.wave,63,310) mStr(P.modeData.wave,63,280)
mText(drawableText.wave,63,375) mText(drawableText.wave,63,375)
end, end,
score=function(P)return{P.modeData.wave,P.stat.time}end, score=function(P)return{P.modeData.wave,P.stat.time}end,

View File

@@ -29,8 +29,8 @@ return{
bg='welcome',bgm='here', bg='welcome',bgm='here',
}, },
mesDisp=function(P) mesDisp=function(P)
setFont(65) setFont(60)
mStr(P.modeData.wave,63,310) mStr(P.modeData.wave,63,280)
mText(drawableText.wave,63,375) mText(drawableText.wave,63,375)
end, end,
score=function(P)return{P.modeData.wave,P.stat.time}end, score=function(P)return{P.modeData.wave,P.stat.time}end,

View File

@@ -19,7 +19,7 @@ return{
bg='matrix',bgm='vapor', bg='matrix',bgm='vapor',
}, },
mesDisp=function(P) mesDisp=function(P)
setFont(65) setFont(60)
mStr(P.modeData.tsd,63,250) mStr(P.modeData.tsd,63,250)
mText(drawableText.tsd,63,315) mText(drawableText.tsd,63,315)
end, end,

View File

@@ -19,7 +19,7 @@ return{
bg='matrix',bgm='vapor', bg='matrix',bgm='vapor',
}, },
mesDisp=function(P) mesDisp=function(P)
setFont(65) setFont(60)
mStr(P.modeData.tsd,63,250) mStr(P.modeData.tsd,63,250)
mText(drawableText.tsd,63,315) mText(drawableText.tsd,63,315)
end, end,

View File

@@ -28,7 +28,7 @@ return{
bg='matrix',bgm='vapor', bg='matrix',bgm='vapor',
}, },
mesDisp=function(P) mesDisp=function(P)
setFont(65) setFont(60)
mStr(P.modeData.tsd,63,250) mStr(P.modeData.tsd,63,250)
mText(drawableText.tsd,63,315) mText(drawableText.tsd,63,315)
gc.push('transform') gc.push('transform')

View File

@@ -628,7 +628,7 @@ function draw.drawRoyaleInfo(P)
gc.print(P.badge,103,227) gc.print(P.badge,103,227)
gc.setColor(.97,.97,.97) gc.setColor(.97,.97,.97)
setFont(25) setFont(25)
mDraw(text.powerUp[P.strength],63,290) mStr(text.powerUp[P.strength],63,290)
gc.setColor(1,1,1) gc.setColor(1,1,1)
for i=1,P.strength do for i=1,P.strength do
gc.draw(IMG.badgeIcon,16*i+6,260) gc.draw(IMG.badgeIcon,16*i+6,260)
@@ -813,12 +813,6 @@ function draw.norm(P)
P:drawNext() P:drawNext()
drawHold(P) drawHold(P)
--Mode informations
if GAME.curMode.mesDisp then
gc_setColor(.97,.97,.97)
GAME.curMode.mesDisp(P)
end
--Speed dials & FinesseCombo --Speed dials & FinesseCombo
if P.type=='remote'then if P.type=='remote'then
drawDial(490,520,P.dropSpeed) drawDial(490,520,P.dropSpeed)
@@ -831,6 +825,12 @@ function draw.norm(P)
drawFinesseCombo_norm(P) drawFinesseCombo_norm(P)
end end
--Mode informations
if GAME.curMode.mesDisp then
gc_setColor(.97,.97,.97)
GAME.curMode.mesDisp(P)
end
--Score & Time --Score & Time
setFont(25) setFont(25)
local tm=int(P.stat.time*100)*.01 local tm=int(P.stat.time*100)*.01