Hi everyone , I am new to cocos2d and I am developing game using cocos2d framework. I want to scale the image of sprite/AtlasSprite object at run time.
Let me explain with example : In cocoa I am using UIImageView , to scale or re-size the image I am setting property "setBounds" of UIImageView. i.e. [ElectricWaveOne setBounds:CGRectMake(CenterPoint.x ,CenterPoint.y, width, height)]; here ElectricWaveOne is an object of UIImageView. so I can scale the existing allocated image. Now I want to do same with sprite object in cocos2d. so , Is there any property of sprite/AtlasSprite object to scale the image? How to change image of sprite at run time? What is difference between Sprite and AtlasSprite? Regards' Pravin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cocos-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
