【逍遥游】转盘再加速
parent
aa9ce7f992
commit
f4912f5772
|
@ -98,18 +98,18 @@ function XiaoYaoLuckyTurnTablePopup:test(itemId)
|
|||
end,0.1,10,true)
|
||||
this.turnEffect2:Start()
|
||||
coroutine.wait(1)
|
||||
--减速阶段
|
||||
if this.turnEffect2 then
|
||||
this.turnEffect2:Stop()
|
||||
this.turnEffect2 = nil
|
||||
end
|
||||
this.turnEffect2 = Timer.New(function()
|
||||
this:tableTurnEffect(1/t)
|
||||
t=t-3.3
|
||||
end,0.1,10,true)
|
||||
this.turnEffect2:Start()
|
||||
coroutine.wait(1)
|
||||
this:tableTurnEffect(0.2,itemId)
|
||||
-- --减速阶段
|
||||
-- if this.turnEffect2 then
|
||||
-- this.turnEffect2:Stop()
|
||||
-- this.turnEffect2 = nil
|
||||
-- end
|
||||
-- this.turnEffect2 = Timer.New(function()
|
||||
-- this:tableTurnEffect(1/t)
|
||||
-- t=t-3.3
|
||||
-- end,0.1,10,true)
|
||||
-- this.turnEffect2:Start()
|
||||
-- coroutine.wait(1)
|
||||
this:tableTurnEffect(0.1,itemId)
|
||||
end)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue