How To Make An Options Menu - Unreal Engine 5 Tutorial

Поділитися
Вставка
  • Опубліковано 30 лис 2024

КОМЕНТАРІ • 159

  • @loganricketts9260
    @loganricketts9260 11 місяців тому +60

    I love these tutorials where they basically do an any% speedrun but with enough detail to follow along

  • @DividendFiend
    @DividendFiend Рік тому +56

    Just so everyone knows, if for some reason you don't see "events" settings on your buttons make sure "is variable" is checked.

    • @Darkstar623
      @Darkstar623 Рік тому +2

      you saved me with this thanks king

  • @plaguex5z011
    @plaguex5z011 Рік тому +34

    at 17:46 I found it was cleaner to create a structure array for each resolution value and run through it with a for loop with break, checking if the saved resolution was equal to the resolution at the array index and breaking the loop if so. It also has the added benefit of being able to access all of your resolutions from a single node in the future.

    • @foxdogist
      @foxdogist Рік тому +2

      Hey that's really awesome, but I'm kind of dumb. Could you elaborate on how you went about this?

    • @CJdgamer
      @CJdgamer Рік тому +3

      @@foxdogist Lmao this is the most candidly accurate comment I've seen in a really long time.

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

      @@CJdgamer hey thanks man lmao

    • @AkitaMix
      @AkitaMix 7 місяців тому +3

      You don't even need a structure or loop for that, just a simple int point array, store the reso values to the array, and use 'get' on the array using the index of the switcher; or 'find' to find the value from the array

    • @sniper44x
      @sniper44x 6 місяців тому

      I will certainly try that thank you

  • @JustJoshinYouBro
    @JustJoshinYouBro 10 місяців тому +5

    This may be helpful to some. You can also show the options menu in the same exact widget instead of a separate one by putting a border around it. making it a variable and naming it. Then do the same to the main menu bar. Leave the main bar visible on default and the visibility of the options hidden. Then on-click the options button and set the visibility of the options Border to visible then on-click the back button and set it to fall. I find this better in case you want to keep your main menu bar shown but if not then you could easily add some more nodes to make it hide when clicking options. This man did great and taught me some important stuff today so I figured I'd attempt to share a trick for some incase you don't want to just copy and paste this great man's work. Love you all.

  • @thsuperelite
    @thsuperelite Рік тому +12

    thank you :) it really helped me a lot. I am a beginner at UE5 but i wanted to complete/package a simple project as soon as possible. i am just making a walking simulator so packaging and menu options etc tutorials are really helpful.

  • @RhodderzX
    @RhodderzX 6 місяців тому +2

    Awesome tutorial, Menu systems usually get forgotten and glad i found this one.
    Something i did find for the resolution is you could convert int point x to string and put that through a "Switch on String", just so you don't have cascading branches.
    Also means you can have a default as a failsafe.

  • @ItsRave_n
    @ItsRave_n 4 місяці тому +2

    What an absolute W tutorial. You made this tutorial so well by explaining what each blueprint item does which really helps we with learning how to code by myself. THANKS!

  • @DJenriqez
    @DJenriqez Рік тому +2

    This channel is treasure.

  • @benneton_etsi
    @benneton_etsi Рік тому +2

    One of the cleanest tutorials i have ever seen! Excelent

  • @cherryVision
    @cherryVision Рік тому +20

    This seems like so much work for something that basically every game needs, I wonder why some of the logic doesn't already exist

    • @Nick-bn6ch
      @Nick-bn6ch 7 місяців тому +2

      It does. Try coding graphic settings from scratch. It fucking sucks

  • @thelostsoul9497
    @thelostsoul9497 Рік тому +12

    I ran your project files in Standalone Game Mode. The resolutions aren't working and the scalability settings in Unreal Editor aren't changing when I change overall graphics settings after playing it. What am I doing wrong?

    • @echorises
      @echorises 10 місяців тому +6

      I don't get it as well. I had done a very similar attempt before watching the video, I got the same problem. Fullscreen mode doesn't work as expected for some reason.

    • @TheManTheMythTheDude16
      @TheManTheMythTheDude16 5 місяців тому +1

      Did anyone find a solution to this

  • @nucleartide
    @nucleartide Рік тому +6

    Fantastic video, thanks so much for this. This feels like one of those things that becomes a template after learning, but one does have to learn how to do it the first time!

  • @PaulikasKarolis
    @PaulikasKarolis Рік тому +5

    Awesome! Thank you, this was very helpfull! Would love to know how to go back to the menu when hitting 'esc'. Is it the same as Keyboard ESC Event -> Remove from Parent -> Create Widget -> Add to Viewport?

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

      I think you could set that up in the level blueprint for each level you have

  • @ShantyTowniekKMm
    @ShantyTowniekKMm 4 місяці тому +3

    The resolution and fullscreen mode settings don't work for me

  • @HighLammer
    @HighLammer 4 місяці тому

    very good job..
    i use int point Array to Resolutionscreen, add de resolutions elemants, get index, find x.. work ok here..

  • @PatrickTheDM
    @PatrickTheDM Рік тому +3

    Very awesome! Thank you very much! I've been struggling with this for a while. I think it's due to most tutorials being for UE4. This works great with 5.

  • @soulfighterz
    @soulfighterz Рік тому +2

    very good, helps learning ui during the unity to unreal transition.

  • @olegklaus
    @olegklaus 8 місяців тому

    Great tutorial, straight forward and worked first try. Thank you!

  • @gozawo1
    @gozawo1 15 днів тому +1

    what can i replace in 6:56 add operator because i cant see can i replace multiply node? please reply

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

    tysm this will get me another skep closer to finishing wisho of fidgets

  • @orestes_io
    @orestes_io 5 місяців тому

    Great starting point. Thank you for sharing!

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

    Thank you SO MUCH. Greatest guide i`ve ever seen

  • @OdoSamurai
    @OdoSamurai 4 місяці тому

    THANKS a lot everything workes just well

  • @obijohn1
    @obijohn1 6 місяців тому

    Dude this was a fantastic tutorial, thanks very much.

  • @rarisninja461
    @rarisninja461 6 місяців тому

    great tutorial but one problem. how do you apply the sound for when you drag the slider

  • @AlistarBalauta
    @AlistarBalauta 9 місяців тому

    Thank u very much. This was very helpful!

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

    amazing work sir. vary clear and concise.

  • @IllGib
    @IllGib Рік тому +2

    And what about different aspect ratios? Here you set fixed and most common resolutions, but there are many differents and you can easily "brake" someones monitor if he goes out of sync. There's a way to get a list of actual supported screen resolutions instead of hard coding them?

  • @reruarikushiteru
    @reruarikushiteru 6 місяців тому

    1. Window Mode doesn't work at all, that also applies to your example since you literally open it at the end with fullscreen being set, but the game opens windowed.
    For me it's always windowed in editor and fullscreen after build
    2. Text bindings don't load when the widget is constructed. The variables do change and save (I can see the graphics actually look worse on low), but whenever you open the settings menu all the text boxes will just spell the first option regardless of what's actually set (so fullscreen, low and off in this case (I didn't add resolution))

    • @OdoSamurai
      @OdoSamurai 4 місяці тому

      everything worked here except the Graphics

    • @Lililililon
      @Lililililon 4 дні тому

      @@OdoSamurai same did you fix?

    • @OdoSamurai
      @OdoSamurai 4 дні тому

      @@LililililonI guess I fixed. Need to check as I have not opened my game for 1 month now

  • @Drunkcaster
    @Drunkcaster 8 місяців тому

    Again another very good tutorial from your channel, thank u for the good contant :D

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

    This was great, thank you. I am having issues with turning off the sound but this was a great start. Thank you

  • @ZarBucanero
    @ZarBucanero 3 місяці тому

    Completed! Good work!

  • @YoshiOsborne
    @YoshiOsborne 6 місяців тому

    by any chance you could do an alternative to binding the text ?

  • @NotPops
    @NotPops 8 місяців тому

    Do you have a tutorial on how to do settings like this on frame rate?

  • @AOD_AnkGrooger
    @AOD_AnkGrooger 5 місяців тому

    I love how when looking at assignments from classmates at my uni, almost everyone has copied this tutorial, then get surprised when they get a low score.
    People really do be just 100% copying tutorials and submitting them in assignments where 100% of it has to be your own work, and not tutorials.
    Still a good tutorial to teach, just remember people to change the way the UI looks to make it your own and stand out from other games. A basic looking UI will not make your game/project unique.

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

    thank you ,you save my life !!!

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

    sorry to bother you but for me the resolution setting isn't working, if you could help, that would be great. Otherwise, this tutorial was amazing and very helpful

    • @gmblackwell
      @gmblackwell 9 місяців тому +1

      i am having the same problem too

    • @whisnor
      @whisnor 9 місяців тому +1

      @@gmblackwell dw it works in a package. It also kinda works if u set thr game to fullscreen

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

    Amazing tutorial, thank you so much!

  • @gadlikegodwithana.7512
    @gadlikegodwithana.7512 Рік тому +1

    Works great but for some reason my quality is set to LOW when I choose the smallest resolution ...

  • @davideamato4840
    @davideamato4840 9 місяців тому +4

    Someone know why the only setting working for me is the graphics quality?

    • @vlad3141
      @vlad3141 9 місяців тому +1

      Did you find out the reason?

  • @ultraninja13
    @ultraninja13 8 місяців тому

    One thing about this I don't like for options is having the counting system for the arrow buttons. I want to make it so you don't hit a limit when pressing a button and instead have it loop but I don't know how to do this.

  • @kylepoggenpoel370
    @kylepoggenpoel370 Місяць тому

    18:50 Why not just add a map variable of the resolution and index?

  • @cainscot
    @cainscot 2 місяці тому

    thank you so much!!!!!!

  • @ElmoPlayss
    @ElmoPlayss 8 місяців тому +3

    None of the resolution or window mode settings do anything in a standalone game.. So this is pretty much useless.. Also the fullscreen doesn't go in fullscreen even in "new editor window" run mode

  • @BelfrostStudios
    @BelfrostStudios 5 місяців тому

    How would I got about making a 'brightness level' in this

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

    Amazing job! Thank you so much :D

  • @michaelsilvers1260
    @michaelsilvers1260 3 місяці тому

    Hey man thanks so much for the tutorial. But I have one small issue. When I change the resoloution in my options and apply, it does work but now my mouse doesn't match my cursour. Meaning if I put my mouse over a button again like to change the resoloution back it doesnt detect it and I have to move my mouse far down and to the right for the button to light up. What can I do to get my mouse accurate again? Also is this potentially just a problem in the editor and may be correct in the actual packaged game?

  • @sohilVFX462
    @sohilVFX462 25 днів тому

    Love you sir ❤❤❤

  • @WeAreNIM
    @WeAreNIM 8 місяців тому

    This is a great tutorial, helped me a lot, but I don't know how to get this working with my gamepad. 😢

  • @alirezashokripour4264
    @alirezashokripour4264 14 днів тому

    so helpful

  • @alekseikuznetsov6016
    @alekseikuznetsov6016 8 місяців тому

    Usefull tutorial!

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

    Thanks for sharing!

  • @birtufff
    @birtufff 8 місяців тому

    nice video very easy tutorial

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

    it took all day of work so be warned lol haha but it works perfectly thanks alot i mean that now i have a fully function menu i am working on first then the games next its a terminator fan game

  • @FluffyAmyNL
    @FluffyAmyNL 4 місяці тому

    Great video thanks

  • @danD315D
    @danD315D 9 місяців тому

    how do you make it so when you select the switch it dosen't move around (effected by the text size)?

  • @tomasfecko6326
    @tomasfecko6326 10 місяців тому

    How do I ensure that if I set my desplay mode to fullscreen it will set automaticly my native resolution from my PC. Thanks for answear.

  • @pinkhairblackman8141
    @pinkhairblackman8141 9 місяців тому

    14:24 foliage add more options

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

    Massive thank you!

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

    My graphics options such as epic and that don't change at all. Why is that? Was that related to the think you didn't do in the event graph?

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

    hello, thanks for the tutorial. How can I add sound settings to this widget? If we want the player to be able to increase or decrease the sound in the game whenever players wants, how should we develop it? I need your suggestion !

    • @crossmr
      @crossmr 9 місяців тому

      Slider and then you put your sounds in a specific class/mix (to separate game and background sounds/music) and push the volume changes to those

  • @OdoSamurai
    @OdoSamurai 4 місяці тому

    I’m surprised it doesn’t have a Commercial at the beginning 🙏

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

    Nice work !!!

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

    Does the Graphics setting affect the over graphics quality like anti aliasing, texture quality and shadows? Or do I need a separate button for those?

    • @HDbacon
      @HDbacon Рік тому +2

      I believe if you want more control you'd need to do separate buttons. The graphics is basically just a preset setup.

  • @MesyaDev
    @MesyaDev Рік тому +2

    Why do most graphic settings tutorials use such a method, when a combo box looks more convenient and attractive?

  • @CylinderUser
    @CylinderUser 3 місяці тому

    hah?
    For some reason, when I press the "back" button to return to the main menu widget.
    My character becomes visible and starts falling. My camera controls and (probably) my player inputs are registered.
    this also loads the widget on the character blueprint.

  • @masterkywqlker
    @masterkywqlker 4 місяці тому

    I have a small problem; i don't know how to have the default value of the resolution to be set. For me it automatically says; 0x0. And the default of var.resolution is indeed that, but then still if I want to change that for 1920x1080 as default, and I hit next, then it instantly goes to the highest. Which means the current Resolution index must be at 3; 3+1 makes 4 (duh). But it says it's set at 0. Can you help me with this?

    • @hentailover8444
      @hentailover8444 2 місяці тому

      idk if you still need help with this but im pretty sure you just connect the default to the resolution you want to be default

  • @LucasHenrique-bd8xv
    @LucasHenrique-bd8xv 6 місяців тому

    Thanks!

  • @seanthiar
    @seanthiar 6 місяців тому

    Thx. Nice tutorial with helpful information. But the screen spaghetti is not something that helps with structured work.

    • @ethanwasme4307
      @ethanwasme4307 6 місяців тому

      yeah this should be using the game instance at a minimum

  • @eymen1220
    @eymen1220 3 місяці тому

    tysm

  • @volumeskull
    @volumeskull 6 місяців тому

    The windowmode for me is somehow not working. I can select which mode i want, but it does not apply. Can anyone pls help me?

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

    when i open my level using start game, the gamemode override stays as mainmenu and i cant move my character or shoot (i'm following your top-down game tutorial alongside this). im not quite sure what to do here if you/anyone have any ideas

  • @wgregoryw21
    @wgregoryw21 10 місяців тому

    So when I go to the options menu and I choose and change the Resolution because the screen changes for some reason all the button "colliders" stay at the same place they were so when I click the back in wont go back but if I click a bit higher it will... Is there a way to refresh the buttons when the resolution is changed?

    • @Crouton_6
      @Crouton_6 9 місяців тому +1

      The only way I found to fix this is by forcing the player to restart the game, then the new updated resolution and positions would be set.

  • @Mythicgamestudio0
    @Mythicgamestudio0 2 місяці тому +1

    I love you Bro 🔥🔥🤍🤍

  • @jznrl
    @jznrl 6 місяців тому

    When I turn window mode into full screen it doesn't turn in to it, is it normal for the editor in ue5 or is it not working for me?

    • @za7304
      @za7304 6 місяців тому

      dont think it shows up in the editor only when youre in a full game

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

    4:55 for me, it doesnt appeard the window called "my blueprint" so i cant add a new variable, can somone help me?

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

      Sorry if im late, if you dont have that tab, open any blueprint > window > My Blueprint

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

      thx

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

    my options menu wont go back

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

    thanks

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

    thanks

  • @JavonWashington
    @JavonWashington Рік тому +2

    for some reason my buttons aren't clickable in my options menu

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

      Did u fix it?

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

      @@TopNeeds123 unfortunately...no

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

      @@JavonWashington lmao Goodluck, wish I could help, I had an issue also but I just debugged it

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

      @@TopNeeds123 thanks bruv wish you the best of luck too!

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

      You have to make it so your cursor shows and if that dosent work try adding clicabble events set to true aswell

  • @danielignacioriadiberrios4041

    gracias broo sigue asi

  • @josephsettle3802
    @josephsettle3802 10 місяців тому

    hey can is there still access to free beginner course? im not getting the email

    • @UnrealUniversity
      @UnrealUniversity  10 місяців тому

      yes, are you sure you used the correct email, as an alternative you can just watch if you sign up on my website : www.unreal-university.com/courses/unrealengineforbeginners

  • @Gnda3e
    @Gnda3e 9 місяців тому

    this menu works for multiplayer game?

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

    when i resize the vertical box it doesnt move the buttons

  • @ocyy_
    @ocyy_ 10 місяців тому

    Good video

  • @loganshadow77
    @loganshadow77 9 місяців тому

    I followed his tutorial exactly but when I set my graphics to medium or lower it doesn't load and says texture streaming pool over 160.668 MiB budget. Does anyone know what this means or how to fix it?

    • @a1zombieslayer148
      @a1zombieslayer148 9 місяців тому

      type in the console r.streaming.poolsize 5000 to get rid of the message if you dont have different resolutions for textures then it doesnt have anything to load so it places a copy of the original (thants my understanding of how it works feel free to correct me if im wrong)

    • @MuhammadAhmad-zb1hq
      @MuhammadAhmad-zb1hq 5 місяців тому

      I have follwed all steps...but it does nothing...all the graphics remain same, window mode os working, but vsync, graphics and resoltion doesnot work at all....and they did not get any effect....any possible solutions plaa​@a1zombieslayer148

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

    hey, can you help me plesae? When i enter a scene using content drawer, i can move the camera withou holding RMB, if i enter the scene with the play button in my main menu, i need to hold rmb to move the camera, whats wrong?

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

      You could use a disable input maybe or set game to paused thats what i did for my game

    • @TheGrandST
      @TheGrandST 8 місяців тому

      @@yoldyblogs766 Thanks!

  • @denischetyrin6980
    @denischetyrin6980 4 місяці тому

    Tnx

  • @Spouwn-u6p
    @Spouwn-u6p Рік тому

    After the game starts, the menu background remains. What is the problem?

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

      Im guessing you didnt make 2 different levels if you have the main menu in your playable level itll stay there if not then maybe you made the level blueprint or some begin play like in your character open your widget

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

    Yea good job but why doesn't mine do anything

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

    Compile project not work mainemu level only show thirdperson level please. make a compile project. tutorial mainmenulevel start game and play

  • @ethanwasme4307
    @ethanwasme4307 6 місяців тому

    naughty, why no game instance...?

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

    My full screen doesn’t work, it’s always windowed no matter witch option I choose

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

      sometimes in unreal engine, you can't test it, in your exported game does it work?

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

    Apply doesn't do anything, am I missing something? The settings are being saved but in game it doesn't change anything. When it loads game user settings it loads the default settings
    EDIT: I didn't have Apply Settings on the Apply button function

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

      hey do you know how do i fix when i click options it doesnt show ip

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

      @@ClarkGamer9 on main menu BP graph: options button (is variable turned on) -> select on click -> link options button to remove from parent (self) -> create widget the options menu -> add to viewport
      that should do it

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

    Please continue this series by adding a character editor like the one you made with the free adventure character😅

  • @YEETKING13
    @YEETKING13 11 днів тому

    None of it work except the back button and even when I copy the code over it still doesn't work.

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

    how can i go to the menu after starting my game?

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

      check out this video ua-cam.com/video/kumZj_mov58/v-deo.html&ab_channel=UnrealUniversity

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

    i cant main man widget can someone help me

  • @edneikamikaze
    @edneikamikaze 8 місяців тому

    Nothing working in standalone window =/

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

    for some reason, my options menu won't open