Starting a cocos2d game with initial gameplay as background
Posted
by boz
on Stack Overflow
See other posts from Stack Overflow
or by boz
Published on 2010-03-21T23:09:42Z
Indexed on
2010/03/22
14:01 UTC
Read the original article
Hit count: 308
Hi All,
Id like to start my game, with the initial game play layout as the background, with a buttons layer over the top with maybe 'Tap to start' and a high score etc.
and similarly, when the game finishes, id like to just 'pause' the final game play layout and overlay a game over menu of sorts.
I tried calling [[CCDirector sharedDirector] pause] as the last line of the appDidFinishLaunching which didnt seem to have any effect.
Is there a better way trying to do this? I dont really like my initial approach.
© Stack Overflow or respective owner