对战房间的准备按钮颜色和文本会随状态改变

This commit is contained in:
MrZ626
2021-04-12 21:25:11 +08:00
parent bb3bb938e8
commit df5c16e05f
6 changed files with 17 additions and 4 deletions

View File

@@ -259,7 +259,8 @@ return{
down="",
},
net_game={
ready="Ready/Cancel",
ready="Ready",
cancel="Cancel",
},
net_chat={
send="Send",

View File

@@ -231,7 +231,8 @@ return{
down="",
},
net_game={
-- ready="Ready/Cancel",
-- ready="Ready",
-- cancel="Cancel",
},
net_chat={
send="Envoyer",

View File

@@ -259,7 +259,8 @@ return{
down="",
},
net_game={
-- ready="Ready/Cancel",
-- ready="Ready",
-- cancel="Cancel",
},
net_chat={
send="Mandar",

View File

@@ -238,6 +238,7 @@ return{
},
net_game={
ready="Estoy Listo",
-- cancel="Cancel",
},
net_chat={
send="Enviar",

View File

@@ -259,7 +259,8 @@ return{
down="",
},
net_game={
ready="准备/取消",
ready="准备",
cancel="取消",
},
net_chat={
send="发送",

View File

@@ -275,6 +275,14 @@ scene.widgetList={
return
playing or
not textBox.hide or
PLY_NET[1].ready or
NET.getlock("ready")
end},
WIDGET.newKey{name="cancel",x=900,y=560,w=400,h=100,color="grey",font=40,code=pressKey"space",hide=function()
return
playing or
not textBox.hide or
not PLY_NET[1].ready or
NET.getlock("ready")
end},
WIDGET.newKey{name="hideChat",fText="...",x=380,y=35,w=60,font=35,code=pressKey"\\"},