CCScaleTo Class Reference
Inherits from | CCActionInterval : CCFiniteTimeAction : CCAction : NSObject |
Conforms to | NSCopying |
Declared in | CCActionInterval.h CCIntervalAction.h |
Overview
Scales a CCNode object to a zoom factor by modifying its scale attribute.
Warning: This action doesn’t support “reverse”
Tasks
-
+ actionWithDuration:scale:
creates the action with the same scale factor for X and Y
-
– initWithDuration:scale:
initializes the action with the same scale factor for X and Y
-
+ actionWithDuration:scaleX:scaleY:
creates the action with and X factor and a Y factor
-
– initWithDuration:scaleX:scaleY:
initializes the action with and X factor and a Y factor