I created a fps shooter game and i want to make ui for my game (main menu) . I know i will create using widget blueprint hud's but i have an issue . I created a hud for my character it display's health , ammo, minimap , etc. and give access to FirstPersonCharacter blueprint in event begin play node but whenever i create a main menu hud and give access to the level blueprint class . Now the problem is that whenever i play it. It shows both hud's at the same time. So how can i display the menu hud first and when i play the game using a button to load a level and then it will display the second hud . Thanks in Advance
How can i make main menu in unreal engine 4 blueprints
1.6k Views Asked by Zain At
1
There are 1 best solutions below
Related Questions in UNREAL-ENGINE4
- How to solve "Project is not configured" problem when opening the Unreal Engine project in CLion?
- UE4: CodeSign Failed, get-task-allow entitlement doesn't match
- Troubleshooting Unreal Engine Integration with Quiche Library for QUIC Client Development
- How to correctly Save & Load a Boolean variable in UE
- How can I add physics such as gravity to CAD files that are imported during runtime in Unreal Engine?
- Does rendering/baking get rid of any Antialiasing ghosting?
- Send image over UDP to Unreal Engine and load it there
- UE4.27 spectator crach
- Create TArray dynamically in Unreal Engine
- Unreal Engine 4.18 Lobby Browser List is region locked to steam download region
- Actor moves towards the wrong axis in UnrealEngine
- how to match android device of player with the device name in android benchmark data?
- (Unreal) How can I draw on a UI image?
- Emulated mouse clicks with Win32 API not registering with game application
- How do I convert my html game into an executable file?
Related Questions in GAME-DEVELOPMENT
- Physics.OverlapSphere couldn't detect my ‘Player’
- Dots and Boxes with apha-beta pruning
- Cannot sync non-player objects in Unity mirror
- Calling an event with a delay in Roblox Studio. How to do?
- writing event_management in unity
- Variable in Python going up by more than 1 at a time
- Can I pre-scale and cache Images?
- Preventing the ball from moving after restarting the game in Raylib C++
- Pixi.JS Collision detection
- Player update vs world update module in game development
- JComponent added to JPanel doesn't appear?
- How to apply the margin UI image to the end of screen as given in image, Unity?
- Points system in Unity not working. I want to count points but make both objects disappear and it's not working
- How do I launch my game on steam via script?
- Grid-like lines in my procedurally generated mesh
Related Questions in HUD
- Unity World Space UI that renders in front of gameobjects but is still maskable
- Display 3D data from radar on 2D HUD
- How do I project Python terminal to another window?
- How to show HUD with custom UIView using SwiftUI?
- HUD post-processing in Godot
- Is there a way to generate names on top of a sprite?
- SwiftUI - Animating HUD / Pop Over like iOS Silent Mode
- Live navigation instructions from the HERE app on smartphone
- How can I get the x,y,z axes in forge viewer which is similar to HUD in Navisworks?
- Unreal - Create Widget in blueprint - fills the screen instead of keeping its dimensions
- Maya Custom HUD with python api
- NSUserDefaults Saving Score
- SpriteKit Controls / Gesture
- HUD for Supermario Project C++ & Qt
- How can i make main menu in unreal engine 4 blueprints
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The way I have approached this is to have a separate Level for my Main Menu.
I have a level called 'MainMenu' and a level called 'MainGame'
My MainMenu level has one set of Widgets visible which contains a Start Game button. On the 'On Clicked' event for this button, it calls the 'Open Level' function node which takes the Level Name. You have to type in the level name you want to load, which is case-sensitive (very important).
Because I have two levels, they each have their own Level Blueprint - I use these two separate level blueprints to load Widgets that are consistent only for each level.
I also have blueprint widgets showing and hiding within a single level, for example an in-game pause menu, with an options screen. I use a button that is always visible to be able to bring up the pause menu. In my pause menu, I have an options button.
I use various button's 'On Clicked' events in order to use the 'Set Visibility' function node. You can target a widget, and set it's Visibility to Visible or Hidden. This way, I can get several widgets to show/hide as I traverse an in-game menu.