drawableText分离出语言模块,部分文本支持多语言
This commit is contained in:
@@ -867,7 +867,7 @@ return{
|
|||||||
{"gggf",
|
{"gggf",
|
||||||
"gggf kissne 127",
|
"gggf kissne 127",
|
||||||
"name",
|
"name",
|
||||||
"【研究群】「T127」\n40行22.831秒(手机28.229),MPH40行56秒,tetr.io段位U,top数据约60L85A\n20G规则国内一流玩家,拿到了TGM3几乎全部的最终成就(全世界都没几个),Tech中20G系列模式Final和PH用PC/手机都通关,Touhoumino的L难度一命无炸通\n其他名称:127 kissne 小柒\n还是车车人,几个正作成绩:永EX NM 1B FS 风L NM",
|
"【研究群】「T127」\n40行22.831秒(手机27.218),MPH40行56秒,tetr.io段位U,top数据约60L85A\n20G规则国内一流玩家,拿到了TGM3几乎全部的最终成就(全世界都没几个),Tech中20G系列模式Final和PH用PC/手机都通关,Touhoumino的L难度一命无炸通\n其他名称:127 kissne 小柒\n还是车车人,几个正作成绩:永EX NM 1B FS 风L NM",
|
||||||
"https://space.bilibili.com/287769888",
|
"https://space.bilibili.com/287769888",
|
||||||
},
|
},
|
||||||
{"蕴空之灵",
|
{"蕴空之灵",
|
||||||
|
|||||||
@@ -24,6 +24,14 @@ return{
|
|||||||
speedup="Speed up!",
|
speedup="Speed up!",
|
||||||
missionFailed="Wrong Clear",
|
missionFailed="Wrong Clear",
|
||||||
|
|
||||||
|
speedLV="speed level",
|
||||||
|
line="Lines",atk="Attack",eff="Efficiency",
|
||||||
|
rpm="RPM",tsd="TSD",
|
||||||
|
grade="Grade",techrash="Techrash",
|
||||||
|
wave="Wave",nextWave="Next",
|
||||||
|
combo="Combo",maxcmb="Max Combo",
|
||||||
|
pc="Perfect Clear",ko="KO",
|
||||||
|
|
||||||
win="You Win!",
|
win="You Win!",
|
||||||
finish="Finish",
|
finish="Finish",
|
||||||
gameover="Game Over",
|
gameover="Game Over",
|
||||||
|
|||||||
@@ -26,6 +26,15 @@ return{
|
|||||||
speedup="Speed up !",
|
speedup="Speed up !",
|
||||||
missionFailed="Mission échouée",
|
missionFailed="Mission échouée",
|
||||||
|
|
||||||
|
-- speedLV="speed level",
|
||||||
|
-- line="Lines",atk="Attack",eff="Efficiency",
|
||||||
|
-- rpm="RPM",tsd="TSD",
|
||||||
|
-- grade="Grade",techrash="Techrash",
|
||||||
|
-- wave="Wave",nextWave="Next",
|
||||||
|
-- combo="Combo",maxcmb="Max Combo",
|
||||||
|
-- pc="Perfect Clear",ko="KO",
|
||||||
|
|
||||||
|
|
||||||
win="Gagné !",
|
win="Gagné !",
|
||||||
finish="Terminé",
|
finish="Terminé",
|
||||||
gameover="Fin du jeu",
|
gameover="Fin du jeu",
|
||||||
|
|||||||
@@ -26,6 +26,14 @@ return{
|
|||||||
speedup="¡Más rápido!",
|
speedup="¡Más rápido!",
|
||||||
missionFailed="Misión Fallida",
|
missionFailed="Misión Fallida",
|
||||||
|
|
||||||
|
-- speedLV="speed level",
|
||||||
|
-- line="Lines",atk="Attack",eff="Efficiency",
|
||||||
|
-- rpm="RPM",tsd="TSD",
|
||||||
|
-- grade="Grade",techrash="Techrash",
|
||||||
|
-- wave="Wave",nextWave="Next",
|
||||||
|
-- combo="Combo",maxcmb="Max Combo",
|
||||||
|
-- pc="Perfect Clear",ko="KO",
|
||||||
|
|
||||||
win="Victoria",
|
win="Victoria",
|
||||||
finish="Fin",
|
finish="Fin",
|
||||||
gameover="Fin del Juego",
|
gameover="Fin del Juego",
|
||||||
|
|||||||
@@ -17,6 +17,14 @@ return{
|
|||||||
continue="您继续",
|
continue="您继续",
|
||||||
maxspeed="速度封顶",
|
maxspeed="速度封顶",
|
||||||
|
|
||||||
|
speedLV="速度等级",
|
||||||
|
line="行数",atk="攻",eff="效",
|
||||||
|
rpm="收每分",tsd="T2",
|
||||||
|
grade="段位",techrash="消四",
|
||||||
|
wave="波数",nextWave="下一波",
|
||||||
|
combo="连击",maxcmb="最大连",
|
||||||
|
pc="消干净了",ko="淘汰",
|
||||||
|
|
||||||
win="成了",
|
win="成了",
|
||||||
finish="可以的",
|
finish="可以的",
|
||||||
gameover="挂了",
|
gameover="挂了",
|
||||||
|
|||||||
@@ -25,6 +25,14 @@ return{
|
|||||||
speedup="速度加快",
|
speedup="速度加快",
|
||||||
missionFailed="非任务消除",
|
missionFailed="非任务消除",
|
||||||
|
|
||||||
|
speedLV="速度等级",
|
||||||
|
line="行数",atk="攻击",eff="效率",
|
||||||
|
rpm="RPM",tsd="T2",
|
||||||
|
grade="段位",techrash="Techrash",
|
||||||
|
wave="波数",nextWave="下一波",
|
||||||
|
combo="Combo",maxcmb="Max Combo",
|
||||||
|
pc="Perfect Clear",ko="KO",
|
||||||
|
|
||||||
win="胜利",
|
win="胜利",
|
||||||
finish="完成",
|
finish="完成",
|
||||||
gameover="游戏结束",
|
gameover="游戏结束",
|
||||||
|
|||||||
@@ -10,6 +10,14 @@ return{
|
|||||||
almost="差一点!",
|
almost="差一点!",
|
||||||
continue="继续。",
|
continue="继续。",
|
||||||
|
|
||||||
|
speedLV="速度等级",
|
||||||
|
line="行数",atk="攻击",eff="效率",
|
||||||
|
rpm="收每分",tsd="T2",
|
||||||
|
grade="段位",techrash="消四",
|
||||||
|
wave="波数",nextWave="下一波",
|
||||||
|
combo="连击",maxcmb="最大连击",
|
||||||
|
pc="全清",ko="淘汰",
|
||||||
|
|
||||||
finesse_ap="完美极简",
|
finesse_ap="完美极简",
|
||||||
finesse_fc="全连击",
|
finesse_fc="全连击",
|
||||||
|
|
||||||
|
|||||||
@@ -85,15 +85,6 @@ for i=1,#langList do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local drawableTextLoad={
|
|
||||||
"anykey",
|
|
||||||
"replaying",
|
|
||||||
"next","hold",
|
|
||||||
"win","finish","gameover","pause",
|
|
||||||
|
|
||||||
"VKTchW","VKOrgW","VKCurW",
|
|
||||||
"noScore","highScore",
|
|
||||||
}
|
|
||||||
local LANG={}
|
local LANG={}
|
||||||
function LANG.getLen()
|
function LANG.getLen()
|
||||||
return #langList
|
return #langList
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ return{
|
|||||||
mStr(P.combo,69,380)
|
mStr(P.combo,69,380)
|
||||||
mStr(P.modeData.point,69,470)
|
mStr(P.modeData.point,69,470)
|
||||||
mText(drawableText.combo,69,428)
|
mText(drawableText.combo,69,428)
|
||||||
mText(drawableText.mxcmb,69,520)
|
mText(drawableText.maxcmb,69,520)
|
||||||
end,
|
end,
|
||||||
score=function(P)return{min(P.modeData.point,100),P.stat.time}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,
|
scoreDisp=function(D)return D[1].." Combo "..toTime(D[2])end,
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ return{
|
|||||||
mStr(P.combo,69,380)
|
mStr(P.combo,69,380)
|
||||||
mStr(P.modeData.point,69,470)
|
mStr(P.modeData.point,69,470)
|
||||||
mText(drawableText.combo,69,428)
|
mText(drawableText.combo,69,428)
|
||||||
mText(drawableText.mxcmb,69,520)
|
mText(drawableText.maxcmb,69,520)
|
||||||
end,
|
end,
|
||||||
score=function(P)return{min(P.modeData.point,100),P.stat.time}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,
|
scoreDisp=function(D)return D[1].." Combo "..toTime(D[2])end,
|
||||||
|
|||||||
@@ -188,25 +188,35 @@ rankColor={
|
|||||||
}
|
}
|
||||||
|
|
||||||
local function T(s,t)return love.graphics.newText(getFont(s),t)end
|
local function T(s,t)return love.graphics.newText(getFont(s),t)end
|
||||||
|
drawableTextLoad={
|
||||||
|
"anykey",
|
||||||
|
"replaying",
|
||||||
|
"next","hold",
|
||||||
|
"win","finish","gameover","pause",
|
||||||
|
|
||||||
|
"speedLV",
|
||||||
|
"line","atk","eff",
|
||||||
|
"rpm","tsd",
|
||||||
|
"grade","techrash",
|
||||||
|
"wave","nextWave",
|
||||||
|
"combo","maxcmb",
|
||||||
|
"pc","ko",
|
||||||
|
|
||||||
|
"VKTchW","VKOrgW","VKCurW",
|
||||||
|
"noScore","highScore",
|
||||||
|
}
|
||||||
drawableText={
|
drawableText={
|
||||||
question=T(100,"?"),
|
question=T(100,"?"),
|
||||||
small=T(30,"<"),large=T(30,">"),
|
small=T(30,"<"),large=T(30,">"),
|
||||||
bpm=T(15,"BPM"),kpm=T(15,"KPM"),
|
bpm=T(15,"BPM"),kpm=T(15,"KPM"),
|
||||||
|
|
||||||
speedLV=T(20,"speed level"),
|
speedLV=T(20),
|
||||||
atk=T(20,"Attack"),
|
line=T(25),atk=T(20),eff=T(20),
|
||||||
eff=T(20,"Efficiency"),
|
rpm=T(35),tsd=T(35),
|
||||||
tsd=T(35,"TSD"),
|
grade=T(25),techrash=T(25),
|
||||||
line=T(25,"Lines"),
|
wave=T(30),nextWave=T(30),
|
||||||
techrash=T(25,"Techrash"),
|
combo=T(20),maxcmb=T(20),
|
||||||
grade=T(25,"Grade"),
|
pc=T(20),ko=T(25),
|
||||||
wave=T(30,"Wave"),
|
|
||||||
rpm=T(35,"RPM"),
|
|
||||||
nextWave=T(30,"Next"),
|
|
||||||
combo=T(20,"Combo"),
|
|
||||||
mxcmb=T(20,"Max Combo"),
|
|
||||||
pc=T(20,"Perfect Clear"),
|
|
||||||
ko=T(25,"KO"),
|
|
||||||
|
|
||||||
|
|
||||||
modeName=T(30),levelName=T(30),
|
modeName=T(30),levelName=T(30),
|
||||||
@@ -217,7 +227,6 @@ drawableText={
|
|||||||
next=T(40),hold=T(40),
|
next=T(40),hold=T(40),
|
||||||
win=T(120),finish=T(120),
|
win=T(120),finish=T(120),
|
||||||
gameover=T(100),pause=T(120),
|
gameover=T(100),pause=T(120),
|
||||||
D=T(100,"D"),C=T(100,"C"),B=T(100,"B"),A=T(100,"A"),S=T(100,"S"),
|
|
||||||
|
|
||||||
VKTchW=T(30),VKOrgW=T(30),VKCurW=T(30),
|
VKTchW=T(30),VKOrgW=T(30),VKCurW=T(30),
|
||||||
noScore=T(45),highScore=T(30),
|
noScore=T(45),highScore=T(30),
|
||||||
|
|||||||
Reference in New Issue
Block a user