Hello Guys,
I started with Cocos and i like it very much.
I created a second CCLayer Class and try to switch from HelloWorldScene to my new Class.
In the HelloWorld-Class i put this to see my new Layer:
[self addChild:[[game alloc]init]];
But how to cleanup the old HelloWorld Scene ?
I tried with [self removeChild: bla cleanup:YES]
it works, but its just removing one sprite.
So my question is:
Is there a function to cleanup the whole screen ??
Thanks for help