主菜单退出按钮改成返回按钮
This commit is contained in:
@@ -220,7 +220,6 @@ return{
|
||||
about="About",
|
||||
dict="Zictionary",
|
||||
manual="Manual",
|
||||
quit="Exit",
|
||||
},
|
||||
main_simple={
|
||||
sprint="Sprint",
|
||||
|
||||
@@ -197,7 +197,6 @@ return{
|
||||
-- about="About",
|
||||
dict="Zictionary",
|
||||
manual="Manuel",
|
||||
quit="Quitter",
|
||||
},
|
||||
mode={
|
||||
mod="Mods (F1)",
|
||||
|
||||
@@ -221,7 +221,6 @@ return{
|
||||
-- about="About",
|
||||
dict="Zictionary",
|
||||
manual="Manual",
|
||||
quit="Saída",
|
||||
},
|
||||
main_simple={
|
||||
sprint="Sprint",
|
||||
|
||||
@@ -198,7 +198,6 @@ return{
|
||||
about="Acerca del Juego",
|
||||
dict="Zictionary",
|
||||
manual="Manual",
|
||||
quit="Salir",
|
||||
},
|
||||
main_simple={
|
||||
sprint="Sprint",
|
||||
|
||||
@@ -102,7 +102,6 @@ return{
|
||||
about="?",
|
||||
dict="z",
|
||||
manual="???",
|
||||
quit="X",
|
||||
},
|
||||
mode={
|
||||
mod="?!?!?!(F1)",
|
||||
|
||||
@@ -220,7 +220,6 @@ return{
|
||||
about="关于",
|
||||
dict="小Z词典",
|
||||
manual="说明书",
|
||||
quit="退出",
|
||||
},
|
||||
main_simple={
|
||||
sprint="40行",
|
||||
|
||||
@@ -22,6 +22,8 @@ function scene.mouseDown(_,_,k)
|
||||
else
|
||||
SCN.go(SETTING.simpMode and"main_simple"or"main")
|
||||
end
|
||||
else
|
||||
SCN.swapTo("quit","slowFade")
|
||||
end
|
||||
end
|
||||
function scene.touchDown()
|
||||
@@ -30,7 +32,7 @@ end
|
||||
function scene.keyDown(key)
|
||||
if key=="escape"then
|
||||
VOC.play("bye")
|
||||
SCN.back()
|
||||
SCN.swapTo("quit","slowFade")
|
||||
else
|
||||
scene.mouseDown()
|
||||
end
|
||||
|
||||
@@ -193,7 +193,7 @@ scene.widgetList={
|
||||
{"doArc",53,31,40,2.3,3.9},
|
||||
}},
|
||||
WIDGET.newButton{name="about", x=-110,y=670,w=600,h=70, color="lB",font=35,align="R",edge=30,code=pressKey"x"},
|
||||
WIDGET.newButton{name="quit", x=1390,y=670,w=600,h=70, color="lR",font=40,align="L",edge=30,code=function()VOC.play("bye")SCN.swapTo("quit","slowFade")end},
|
||||
WIDGET.newButton{name="back", x=1390,y=670,w=600,h=70, color="lR",font=40,align="L",edge=30,code=backScene},
|
||||
}
|
||||
|
||||
return scene
|
||||
Reference in New Issue
Block a user