On Thu, Mar 12, 2009 at 8:51 AM, Rabbit <[email protected]> wrote:
>
> 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!

for iphone issues, please use the iphone list:
http://groups.google.com/group/cocos2d-iphone-discuss

Lucio.

--~--~---------~--~----~------------~-------~--~----~
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