Hi guys
I am an experienced programmer but new to COCOS2D and I am stuck on something. Been googling for hours and can't find solution.
I am using actions like this without a problem:
id actionFadeOut = [FadeOut actionWithDuration:1.2f];
But now I need an instant action to hide a sprite but can't get it to work. I can't just use sprite.visible because I want to sequence the 'fadeout' action and then the 'hide' instant action but I just can't get it to compile.
Could someone just post an example of how to setup an instant action please?
Many thanks
Dean