question on loading pause menu and gameover menu

Which is better?
1)load pause menu and gameover menu together on the start of the gameplay

or

2)load the gameover menu when the game is over and the pause menu when the player press on the pause button
[import]uid: 40786 topic_id: 12881 reply_id: 312881[/import]

I can’t really say if either is better, I know some people prefer to load everything up front but I do the latter and I’ve never had any problems with it :slight_smile: [import]uid: 52491 topic_id: 12881 reply_id: 47286[/import]

In my upcoming game I loaded the menu up at start and put them off the screen and out of view. When they press the corresponding button I transitioned them into view, then transitioned them back out when they were done. Not sure if it is the better way but works fine for me. [import]uid: 31262 topic_id: 12881 reply_id: 47323[/import]

but will this consume the memory while playing the game because the menu is there but just out of the screen?
[import]uid: 40786 topic_id: 12881 reply_id: 47337[/import]

My game has different levels and the menu is cleared each level and created again in the next level (using director class). I have been testing on several devices and haven’t had any problems. [import]uid: 31262 topic_id: 12881 reply_id: 47341[/import]