Hello I am going from a view to a scene called GamePlay using an IBAction called btnClickedNext -
I get an error - expected 'struct CCScene *' when passing argument 1 of 'replaceScene:' from distinct Objective-C type
So I am working at using CCScene instead but do not know the correct structure - can some one point out how to incorporate the CCScene?
GamePlay *newscene = [GamePlay node];
[[CCDirector sharedDirector] replaceScene: newscene];
I tried - but do not know how to get it to point to the GamePlay node - thanks
CCScene *newScene = [CCScene node];