Hi everyone ,
I am new to cocos2d and I am developing game using cocos2d framework.
I want to set new image to existing/allocated sprite at run time.
Let me explain with example :
In cocoa I am using UIImageView , to resize the image I am setting property of UIImageView as
[ElectricWaveOne setBounds:CGRectMake(CenterPoint.x ,CenterPoint.y, width, height)];
here ElectricWaveOne is an object of UIImageView. so I can resize existing image.
I want to do same with sprite object.
Is there any property of sprite/AtlasSprite object?
How to change image of sprite at run time?
Regards'
Pravin