微调初始化主题的时机
This commit is contained in:
@@ -8,6 +8,7 @@ local scene={}
|
||||
local t1,t2,animateType
|
||||
|
||||
function scene.sceneInit()
|
||||
BG.set()
|
||||
t1,t2=0,0--Timer
|
||||
animateType={rnd(5),rnd(5),rnd(5),rnd(5),rnd(5),rnd(5),rnd(5),rnd(5)}--Random animation type
|
||||
end
|
||||
|
||||
@@ -182,7 +182,6 @@ local loadingThread=coroutine.create(function()
|
||||
authToken=USER.authToken,
|
||||
})
|
||||
]]
|
||||
THEME.fresh()
|
||||
while true do
|
||||
if math.random()<.126 then
|
||||
upFloor()
|
||||
@@ -191,6 +190,7 @@ local loadingThread=coroutine.create(function()
|
||||
loadingThread=false
|
||||
SFX.play("welcome_sfx")
|
||||
VOC.play("welcome_voc")
|
||||
THEME.fresh()
|
||||
return
|
||||
end
|
||||
YIELD()
|
||||
|
||||
Reference in New Issue
Block a user