更新后跳转
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -266,7 +266,14 @@ function sceneInit.stat()
|
||||
end
|
||||
function sceneInit.history()
|
||||
BG.set("game3")
|
||||
sceneTemp={require("parts/updateLog"),1}--scroll pos
|
||||
sceneTemp={
|
||||
require("parts/updateLog"),
|
||||
1--scroll pos
|
||||
}
|
||||
if newVersionLaunch then
|
||||
newVersionLaunch=nil
|
||||
sceneTemp[2]=4
|
||||
end
|
||||
end
|
||||
function sceneInit.debug()
|
||||
sceneTemp={
|
||||
@@ -342,7 +349,7 @@ function SCN.push(tar,style)
|
||||
end
|
||||
function SCN.pop()
|
||||
local _=SCN.seq
|
||||
_[#_-1]=nil
|
||||
_[#_],_[#_-1]=nil
|
||||
end
|
||||
function SCN.swapTo(tar,style)
|
||||
local S=SCN.swap
|
||||
|
||||
@@ -38,7 +38,12 @@ function Tmr.load()
|
||||
S.cur=S.cur+1
|
||||
S.tar=S.cur
|
||||
if S.cur>62.6 then
|
||||
SCN.swapTo("intro","none")
|
||||
if newVersionLaunch then
|
||||
SCN.push("intro","fade")
|
||||
SCN.swapTo("history","fade")
|
||||
else
|
||||
SCN.swapTo("intro","none")
|
||||
end
|
||||
end
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user