hi ,
i created a menu and that contains "startgame","settings","about" and "exit". when i touch the startgame it loads a play screeen . i added a pause button on playscreen. when i touch a pause button game will show the menu screen.. menu and playscreen created in two scene.when i call the pause method that pause the all scene.
when i touch the pause button i called the pause method that contains
{
[[CCDirector shareddirector] pause];
}
but i need to display the menu screen again. how to implement this one.
the CCDirector pause the whole game.but i need to pause the playscreen only and call the another scene
i created a menu and that contains "startgame","settings","about" and "exit". when i touch the startgame it loads a play screeen . i added a pause button on playscreen. when i touch a pause button game will show the menu screen.. menu and playscreen created in two scene.when i call the pause method that pause the all scene.
when i touch the pause button i called the pause method that contains
{
[[CCDirector shareddirector] pause];
}
but i need to display the menu screen again. how to implement this one.
the CCDirector pause the whole game.but i need to pause the playscreen only and call the another scene