check out my platformer starter kit.
If you are one of the lazy ones heres how i did it without plugins ages ago =
1. Add a simple sprite to your layout. NOT a tiled BG !
2. Call the sprite MenuBG and set its initial visibility to false
3. On keypress ESC set visible of MenuBG to Visible
4. Then add menu buttons and stuff the same way and your almost done.