博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
cocos2d-x 动画详解之五CCAnimation,
阅读量:4332 次
发布时间:2019-06-06

本文共 527 字,大约阅读时间需要 1 分钟。

CCAnimation

用于演示动画在CCSprite上 动画有自己的名称 比如兔子跳 兔子跑

包含若干个

 

A  object is used to perform animations on the  objects.

The  object contains  objects, and a possible delay between the frames. You can animate a  object by using the  action. Example:

[sprite runAction:[ actionWithAnimation:animation]];

 

CCAnimationCache

用与一组动画的管理

Singleton that manages the Animations.

It saves in a cache the animations. You should use this class if you want to save your animations in a cache.

 

 

转载于:https://www.cnblogs.com/afly/archive/2012/03/06/2382321.html

你可能感兴趣的文章
笛卡尔遗传规划Cartesian Genetic Programming (CGP)简单理解(1)
查看>>
mysql 日期时间运算函数(转)
查看>>
初识前端作业1
查看>>
ffmpeg格式转换命令
查看>>
万方数据知识平台 TFHpple +Xpath解析
查看>>
Hive实现oracle的Minus函数
查看>>
秒杀多线程第四篇 一个经典的多线程同步问题
查看>>
RocketMQ配置
查看>>
vs code调试console程序报错--preLaunchTask“build”
查看>>
蚂蚁金服井贤栋:用技术联手金融机构,形成服务小微的生态合力
查看>>
端口号大全
查看>>
机器学习基石笔记2——在何时可以使用机器学习(2)
查看>>
POJ 3740 Easy Finding (DLX模板)
查看>>
MySQL 处理重复数据
查看>>
关于typedef的用法总结(转)
查看>>
【strtok()】——分割字符串
查看>>
Linux下安装rabbitmq
查看>>
曹德旺
查看>>
【转】判断点在多边形内(matlab)
查看>>
java基础之集合:List Set Map的概述以及使用场景
查看>>