How To Create A Main Menu System In Unreal Engine 4 | UE4 Tutorial

  Рет қаралды 51,421

Matt Aspland

Matt Aspland

Күн бұрын

Hey guys, in today's video I'm going to be showing you how to set up and create a working main menu system for your game. This will include a main menu, credits, options and graphics settings, and a quit button.
#Ue4 #UnrealEngine4 #Ue4Tutorial
___________________________________________________________________________
00:00 - Intro
01:32 - Creating The Main Menu
08:09 - Creating The Options And Credits Menu
12:02 - Coding The Functionality And Buttons
17:00 - Opening The Main Menu (With Music)
19:23 - Final Overview
20:36 - Outro
___________________________________________________________________________
If you enjoy make sure to subscribe: / @mattaspland
Join My Discord Server: / discord
Follow Me On Twitter: / matt_aspland
Follow Me On Instagram: / matt_aspland_
All My Social Media Links: linktr.ee/MattAspland
___________________________________________________________________________
If you want to support me, there are many different ways of doing so. This is by no means expected or required. It is just a nice support :)
Patreon: / mattaspland
PayPal: paypal.me/mattaspland?country...
Ko-Fi: ko-fi.com/mattaspland
Thank you :)
___________________________________________________________________________
To access the project files and screenshots from the video, check out my Patreon above!
My Public Video List: trello.com/b/7vJgXzBm
Unreal Engine 4 Tutorials Playlist: • Unreal Engine 4 Tutorials
The Basics Of Nodes Playlist: • The Basics Of Nodes In...
___________________________________________________________________________
♫Outro Song♫
●Kronicle - Chill Noons

Пікірлер: 120
@RobinDale50
@RobinDale50 2 жыл бұрын
Yes we really NEED a good save/load tutorial that can simply show how it works
@MattAspland
@MattAspland 2 жыл бұрын
Thanks - I'll definitely make one soon!
@PatrickTheDM
@PatrickTheDM Жыл бұрын
I finally got to a point where I had to make a start menu and you came through 100% again Matt! I can't thank you enough.
@samuraiyt4453
@samuraiyt4453 2 жыл бұрын
Saw the intro and the menu looks NICE!
@hakanwennlof9739
@hakanwennlof9739 Жыл бұрын
Thanks a million, this was great! You take it so nicely step-by-step, and the end result is exactly what I needed :)
@AndreeaIliescu-fs8ug
@AndreeaIliescu-fs8ug Жыл бұрын
Brilliant explanation, pace and content! Thank you - your channel is amazing and it always saves my life when **** starts hitting the fan !
@CAB355
@CAB355 2 жыл бұрын
Matt thanks for the video, you're on top as always, I'll be waiting for a continuation in this direction.
@-Chadnik
@-Chadnik Ай бұрын
Just started creating my first game and so far your videos have been a massive help. You are definitely going into the credits xD
@Dawschitz
@Dawschitz 2 жыл бұрын
Thanks for these great instructional videos. Everything is short, clear and understandable. Shake your hand.
@R1GBYdev
@R1GBYdev 2 жыл бұрын
looks great so far, definetly make an options and mauktiple save files, that would be dope! Keep up the great work!
@MattAspland
@MattAspland 2 жыл бұрын
Thanks! Will do!
@zsolezk
@zsolezk Жыл бұрын
Good tempo, and just enough explanation. Danke!
@geoffrey3668
@geoffrey3668 2 жыл бұрын
Nic tutorial! Looking forward for the series!
@subrootsound
@subrootsound 2 жыл бұрын
Another great video, much appreciated Matt!
@ChuckstaGaming
@ChuckstaGaming Жыл бұрын
Awesome stuff! Blimey, I have gotten so much help from these vids that I may have to add Matt's name to the list of developers of my game! He'll have to feature in the credits for sure!
@Charlie_Chaos
@Charlie_Chaos Жыл бұрын
great tutorial, i needed a main menu for my uni project so thanks, i have added your name to the credits for the design hope thats ok
@fosterboy1587
@fosterboy1587 2 жыл бұрын
thanks mate i would love too see more of this would be amazing
@dkns-indiegamedevjourneyso3113
@dkns-indiegamedevjourneyso3113 2 жыл бұрын
Another great tutorial.. thank you Matt. 😃
@tyronejackson1491
@tyronejackson1491 2 жыл бұрын
Matt Aspland again with a very good tutorial! We love you dude, please continue making this!
@MattAspland
@MattAspland 2 жыл бұрын
Thank you so much for your support!
@thabudmaster
@thabudmaster 2 жыл бұрын
GREAT! would love to see a bit more, options & save yes please :)
@r_e_d_squirrel367
@r_e_d_squirrel367 Жыл бұрын
your making my game look good! thanks
@GameFlex-TV
@GameFlex-TV Жыл бұрын
THANK YOU SOO MUCH! You helped me a lot
@risingwolf2112
@risingwolf2112 2 жыл бұрын
Thank you so much, yes how to save would be great. Thanks for taken the time to help me learn.😎
@MattAspland
@MattAspland 2 жыл бұрын
Glad it was helpful! I'll add that to my list!
@nkorochinaechetam2516
@nkorochinaechetam2516 11 ай бұрын
wonderful and straight guide!
@necroixes8206
@necroixes8206 2 жыл бұрын
This was amazing! I have been trying to learn how to make a game through Unreal Engine, but so many of the videos I find are many versions older than mine and I dont see what they see or something was added that hinders me from continuing because it wasn't a thing in previous versions I am glad you are making these kind of videos and I will follow along with each clip so that I one day could publish a game! Thank you so much for what you do!
@aleksboboychev
@aleksboboychev 7 ай бұрын
Thank you!
@aaronvalentinalferez2306
@aaronvalentinalferez2306 2 жыл бұрын
Thank you for your grreat work!!! And yes! Do a tutorial on Importing and Using Custom Fonts, please.
@donutdevelopment
@donutdevelopment Жыл бұрын
Thanks for the excellent tutorial! this really helped me make my first game.
@MattAspland
@MattAspland Жыл бұрын
Glad to hear it!
@pufisd
@pufisd 2 жыл бұрын
Hey Matt! I want to thank you so much for your tutorials!I almost finished my game.If you didnt make these tutorials i would never get here😄
@soldierofodin6769
@soldierofodin6769 2 жыл бұрын
Great video again, thnx sir!
@kazz4646
@kazz4646 2 жыл бұрын
Not sure if anyone else has said this, but you can also load the levels by Object Reference so you don't need to worry about typing out the level names!
@justaceav8091
@justaceav8091 Жыл бұрын
Bro, i love you so much!
@brianwheatley8520
@brianwheatley8520 2 жыл бұрын
Nice tutorial! How would you set up a key to take you back to the menu?
@paladin995893
@paladin995893 Жыл бұрын
worked first time 😃
@tr1n1ty77
@tr1n1ty77 8 ай бұрын
OMG thank you!!!11
@richest_in_the_world
@richest_in_the_world 3 ай бұрын
best tutorial 🥶🥶
@derf0007
@derf0007 Жыл бұрын
Hey Matt, If I wanted to have a video play on loop as the background for the menu how would that be implemented?
@ChrisHavok
@ChrisHavok 2 жыл бұрын
Interesting. Now the question is: How do we allow gamepad input on the main menu level?
@RandomDude00001
@RandomDude00001 Жыл бұрын
try go to inputs of your engine settings and add the inputs you want
@ADVANCEDWARS
@ADVANCEDWARS Жыл бұрын
So i used this tutorial on ue5 and it works
@cesarsarmientojr.5269
@cesarsarmientojr.5269 Жыл бұрын
Do you have a way of selecting the buttons with a controller? Works great on keyboard.
@robertprescott9577
@robertprescott9577 2 жыл бұрын
Awesome 👌 thanks
@Thunderony
@Thunderony 2 жыл бұрын
Hi i used your other tutorials a few days for the main menu is there any significant difference? I would really love a Save/load tutorial
@gradertfamilymakes
@gradertfamilymakes Жыл бұрын
I have this issue where when I load the Main Menu, the UI elements for health and stamina load on the menu as well.
@Patrick-JohnVillanueva-Malard
@Patrick-JohnVillanueva-Malard 6 ай бұрын
In Unreal Engine 5.2.1, I don't know how to active the advance feature of adding a line on the text block. Therefore, I added the spacer having 35 height size. 😅
@ArcticThunderBF3
@ArcticThunderBF3 Жыл бұрын
Could you finish this menu system and show how to save the sound sliders and volume settings??
@alexspeed8888
@alexspeed8888 Жыл бұрын
Thanks!
@ErodonTV
@ErodonTV 5 ай бұрын
Great video! How do you run C++ code on canvas button press?? Have a great day!
@OgnenBlazhevski
@OgnenBlazhevski Жыл бұрын
so this is a good tutorial but for the music background, i have followed your nodes but when i try to use it in my menu it doesnt want to play any solutions??
@Smog3D
@Smog3D 10 ай бұрын
Hi Matt Asplant, we are programming a game and your videos help us a lot, but we have a problem we made the main menu and if we click on start our character wont move. Do you know why?
@wesleyferreira6412
@wesleyferreira6412 Жыл бұрын
Gostei muito desse tutorial, parabens, está me ajudando muito a criar os meus menus. eu tenho uma duvida sobre Level Variant, tem como usar uma tecla "E" por exemplo, para trocar os objetos da cena? ___ I really liked this tutorial, congratulations, it is helping me a lot to create my menus. I have a doubt about Level Variant, is there a way to use an "E" key, for example, to change objects in the scene?
@zonian8782
@zonian8782 Жыл бұрын
thank you for this been strugling with my 3d widget and went for direct viewport instead and found the bug it was the personalized button widget the button was hovering but not running the code😅
@MrTreeGuy
@MrTreeGuy 2 жыл бұрын
nice!
@aydntamkafa984
@aydntamkafa984 Жыл бұрын
Thaks Its great and work but how can i add Save/Load game button? Please upload a video with this content. Thanks again.
@Ineedaburrito
@Ineedaburrito Жыл бұрын
Thank You
@VickySharma-hd9if
@VickySharma-hd9if 2 жыл бұрын
Heys Matt. I am facing a weird issue where my mouse cursor wont hide and i am not able to look around without clicking and dragging my mouse on the screen
@AurynGaming
@AurynGaming 2 жыл бұрын
Confused with this video, you already made it a few months ago right? whats different?
@israeloconnor7381
@israeloconnor7381 2 жыл бұрын
That looks great. could you make a loading screen with a progress bar at some point?
@MattAspland
@MattAspland 2 жыл бұрын
I could add it to my list
@aaronvalentinalferez2306
@aaronvalentinalferez2306 2 жыл бұрын
@@MattAspland Yess!
@besogociridze
@besogociridze 2 жыл бұрын
thanks alot
@MartKart8
@MartKart8 2 жыл бұрын
So I would say in Credits animations by Matt Aspland, that's for the Vaulting mesh and crouching Mesh.
@MattAspland
@MattAspland 2 жыл бұрын
You wouldn't need to credit me for those animations as I believe I got those from mixamo.
@Moaedmsawer
@Moaedmsawer Жыл бұрын
You The Better Ever ( Please Need Help ... When export it to android the Start button not Working so i need andrid blue print settings ) thnx
@tala4577
@tala4577 Жыл бұрын
how to access again the main menu while playing the main game. You can quit the game by pressing the esc button but that when using the unreal editor. But after you packaged the game then the problem is how to access the menu again while inside or playing the game. Do i have to put a button inside the game?
@MrTerrorM
@MrTerrorM Жыл бұрын
Lovely
@RandomDude00001
@RandomDude00001 Жыл бұрын
Uhmm will this disable all of the hud widgets in ym level
@KratonWolf
@KratonWolf Жыл бұрын
I did all the same things for this, and for some reason the button click to take me into the credits (or in my case, Settings. I don't have a separate credits widget page, I have the credit for made with unreal on the main menu in the corner, and have it saying for full credits see store page) widget, seems to not work. It's not adding the new widget, but is still removing the main menu widget. Not sure why. After testing, I get a warning "The Widget 'WB_MainMenu_C' was already added to the screen." after trying to add the settings menu widget. I have double checked my code and On Clicked (SettingsButton) calls the node Create WB Menu Settings Widget node, and the class is correctly set (obviously from the node name). I suspect it might be an issue with the Remove From Parent node maybe removing both. Not sure, but if one widget is creating another widget, is that second widget considered a child of that first widget? Cause if so, removing the parent would remove anything attached to it.
@mootzartdev
@mootzartdev Жыл бұрын
Sweet! Are you going to do a version of this for UE5? i know its likely the same. But not sure if there is a 'better way' to do this stuff in UE5 with the layers system and stuff...
@monster6236
@monster6236 Жыл бұрын
I did it all in UE5, works as intended
@mootzartdev
@mootzartdev Жыл бұрын
@@monster6236 yeah me to. Just sometimes there are new and smoother ways to do these types of things with updates.
@pyt0nmusic363
@pyt0nmusic363 Жыл бұрын
I have a problem here, I can't really see a widget while i'm checking it in editor but all blueprints are compiled correctly. I don't know what to do.
@captainsligou1797
@captainsligou1797 2 жыл бұрын
Hi Matt, Great job on your channel, I have a problem, when I play the Menu level, I hear the sounds of the footstep of the character, I have the music and the footstep in same time. I search everywhere long time but I can not find where is the problem. So if you are an idea ?
@dreambadger
@dreambadger Жыл бұрын
Okay I fixed it by setting the default gamemode to the Base one, and then in my other levels in World Settings I set Gamemode override to the one I normally use. There's probably some easier way to sort this, but it's definitely game modes that causes this problem. Your default game mode was spawning the character even in the mainmenu, off screen, and looping through your footsteps sound cue.
@rangerforceproject4182
@rangerforceproject4182 9 ай бұрын
Does this work for gamepad?
@xherocommunity2412
@xherocommunity2412 2 жыл бұрын
Hey Matt, when I click the Play button it causes big lag as the loaded map has a lot of assets. Basically I can see the asset spawning/loading. In your example it seems to load very fast as the level is empty. Any solution for a more realistic map? Maybe show how to add a loading screen when clicking Play? Cheers.
@enchanted-echo
@enchanted-echo 2 жыл бұрын
i can help you creating Loading Screen
@mirrorglassgames
@mirrorglassgames 2 жыл бұрын
If you can do a movie background menu, that would be perfection. i've seen some tutorials on it, but the new update of Unreal has made them obsolete
@Cpen5311
@Cpen5311 Жыл бұрын
seconded on this! Would love to learn how you add in looping videos or gifs instead of a static image?
@mirrorglassgames
@mirrorglassgames Жыл бұрын
@@Cpen5311 I actually figured out how to do it. Think i'm going to upload a tutorial on my page
@Cpen5311
@Cpen5311 Жыл бұрын
@@mirrorglassgames Oh awesome! Please let me know either way! :)
@Cpen5311
@Cpen5311 Жыл бұрын
@@mirrorglassgames any update on your tutorial?
@zimai4201
@zimai4201 Жыл бұрын
How to use ue4 button keeps state.
@daedalus6433
@daedalus6433 2 ай бұрын
For some reason loading into my top down level through the start button makes my input not register until I double-click. This is despite setting input to Game Only EDIT: Fixed it by setting input to be both Game and UI, and not hiding cursor during capture
@DanielPeskov
@DanielPeskov 2 жыл бұрын
PROBLEM. The widget "Main Menu C was already added to the screen plz help
@studiobaxter1242
@studiobaxter1242 Жыл бұрын
Well that's very cool. Something I don't understand yet however, now that I have a new starting map with the menu, I can't hit F11 for full screen from the viewport, after that map is loaded. I have to hit F11 first, and then load the game. It's not a big issue, and it works fine in a standalone player, but curious whether this F11 thing would also happen in packaged game.
@MattAspland
@MattAspland Жыл бұрын
Firstly, thank you for your support! Secondly, that is strange, I've not encountered that myself before. If it doesn't happen in standalone, then it will be fine and working in a packaged game as well. It sounds like a PIE bug, which engine version are you using?
@studiobaxter1242
@studiobaxter1242 Жыл бұрын
@@MattAspland 5.1. I don't think it's a big issue, but curious. Thanks for the ongoing tutorials, immensely valuable and I'm have a great time learning.
@DeadEndGames
@DeadEndGames Жыл бұрын
I'm using ue5 and whenever I press back from my pause menu, everything freezez except my cursor
@stop-motion-verse
@stop-motion-verse 4 ай бұрын
This worked great, but broke the movement part of the game once I was through the menu.
@ted301
@ted301 Жыл бұрын
i am pressing the start button, but the main menu screen doesnt disappear . What might be the problem?
@NovaBloxOfficial
@NovaBloxOfficial Жыл бұрын
It Is My problem To Man.
@zeloshh
@zeloshh Жыл бұрын
Instead of using "Open Level by Name" in your Blueprint try using "Open Level by Object Reference"
@user-qd3ul9yh7n
@user-qd3ul9yh7n Жыл бұрын
so sweet
@Snnoothie
@Snnoothie 2 жыл бұрын
hello matt aspland here such a case i gave an error and i can not understand why, i do not blame you just i only teach ue4, please answer me and help
@galberger3937
@galberger3937 Жыл бұрын
Hi. When i code the start button and play the game my character fall from my map. How to fix it?
@bbomberz8151
@bbomberz8151 11 ай бұрын
Does your ground have a hotbox?
@bbomberz8151
@bbomberz8151 11 ай бұрын
Hitbox*
@frankrecords98
@frankrecords98 2 жыл бұрын
Nice video as always :) I have the problem that the mouse keeps disappearing in the menu when clicking anything but the buttons. Is that normal? EDIT: Ok nevermind I found the problem on my own, forgot to connect a node :D
@MattAspland
@MattAspland 2 жыл бұрын
Nice one figuring it out!
@K_I_N_E_X
@K_I_N_E_X 2 жыл бұрын
You should make a tutorial how to make a main menu but instead of a Picture you should put a video
@Nyxritus
@Nyxritus Жыл бұрын
When I press play it just throws me into my game. How can I fix this? (Edit) I want to be able to work on my game level, but have the menu appear when I start it. So far this only works if I open up the menu level first.
@batman576
@batman576 9 ай бұрын
PLEASE TELL ME YOUVE FOUND A FIX FOR THIS, IVE BEEN LOOKING EVERYWHERE PLEASE!!!
@beastNick7713
@beastNick7713 Жыл бұрын
i have a problem when i hit play i cant walk and shoot. HOW I FIX THIS PLEASE HELP!!!
@dreambadger
@dreambadger Жыл бұрын
Did you figure it out? I'm guessing different gamemodes are what causes these kinds of issues.
@hurtfulpump5063
@hurtfulpump5063 Жыл бұрын
11:46 whenever I try to compile IT ALWAYS SAYS THIS STUPID DUMB MESSAGE *On CLiCKed ButToN 150 DoEs NoT hAve a VALId MatcHINg ComPoNeNT!11!* AND *On CLiCKed ButToN 89 DoEs NoT hAve a VALId MatcHINg ComPoNeNT!11!* HELP ME
@Hypy-Cat
@Hypy-Cat 2 жыл бұрын
Haha, now the loading screen with loading progress bar? XD
@simitmc
@simitmc 2 жыл бұрын
Everything Happened But If We Click the Start Button, The Game Doesn't Enter, Only The Song Starts Again
@ryanpetten8066
@ryanpetten8066 Жыл бұрын
when i launch the game and click on credits from my main menu it goes to black screen and gives error that says mainmenu_c is already open, any help? followed exactly as he did. im using ue5.0.1. the exit one works as it should
@ryanpetten8066
@ryanpetten8066 Жыл бұрын
Update #1. Was thinking about it and for me I'm thinking that duplicating the main menu page may be the issue I'm having. I'm gonna try and make a new credits page without duplicating and see if that solves the issue. If it does then im guess the options page will have the same issue into the next video. Will update
@ryanpetten8066
@ryanpetten8066 Жыл бұрын
Update #2 nvm i fixed it, I didnt have the return value plugged into the target slot on the add to viewport widget for whatever reason, problem solved though!
@axelunder472
@axelunder472 Жыл бұрын
@@ryanpetten8066 thx man same thing happened to me and this helped
@EOOOOOOOOOOOO
@EOOOOOOOOOOOO Жыл бұрын
17:22
@dmitr6926
@dmitr6926 Ай бұрын
♪(^∇^*)(๑•̀ㅂ•́)و✧ Thank'ya!
@pescadilla2008
@pescadilla2008 2 жыл бұрын
Is this a system? Is too basic... xDD
@youtubedeletestheoppositio8188
@youtubedeletestheoppositio8188 Жыл бұрын
How do we make custom buttons instead of the standard rectangles. I want my main menu to display 3 different images so the user can then click one which will then take them into a short animation. So say there is a football, a golf club and a tennis racket. When the user first loads into the game, I created a main menu level but I want to be able to use those images as buttons so a person can click on the football let’s say and it takes them to a short animation. Does this make sense? Please help lol!
ОПЯТЬ СИРЕНА ВКЛЮЧАЕТСЯ!?😲😲😲
00:56
Chapitosiki
Рет қаралды 40 МЛН
NO NO NO YES! (Fight SANTA CLAUS) #shorts
00:41
PANDA BOI
Рет қаралды 20 МЛН
I Tried Breaking an Unbreakable Wine Glass
00:59
Stokes Twins
Рет қаралды 82 МЛН
JAIDARMAN TOP / 1 ТУР / C және D тобы / 2-ойын
1:32:22
Jaidarman OFFICIAL / JCI
Рет қаралды 367 М.
How To Create A Main Menu - Unreal Engine 5 Tutorial
9:20
Unreal University
Рет қаралды 218 М.
How To Make An Options Menu - Unreal Engine 5 Tutorial
27:12
Unreal University
Рет қаралды 66 М.
How To Make A Health Bar In Unreal Engine 5
15:19
Matt Aspland
Рет қаралды 67 М.
The Most Common Mistake Beginners Make in Unreal Engine | UE5
12:17
Ali Elzoheiry
Рет қаралды 70 М.
How To Create A Main Menu - Unreal Engine 4 Tutorial
13:31
Matt Aspland
Рет қаралды 197 М.
How To Create A Dynamic Footstep System In Unreal Engine (Tutorial)
12:30
САЛТАНАТ НУКЕНОВА. ПОВАР
0:12
VIDOK #ЗАСАЛТАНАТ
Рет қаралды 467 М.
Sister Vs Sister Spicy Emoji Challenge 🥵
0:34
Spizee 2
Рет қаралды 13 МЛН
Homeless girl eats hot dog for first time and funny ending#shorts
0:30
homeless people 2024
Рет қаралды 6 МЛН
The cutest thief 🥴😂 LeoNata family #shorts
0:14
LeoNata Family
Рет қаралды 10 МЛН
Герой Нашего Времени 🤯
1:00
MovieLuvsky
Рет қаралды 15 МЛН
Подарил Отцу 🚲❤️
0:45
Dragon Нургелды 🐉
Рет қаралды 1,3 МЛН
Genial gadget para almacenar y lavar lentes de Let's GLOW
0:26
Let's GLOW! Spanish
Рет қаралды 4,8 МЛН