Hey people,
I am making a simple game and in my first scene (my main menu scene) I'm trying to fade my menu items in like so:
settings = [MenuItemImage itemFromNormalImage:@"settings.png" selectedImage:@"settings.png" target:self selector:@selector(settingsScene:)];
settings.position = ccp(-130, 210);
settings.rotation = 340;
[settings runAction:[FadeIn actionWithDuration:1.0f]];
I later add the settings object to a menu object.
My problem with this is that when I first launch my app the settings icon displays at full opacity and then it gets to the fade code so the icon disappears and then fades back in. I'd like it to just start with 0 opacity and fade in.
Any answers are welcome =]
- Joe