修复本地混战模式ai死亡时报错,微调胜利/失败文本显示相关代码
This commit is contained in:
@@ -36,8 +36,10 @@ return{
|
||||
combo="Combo",maxcmb="Max Combo",
|
||||
pc="Perfect Clear",ko="KO",
|
||||
|
||||
win="You Win!",
|
||||
win="Win",
|
||||
lose="Lose",
|
||||
finish="Finish",
|
||||
gamewin="You Win!",
|
||||
gameover="Game Over",
|
||||
pause="Pause",
|
||||
pauseCount="Pauses",
|
||||
|
||||
@@ -37,8 +37,10 @@ return{
|
||||
pc="Perfect Clear",ko="KO",
|
||||
|
||||
|
||||
win="Gagné !",
|
||||
-- win="Win",
|
||||
-- lose="Lose",
|
||||
finish="Terminé",
|
||||
gamewin="Gagné !",
|
||||
gameover="Fin du jeu",
|
||||
pause="Pause",
|
||||
pauseCount="Pauses",
|
||||
|
||||
@@ -37,8 +37,10 @@ return{
|
||||
combo="Combo",maxcmb="Combo máximo",
|
||||
pc="Tudo limpo",ko="KO",
|
||||
|
||||
win="Você venceu!",
|
||||
-- win="Win",
|
||||
-- lose="Lose",
|
||||
finish="Terminou",
|
||||
gamewin="Você venceu!",
|
||||
gameover="Fim de jogo",
|
||||
pause="Pausa",
|
||||
pauseCount="Pausas",
|
||||
|
||||
@@ -36,8 +36,10 @@ return{
|
||||
combo="Combo",maxcmb="Combo Máx.",
|
||||
pc="Perfect Clear",ko="KO",
|
||||
|
||||
win="Victoria",
|
||||
-- win="Win",
|
||||
-- lose="Lose",
|
||||
finish="Fin",
|
||||
gamewin="Victoria",
|
||||
gameover="Fin del Juego",
|
||||
pause="Pausa",
|
||||
pauseCount="Veces pausadas",
|
||||
|
||||
@@ -25,7 +25,9 @@ return{
|
||||
missionFailed="-X_X-",
|
||||
|
||||
win=": )",
|
||||
lose=": (",
|
||||
finish="&",
|
||||
gamewin=">>",
|
||||
gameover="x",
|
||||
pause="=",
|
||||
pauseCount="==",
|
||||
|
||||
@@ -26,9 +26,11 @@ return{
|
||||
combo="连击",maxcmb="最大连",
|
||||
pc="消干净了",ko="淘汰",
|
||||
|
||||
win="成了",
|
||||
win="好了",
|
||||
lose="挂了",
|
||||
finish="可以的",
|
||||
gameover="挂了",
|
||||
gamewin="成了",
|
||||
gameover="没了",
|
||||
pause="歇会",
|
||||
pauseCount="歇多久了",
|
||||
finesse_ap="您",
|
||||
|
||||
@@ -37,7 +37,9 @@ return{
|
||||
pc="Perfect Clear",ko="KO",
|
||||
|
||||
win="胜利",
|
||||
lose="失败",
|
||||
finish="完成",
|
||||
gamewin="胜利",
|
||||
gameover="游戏结束",
|
||||
pause="暂停",
|
||||
pauseCount="暂停统计",
|
||||
|
||||
@@ -166,8 +166,9 @@ do--drawableText
|
||||
anykey=T(40),
|
||||
replaying=T(20),
|
||||
next=T(40),hold=T(40),
|
||||
win=T(120),finish=T(120),
|
||||
gameover=T(100),pause=T(120),
|
||||
win=T(120),lose=T(120),
|
||||
finish=T(120),
|
||||
gamewin=T(100),gameover=T(100),pause=T(120),
|
||||
|
||||
speedLV=T(20),
|
||||
line=T(25),atk=T(20),eff=T(20),
|
||||
|
||||
@@ -9,7 +9,7 @@ local gc_stencil,gc_setStencilTest=gc.stencil,gc.setStencilTest
|
||||
|
||||
local int,ceil,rnd=math.floor,math.ceil,math.random
|
||||
local max,min,sin,modf=math.max,math.min,math.sin,math.modf
|
||||
local setFont,mStr=setFont,mStr
|
||||
local setFont,mDraw,mStr=setFont,mDraw,mStr
|
||||
local TIME=TIME
|
||||
|
||||
local frameColorList={
|
||||
@@ -867,7 +867,7 @@ function draw.small(P)
|
||||
--Draw result
|
||||
if P.result then
|
||||
gc_setColor(1,1,1,min(P.endCounter,60)*.01)
|
||||
setFont(20)mStr(drawableText[P.result],32,47)
|
||||
setFont(20)mDraw(drawableText[P.result],30,60,nil,P.size)
|
||||
setFont(15)mStr(P.modeData.place,30,82)
|
||||
end
|
||||
gc_pop()
|
||||
|
||||
@@ -1702,7 +1702,7 @@ function Player:win(result)
|
||||
self:changeAtk()
|
||||
end
|
||||
if self.type=='human'then
|
||||
GAME.result=result or'win'
|
||||
GAME.result=result or'gamewin'
|
||||
SFX.play('win')
|
||||
VOC.play('win')
|
||||
if GAME.modeEnv.royaleMode then
|
||||
@@ -1807,7 +1807,7 @@ function Player:lose(force)
|
||||
self:showTextF(self.modeData.place,0,120,60,'appear',.26,.9)
|
||||
end
|
||||
self.gameEnv.keepVisible=self.gameEnv.visible~='show'
|
||||
self:showTextF(text.gameover,0,0,60,'appear',.26,.9)
|
||||
self:showTextF(text.lose,0,0,90,'appear',.26,.9)
|
||||
if self.type=='human'then
|
||||
GAME.result='gameover'
|
||||
SFX.play('fail')
|
||||
|
||||
Reference in New Issue
Block a user