开场动画界面鼠标右键不退出

This commit is contained in:
MrZ626
2020-11-20 19:30:53 +08:00
parent c91a79488d
commit 3876169ce3

View File

@@ -19,10 +19,8 @@ function sceneInit.intro()
end
function mouseDown.intro(_,_,k)
if k==2 then
VOC.play("bye")
SCN.back()
elseif NOGAME=="delSetting"then
if k~=2 then
if NOGAME=="delSetting"then
LOG.print("检测到过老版本无效设置数据,设置已经全部重置,请重启游戏完成",600,COLOR.yellow)
LOG.print("Old version detected & setting file deleted, please restart the game",600,COLOR.yellow)
else
@@ -35,12 +33,14 @@ function mouseDown.intro(_,_,k)
end
end
end
end
function touchDown.intro()
mouseDown.intro()
end
function keyDown.intro(key)
if key=="escape"then
mouseDown.intro(nil,nil,2)
VOC.play("bye")
SCN.back()
else
mouseDown.intro()
end