Hey developers !
I have a little problem concerning OpenFeint's initialization. OF is initialized in my HelloWorldScene init method. When the app launches, HelloWorldScene is the first view loaded, so OF is initialized on the first view who is the menu. Then, in my GamePlay class, I want the user to be able to go back to the menu, so to the HelloWorldScene class. I did it with this code who is called when the user tap on the button "Back to menu" from the pause menu :
[[CCDirector sharedDirector] replaceScene:[CCSplitRowsTransition transitionWithDuration:1 scene:[HelloWorld node]]];
The problem is that when the user tap on this button, the helloWorldScene can't load itself because initializing OpenFeint more than one time is not allowed (when the user taps on this button, the init method of the HelloWorldScene class is called and so OpenFeint is initialized one more time). Do you have any ideas to resolve this problem ?
Thanks in advance for your help and time !