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
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
Post a Comment