Hi everyone,
I’m new to Unreal Engine (currently using UE5) and I’m trying to create a simple main menu UI for my game. What I want is something basic: a start button, options button, and quit button. I’ve looked up some tutorials, but I’m still confused about how to properly set it up and make the buttons actually work.
Here’s what I’ve done so far:
- I created a new Widget Blueprint and added the buttons.
- I used the
Create Widget
node in my Level Blueprint to display it.
- But the buttons don’t seem to respond when I click them, and I’m not sure if I’m setting up the inputs or the logic correctly.
Some questions I have:
- What is the best practice to trigger level loading from a UI button (like “Start Game”)?
- Do I need to use a Game Mode or Player Controller to handle UI logic?
- How do I exit the game properly with a “Quit” button? (I tried using
Quit Game
but it doesn’t always work.)
I would really appreciate any tips, resources, or example projects that could help me understand the right workflow for UI menus in Unreal.
Thanks a lot in advance!
Well many aspects to it when you create a main menu and there are many aspects to it when designing one, can be more sophisticated sometimes in AAA games.
You can start by diving into some tutorials in Youtube imo like this since best way to learn it is to do it.
Couple of experienced designer advice.
- Keep your main menu a seperate level. level_MainMenu.
- Keep in mind that you are still in development so include test related buttons like open a test level.
- Keep your widgets modular, simply atomic design principles. If there is a button, its not main menu button, a button should be useable in many places.
- For start keep it clean, simple and stupid. Functionality is always more important than usability that is also more important than art. There will be iterations so start simple.
- You can use commandline arguments or nodes for opening and loading a level. There are more ways and many details how a level loaded and opened, depending its a multiplayer or single player or other aspects of the game. You can just search open level command unreal from google.
Start doing some steps when you get stuck ask on this thread, we help. I have extensive experience with them and interfaces in general.