spritebuilder / SpriteBuilder

Objective-C Game Development Suite
http://www.spritebuilder.com/
Other
739 stars 292 forks source link

CCActionScaleTo broken for duration < 1.0f #1600

Open tangogrowler opened 8 years ago

tangogrowler commented 8 years ago

For durations less than 1.0f, CCActionScaleTo doesn't do anything. Also affects CCActionScaleBy

eg. Broken: [CCActionScaleTo actionWithDuration:0.95f scale:0.5f];

Working: [CCActionScaleTo actionWithDuration:1.f scale:0.5f];

Using SB: 1.4.9 and associated Cocos2d version