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

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -