cocos2d-x ActionManager控制精灵的暂停运动(2)
来源:未知 责任编辑:责任编辑 发表时间:2013-11-18 20:55 点击:次
p> } else if (isPause)
p> {
p> director->getActionManager()->resumeTarget( this ->getChildByTag(1));
p> isPause=!isPause;
p> }
p>我们看pauseTarget的声名为:
p> /** Pauses the target: all running actions and newly added actions will be paused.
p> */
p> void pauseTarget(CCObject *pTarget);
p>对传入的对象进行暂停。
相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 进入详细评论页>>
您可能感兴趣的文章
- cocos2d-x 动画详解之一CCSprite
- 《BREW进阶与精通——3G移动增值业务的运营、定
- 关于“.WriteLine()是否需要这么多重载”的笔记
- cocos2d-x-3.0 alpha1与C++11练习十:飞镖忍者,在Wel
- Cocos2d-x 3.2 大富翁游戏项目开发-第十部分实现人
- cocos2d-x 2.0.3 设置高清模式注意事项(cocos2d-x 2.
- cocos2d中CCSprite的使用总结
- cocos2d-x protobuf; cocos2dx protocol buffer
- cocos2d-x在win32和iOS、android下获取当前系统时间的
- [cocos2d-x]公告栏的实现-文字左右移动

![cocos2d_x+lua[2]](/uploads/allimg/131030/110J64609-0-lp.jpg)








