@111396 写道:
local pokerFront = self:getChildByTag(1)
local pokerBack = self:getChildByTag(2)local orbitTime = 0.3 pokerFront:setVisible(false); local kInAngleZ = 90 local kInDeltaZ = -90 local kOutAngleZ = 0 local kOutDeltaZ = -90 local inAction = cc.Sequence:create(cc.DelayTime:create(orbitTime), cc.Show:create(), cc.OrbitCamera:create(orbitTime,1,0,kInAngleZ,kInDeltaZ,0,0) ) local outAction = cc.Sequence:create(cc.OrbitCamera:create(orbitTime, 1, 0, kOutAngleZ, kOutDeltaZ, 0, 0), cc.Hide:create(), cc.DelayTime:create(orbitTime) ) pokerFront:runAction(inAction) pokerBack:runAction(outAction)
帖子: 1
参与者: 1