Hi all,
I'm using the latest release version of cocos2d (v0.8.1).
The 'fading in' code below used to work, but now all I see is a black screen?
Any ideas why?
AtlasSprite *bg= [[Sprite spriteWithFile:@"Menu.png"] retain];
bg.position = ccp(160, 224);
bg.opacity = 0;
[self addChild:bg z:0];
id fadeInBackground = [Sequence actions: [FadeIn actionWithDuration:1.0f], nil];
[bg runAction: fadeInBackground];
Thanks,
Dan