更新后跳转

This commit is contained in:
MrZ_26
2020-07-30 01:07:45 +08:00
parent 61277c60dd
commit 1545d30edd
3 changed files with 18 additions and 7 deletions

View File

@@ -150,14 +150,13 @@ function mouseDown.intro(x,y,k)
end
end
function touchDown.intro(id,x,y)
SCN.goto("main")
mouseDown.intro()
end
function keyDown.intro(key)
if key=="escape"then
VOC.play("bye")
SCN.back()
mouseDown.intro(nil,nil,2)
else
SCN.goto("main")
mouseDown.intro()
end
end