cocos2d iphone - How remove color of ccsprite? -


i had applied color ccsprite. sprite initilize image of green color. after applied red color it. how remove red color , bring original image color?

suppose original image enter image description here

now when apply red color it, colored red. question how remove color applied?

the code use

ccsprite *ballsprite=[[ccsprite alloc]initwithfile:@"ball.png"]; ballsprite.color=ccred; 

simple:

allsprite.color = ccwhite; 

Comments

Popular posts from this blog

How to logout from a login page in asp.net -

Stack level too deep error after upgrade to rails 3.2 and ruby 1.9.3 -