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

Поділитися
Вставка
  • Опубліковано 8 лют 2025

КОМЕНТАРІ • 121

  • @RobinDale50
    @RobinDale50 2 роки тому +40

    Yes we really NEED a good save/load tutorial that can simply show how it works

    • @MattAspland
      @MattAspland  2 роки тому +23

      Thanks - I'll definitely make one soon!

  • @OmegaOutlaw2024
    @OmegaOutlaw2024 9 місяців тому +2

    Followed another tutorial somewhere along the way for saving and ruined my game. Not sure if i commented but going back through this one I have added to my list of good working tutorials. I went from UE5.3 back to last version being 4.27 and worked like a charm thanks again! starting over sucks but maybe ill learn one more time.

  • @R1GBYdev
    @R1GBYdev 2 роки тому +20

    looks great so far, definetly make an options and mauktiple save files, that would be dope! Keep up the great work!

  • @PatrickTheDM
    @PatrickTheDM 2 роки тому +1

    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.

  • @tyronejackson1491
    @tyronejackson1491 2 роки тому +3

    Matt Aspland again with a very good tutorial! We love you dude, please continue making this!

    • @MattAspland
      @MattAspland  2 роки тому +2

      Thank you so much for your support!

  • @necroixes8206
    @necroixes8206 2 роки тому +3

    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!

  • @samuraiyt4453
    @samuraiyt4453 2 роки тому +1

    Saw the intro and the menu looks NICE!

  • @risingwolf2112
    @risingwolf2112 2 роки тому +4

    Thank you so much, yes how to save would be great. Thanks for taken the time to help me learn.😎

    • @MattAspland
      @MattAspland  2 роки тому +3

      Glad it was helpful! I'll add that to my list!

  • @hakanwennlof9739
    @hakanwennlof9739 2 роки тому +2

    Thanks a million, this was great! You take it so nicely step-by-step, and the end result is exactly what I needed :)

  • @CAB355
    @CAB355 2 роки тому

    Matt thanks for the video, you're on top as always, I'll be waiting for a continuation in this direction.

  • @Dawschitz
    @Dawschitz 2 роки тому +1

    Thanks for these great instructional videos. Everything is short, clear and understandable. Shake your hand.

  • @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!

  • @Edi_plays_horror_games
    @Edi_plays_horror_games 8 місяців тому +1

    IT ACTUALLY WORKED!

  • @zsolezk
    @zsolezk 2 роки тому

    Good tempo, and just enough explanation. Danke!

  • @geoffrey3668
    @geoffrey3668 2 роки тому

    Nic tutorial! Looking forward for the series!

  • @studiobaxter1242
    @studiobaxter1242 2 роки тому

    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  2 роки тому +1

      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 2 роки тому

      @@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.

  • @kazz4646
    @kazz4646 2 роки тому +4

    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!

  • @ChrisHavok
    @ChrisHavok 2 роки тому +6

    Interesting. Now the question is: How do we allow gamepad input on the main menu level?

    • @RandomDude00001
      @RandomDude00001 2 роки тому +3

      try go to inputs of your engine settings and add the inputs you want

  • @subrootsound
    @subrootsound 2 роки тому

    Another great video, much appreciated Matt!

  • @BlackScreen0000
    @BlackScreen0000 Рік тому +1

    THANK YOU SOO MUCH! You helped me a lot

  • @r_e_d_squirrel367
    @r_e_d_squirrel367 2 роки тому

    your making my game look good! thanks

  • @nkorochinaechetam2516
    @nkorochinaechetam2516 Рік тому

    wonderful and straight guide!

  • @thabudmaster
    @thabudmaster 2 роки тому

    GREAT! would love to see a bit more, options & save yes please :)

  • @dkns-indiegamedevjourneyso3113
    @dkns-indiegamedevjourneyso3113 2 роки тому

    Another great tutorial.. thank you Matt. 😃

  • @fosterboy1587
    @fosterboy1587 2 роки тому

    thanks mate i would love too see more of this would be amazing

  • @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😄

  • @donutdevelopment
    @donutdevelopment Рік тому

    Thanks for the excellent tutorial! this really helped me make my first game.

  • @aaronvalentinalferez2306
    @aaronvalentinalferez2306 2 роки тому

    Thank you for your grreat work!!! And yes! Do a tutorial on Importing and Using Custom Fonts, please.

  • @TheLostAngler
    @TheLostAngler 2 роки тому

    Great video again, thnx sir!

  • @richest_in_the_world
    @richest_in_the_world Рік тому

    best tutorial 🥶🥶

  • @gradertfamilymakes
    @gradertfamilymakes 2 роки тому +3

    I have this issue where when I load the Main Menu, the UI elements for health and stamina load on the menu as well.

  • @mirrorglassgames
    @mirrorglassgames 2 роки тому +3

    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 2 роки тому +1

      seconded on this! Would love to learn how you add in looping videos or gifs instead of a static image?

    • @mirrorglassgames
      @mirrorglassgames 2 роки тому +1

      @@Cpen5311 I actually figured out how to do it. Think i'm going to upload a tutorial on my page

    • @Cpen5311
      @Cpen5311 2 роки тому

      @@mirrorglassgames Oh awesome! Please let me know either way! :)

    • @Cpen5311
      @Cpen5311 2 роки тому +1

      @@mirrorglassgames any update on your tutorial?

  • @paladin995893
    @paladin995893 2 роки тому

    worked first time
    😃

  • @israeloconnor7381
    @israeloconnor7381 2 роки тому +1

    That looks great. could you make a loading screen with a progress bar at some point?

  • @justaceav8091
    @justaceav8091 2 роки тому

    Bro, i love you so much!

  • @SkemeKOS
    @SkemeKOS 7 місяців тому

    I could only follow along until 12:10 because I dont have a BackButton variable(or a Background variable).
    Do I have to create them myself? If so, how?
    EDIT: Nevermind, I figured it out. When creating buttons using UE5.4.2, it doesnt have the tick for "Is Variable" enabled as default next to where you give the button its name, so I just had to go back and enable that tick for each button I created.

  • @ADVANCEDWARS
    @ADVANCEDWARS 2 роки тому

    So i used this tutorial on ue5 and it works

  • @brianwheatley8520
    @brianwheatley8520 2 роки тому

    Nice tutorial! How would you set up a key to take you back to the menu?

  • @ErodonTV
    @ErodonTV Рік тому

    Great video! How do you run C++ code on canvas button press?? Have a great day!

  • @cesarsarmientojr.5269
    @cesarsarmientojr.5269 2 роки тому

    Do you have a way of selecting the buttons with a controller? Works great on keyboard.

  • @Moaedmsawer
    @Moaedmsawer 2 роки тому

    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

  • @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?

  • @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

  • @mootzartdev
    @mootzartdev 2 роки тому

    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 2 роки тому +1

      I did it all in UE5, works as intended

    • @mootzartdev
      @mootzartdev 2 роки тому

      @@monster6236 yeah me to. Just sometimes there are new and smoother ways to do these types of things with updates.

  • @pyt0nmusic363
    @pyt0nmusic363 2 роки тому

    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.

  • @aydntamkafa984
    @aydntamkafa984 2 роки тому

    Thaks Its great and work but how can i add Save/Load game button? Please upload a video with this content. Thanks again.

  • @robertprescott9577
    @robertprescott9577 2 роки тому

    Awesome 👌 thanks

  • @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.

  • @ArcticThunderBF3
    @ArcticThunderBF3 2 роки тому

    Could you finish this menu system and show how to save the sound sliders and volume settings??

  • @aleksboboychev
    @aleksboboychev Рік тому

    Thank you!

  • @MrTreeGuy
    @MrTreeGuy 2 роки тому +1

    nice!

  • @OgnenBlazhevski
    @OgnenBlazhevski 2 роки тому

    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??

  • @Patrick-JohnVillanueva-Malard

    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. 😅

  • @daedalus6433
    @daedalus6433 Рік тому

    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

  • @zonian8782
    @zonian8782 2 роки тому

    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😅

  • @alexspeed8888
    @alexspeed8888 2 роки тому

    Thanks!

  • @arsenic3714
    @arsenic3714 7 місяців тому

    Quick question for anyone. My title and buttons are aligned where I want them in the editing screen or whatever it’s called but when I press and play the level, my buttons and title are shifted ? And I fixed it by shifting my title off the background image in the editor but I don’t think that’s the right way.

  • @PsychoticSorcerer666
    @PsychoticSorcerer666 7 місяців тому

    This is why I swear by your tutorials: you have tutorials on how to do specific things, instead of a whole tutorial series that relies on watching previous videos and assumes the viewer wants to make the game in a very specific way.

  • @ted301
    @ted301 2 роки тому +1

    i am pressing the start button, but the main menu screen doesnt disappear . What might be the problem?

    • @NovaBloxOfficial
      @NovaBloxOfficial 2 роки тому

      It Is My problem To Man.

    • @zeloshh
      @zeloshh 2 роки тому

      Instead of using "Open Level by Name" in your Blueprint try using "Open Level by Object Reference"

  • @RandomDude00001
    @RandomDude00001 2 роки тому

    Uhmm will this disable all of the hud widgets in ym level

  • @tr1n1ty77
    @tr1n1ty77 Рік тому

    OMG thank you!!!11

  • @SebastianGomez3D
    @SebastianGomez3D Рік тому

    This worked great, but broke the movement part of the game once I was through the menu.

  • @wesleyferreira6412
    @wesleyferreira6412 2 роки тому

    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?

  • @rangerforceproject4182
    @rangerforceproject4182 Рік тому

    Does this work for gamepad?

  • @Ineedaburrito
    @Ineedaburrito 2 роки тому

    Thank You

  • @zimai4201
    @zimai4201 2 роки тому

    How to use ue4 button keeps state.

  • @DanielPeskov
    @DanielPeskov 2 роки тому

    PROBLEM. The widget "Main Menu C was already added to the screen plz help

  • @galberger3937
    @galberger3937 Рік тому

    Hi.
    When i code the start button and play the game my character fall from my map.
    How to fix it?

  • @tala4577
    @tala4577 2 роки тому

    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?

  • @DeadEndGames
    @DeadEndGames 2 роки тому

    I'm using ue5 and whenever I press back from my pause menu, everything freezez except my cursor

  • @KratonWolf
    @KratonWolf 2 роки тому

    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.

  • @MrTerrorM
    @MrTerrorM 2 роки тому

    Lovely

  • @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

  • @besogociridze
    @besogociridze 2 роки тому

    thanks alot

  • @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 2 роки тому +1

      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.

  • @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.

  • @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

  • @changRobbersu
    @changRobbersu Рік тому

    so sweet

  • @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

  • @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

  • @imspencer06
    @imspencer06 2 роки тому

    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 Рік тому

      PLEASE TELL ME YOUVE FOUND A FIX FOR THIS, IVE BEEN LOOKING EVERYWHERE PLEASE!!!

  • @beastNick7713
    @beastNick7713 2 роки тому

    i have a problem when i hit play i cant walk and shoot. HOW I FIX THIS PLEASE HELP!!!

    • @dreambadger
      @dreambadger 2 роки тому

      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

  • @ryanpetten8066
    @ryanpetten8066 2 роки тому +2

    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 2 роки тому

      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 2 роки тому +1

      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 2 роки тому

      @@ryanpetten8066 thx man same thing happened to me and this helped

  • @simitmc
    @simitmc 2 роки тому

    Everything Happened But If We Click the Start Button, The Game Doesn't Enter, Only The Song Starts Again

  • @AurynGaming
    @AurynGaming 2 роки тому +2

    Confused with this video, you already made it a few months ago right? whats different?

  • @Hypy-Cat
    @Hypy-Cat 2 роки тому

    Haha, now the loading screen with loading progress bar? XD

  • @EOOOOOOOOOOOO
    @EOOOOOOOOOOOO 2 роки тому

    17:22

  • @dmitr6926
    @dmitr6926 11 місяців тому

    ♪(^∇^*)(๑•̀ㅂ•́)و✧ Thank'ya!

  • @pescadilla2008
    @pescadilla2008 2 роки тому

    Is this a system? Is too basic... xDD

  • @youtubedeletestheoppositio8188
    @youtubedeletestheoppositio8188 2 роки тому

    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!