I just wanted to clarify something here for Cocos2D, does setScaleX/and setScale Y adjust the width and height of the object?
I have googled for the documentation for Cocos2D but I didn't see it so I just wanted to clarify here.
So would something like this make the width 35?
[sprite1 setScaleX:35 / sprite1.contentSize.width];
Thanks!
You want CCNodes scale property for both x and y:
If you want to do it gradually use one of these actions: