/** Creates a OrbitCamera action with radius,delta-radius,z,deltaZ,x,deltaX.
*
* @param t Duration in seconds.
* @param radius The start radius.
* @param deltaradius The delta radius.
* @param angleZ The start angle in Z.
* @param deltaAngleZ The delta angle in Z.
* @param angleX The start angle in X.
* @param deltaAngleX The delta angle in X.
* @return An OrbitCamera.
*/
static OrbitCamera* create(float t,float radius,float deltaradius,float angleZ,float deltaAngleZ,float angleX,float deltaAngleX);
--eg:
local scaleto = cc.Scaleto:create(0.5,0)
local spawn = cc.Spawn:create(orbitCamera,scaleto)
local delay = cc.DelayTime:create(1)
--[[
local sequence = cc.Sequence:create(delay,spawn,cc.CallFunc:create(function()
layout:removeFromParent()
end))
layout:runAction(sequence)
]]
总结以上是内存溢出为你收集整理的cocos2d lua 上下翻牌全部内容,希望文章能够帮你解决cocos2d lua 上下翻牌所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)