Hi!

I'm new at iphone programming and need help. I tried to display sprite
containing image with gradient but sprite has wide lines instead of
gradient.. Other sprites display properly. Heres my code:

- (id) init {
    self = [super init];
    if (self != nil) {
                Sprite * bg = [Sprite spriteWithFile:@"Tittle_finish.png"];
                Sprite * bs = [Sprite spriteWithFile:@"bigspot.png"];
        [bg setPosition:cpv(160, 240)];
        [bs setPosition:cpv(160, 240)];
        [self add:bg z:0];
                [self add:bs z:1];
        }
    return self;
}

I tested it only on simulator.
Thanks for any help!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to