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

Class Methods

actionWithDuration:scale:

creates the action with the same scale factor for X and Y

+ (id)actionWithDuration:(ccTime)duration scale:(float)s

Declared In

CCActionInterval.h

actionWithDuration:scaleX:scaleY:

creates the action with and X factor and a Y factor

+ (id)actionWithDuration:(ccTime)duration scaleX:(float)sx scaleY:(float)sy

Declared In

CCActionInterval.h

Instance Methods

initWithDuration:scale:

initializes the action with the same scale factor for X and Y

- (id)initWithDuration:(ccTime)duration scale:(float)s

Declared In

CCActionInterval.h

initWithDuration:scaleX:scaleY:

initializes the action with and X factor and a Y factor

- (id)initWithDuration:(ccTime)duration scaleX:(float)sx scaleY:(float)sy

Declared In

CCActionInterval.h