Game Level starts in Main Menu

Hey guys! I made a main menu in a new level but when I hit play, main menu is fine but I hear my character’s breath in the game level. I want the game level starts with it’s animation and background music after hitting “Start” button in main menu. I found out about “Set Game Paused” node but I don’t know how to use it. What could be the solution here?

Hi there

To your question, on event construct, get owning player, get a function called “set game paused” and set it to true.

Then, find the button associated to “begin gameplay”, and connect set game paused to false before starting the game.

Pausing the game may affect gamepad controls for your main menu, so you’ll need some supporting functions.

Typically, a main menu is not a playable level, so you don’t spawn your player character on it. On clicking begin gameplay, you want to add a function called “open level”, so that is your first playable level. Also, you may be interested in learning more about game modes, which are set per level.

Hope that helps.

What a savior thank you so much it works perfectly!

1 Like