修改模式地图评级文本
This commit is contained in:
@@ -633,7 +633,7 @@ local langList={
|
|||||||
recSavingError="纪录保存失败:",
|
recSavingError="纪录保存失败:",
|
||||||
switchSpawnSFX="请开启方块出生音效",
|
switchSpawnSFX="请开启方块出生音效",
|
||||||
getRank="本局评级:",
|
getRank="本局评级:",
|
||||||
ranks={"菜","可","好","强","您"},
|
ranks={"差","可","中","良","优"},
|
||||||
|
|
||||||
needRestart="重新开始以生效",
|
needRestart="重新开始以生效",
|
||||||
copySuccess="已复制到剪切板",
|
copySuccess="已复制到剪切板",
|
||||||
@@ -2380,7 +2380,7 @@ local langList={
|
|||||||
recSavingError="纪录保存失败:",
|
recSavingError="纪录保存失败:",
|
||||||
switchSpawnSFX="请开启方块出生音效",
|
switchSpawnSFX="请开启方块出生音效",
|
||||||
getRank="本局评级:",
|
getRank="本局评级:",
|
||||||
ranks={"D","C","B","A","S"},
|
ranks={"菜","可","好","强","您"},
|
||||||
|
|
||||||
needRestart="重新开始以生效",
|
needRestart="重新开始以生效",
|
||||||
copySuccess="已复制到剪切板",
|
copySuccess="已复制到剪切板",
|
||||||
|
|||||||
@@ -615,9 +615,6 @@ do--mode
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local rankString={
|
|
||||||
"D","C","B","A","S",
|
|
||||||
}
|
|
||||||
local modeRankColor={
|
local modeRankColor={
|
||||||
color.dRed, --D
|
color.dRed, --D
|
||||||
color.dOrange, --C
|
color.dOrange, --C
|
||||||
@@ -636,7 +633,6 @@ do--mode
|
|||||||
gc.scale(cam.k1)
|
gc.scale(cam.k1)
|
||||||
local R=modeRanks
|
local R=modeRanks
|
||||||
local sel=cam.sel
|
local sel=cam.sel
|
||||||
setFont(30)
|
|
||||||
|
|
||||||
--Draw lines connecting modes
|
--Draw lines connecting modes
|
||||||
gc.setLineWidth(8)
|
gc.setLineWidth(8)
|
||||||
@@ -650,6 +646,7 @@ do--mode
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
setFont(60)
|
||||||
for name,M in next,Modes do
|
for name,M in next,Modes do
|
||||||
if R[name]then
|
if R[name]then
|
||||||
local S=M.size
|
local S=M.size
|
||||||
@@ -685,10 +682,10 @@ do--mode
|
|||||||
gc.circle("line",M.x,M.y,S,8)
|
gc.circle("line",M.x,M.y,S,8)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
name=drawableText[rankString[R[M.name]]]
|
name=text.ranks[R[M.name]]
|
||||||
if name then
|
if name then
|
||||||
gc.setColor(0,0,0,.26)
|
gc.setColor(0,0,0,.26)
|
||||||
mDraw(name,M.x,M.y)
|
mStr(name,M.x,M.y-40)
|
||||||
end
|
end
|
||||||
--[[
|
--[[
|
||||||
if M.icon then
|
if M.icon then
|
||||||
|
|||||||
Reference in New Issue
Block a user