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