更新后跳转
This commit is contained in:
@@ -150,14 +150,13 @@ function mouseDown.intro(x,y,k)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
function touchDown.intro(id,x,y)
|
function touchDown.intro(id,x,y)
|
||||||
SCN.goto("main")
|
mouseDown.intro()
|
||||||
end
|
end
|
||||||
function keyDown.intro(key)
|
function keyDown.intro(key)
|
||||||
if key=="escape"then
|
if key=="escape"then
|
||||||
VOC.play("bye")
|
mouseDown.intro(nil,nil,2)
|
||||||
SCN.back()
|
|
||||||
else
|
else
|
||||||
SCN.goto("main")
|
mouseDown.intro()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -266,7 +266,14 @@ function sceneInit.stat()
|
|||||||
end
|
end
|
||||||
function sceneInit.history()
|
function sceneInit.history()
|
||||||
BG.set("game3")
|
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
|
end
|
||||||
function sceneInit.debug()
|
function sceneInit.debug()
|
||||||
sceneTemp={
|
sceneTemp={
|
||||||
@@ -342,7 +349,7 @@ function SCN.push(tar,style)
|
|||||||
end
|
end
|
||||||
function SCN.pop()
|
function SCN.pop()
|
||||||
local _=SCN.seq
|
local _=SCN.seq
|
||||||
_[#_-1]=nil
|
_[#_],_[#_-1]=nil
|
||||||
end
|
end
|
||||||
function SCN.swapTo(tar,style)
|
function SCN.swapTo(tar,style)
|
||||||
local S=SCN.swap
|
local S=SCN.swap
|
||||||
|
|||||||
@@ -38,7 +38,12 @@ function Tmr.load()
|
|||||||
S.cur=S.cur+1
|
S.cur=S.cur+1
|
||||||
S.tar=S.cur
|
S.tar=S.cur
|
||||||
if S.cur>62.6 then
|
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
|
end
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user