对战房间的准备按钮颜色和文本会随状态改变
This commit is contained in:
@@ -259,7 +259,8 @@ return{
|
|||||||
down="↓",
|
down="↓",
|
||||||
},
|
},
|
||||||
net_game={
|
net_game={
|
||||||
ready="Ready/Cancel",
|
ready="Ready",
|
||||||
|
cancel="Cancel",
|
||||||
},
|
},
|
||||||
net_chat={
|
net_chat={
|
||||||
send="Send",
|
send="Send",
|
||||||
|
|||||||
@@ -231,7 +231,8 @@ return{
|
|||||||
down="↓",
|
down="↓",
|
||||||
},
|
},
|
||||||
net_game={
|
net_game={
|
||||||
-- ready="Ready/Cancel",
|
-- ready="Ready",
|
||||||
|
-- cancel="Cancel",
|
||||||
},
|
},
|
||||||
net_chat={
|
net_chat={
|
||||||
send="Envoyer",
|
send="Envoyer",
|
||||||
|
|||||||
@@ -259,7 +259,8 @@ return{
|
|||||||
down="↓",
|
down="↓",
|
||||||
},
|
},
|
||||||
net_game={
|
net_game={
|
||||||
-- ready="Ready/Cancel",
|
-- ready="Ready",
|
||||||
|
-- cancel="Cancel",
|
||||||
},
|
},
|
||||||
net_chat={
|
net_chat={
|
||||||
send="Mandar",
|
send="Mandar",
|
||||||
|
|||||||
@@ -238,6 +238,7 @@ return{
|
|||||||
},
|
},
|
||||||
net_game={
|
net_game={
|
||||||
ready="Estoy Listo",
|
ready="Estoy Listo",
|
||||||
|
-- cancel="Cancel",
|
||||||
},
|
},
|
||||||
net_chat={
|
net_chat={
|
||||||
send="Enviar",
|
send="Enviar",
|
||||||
|
|||||||
@@ -259,7 +259,8 @@ return{
|
|||||||
down="↓",
|
down="↓",
|
||||||
},
|
},
|
||||||
net_game={
|
net_game={
|
||||||
ready="准备/取消",
|
ready="准备",
|
||||||
|
cancel="取消",
|
||||||
},
|
},
|
||||||
net_chat={
|
net_chat={
|
||||||
send="发送",
|
send="发送",
|
||||||
|
|||||||
@@ -275,6 +275,14 @@ scene.widgetList={
|
|||||||
return
|
return
|
||||||
playing or
|
playing or
|
||||||
not textBox.hide 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")
|
NET.getlock("ready")
|
||||||
end},
|
end},
|
||||||
WIDGET.newKey{name="hideChat",fText="...",x=380,y=35,w=60,font=35,code=pressKey"\\"},
|
WIDGET.newKey{name="hideChat",fText="...",x=380,y=35,w=60,font=35,code=pressKey"\\"},
|
||||||
|
|||||||
Reference in New Issue
Block a user