Тёмный

Unreal Engine 4 - How To Create a Main Menu in 4 minutes (Tutorial) 

Beardgames
Подписаться 28 тыс.
Просмотров 76 тыс.
50% 1

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 182   
@Beardgames
@Beardgames 3 года назад
For anyone wondering why I left the Main Menu so plain was because the design choices are completely up to you! If you'd like to download the Background Image + Button image seen in the thumbnail check the description. From there simply set the BG image as your Image background (talked about in the last minute), and for the buttons look in the button details and change the hoovered, clicked, pressed settings for each :) Good Luck Game Dev Team
@gavingui1861
@gavingui1861 2 года назад
For anyone who cannot move the character, try to "Get Player Controller" and add "Set Input Mode Game Only" before "Open Level".
@mouassimanesabdenour
@mouassimanesabdenour 2 года назад
Thank you so much
@miturtow
@miturtow 2 года назад
This needs to be higher up! Thank you very much Gavin!
@splitupgamesofficial
@splitupgamesofficial 2 года назад
It doesnt workkk
@StarCats
@StarCats 2 года назад
@@splitupgamesofficial it's working. after on Pressed (play) add > "Set Input Mode Game Only" then add Get Player Controller to it's blue hole = object. "don't connect on pressed (play) to open level."
@splitupgamesofficial
@splitupgamesofficial 2 года назад
@@StarCats OK thank you so much
@Skyleneee
@Skyleneee 3 года назад
I had an issue with black screen when I was done and I saw some people in the comments had it too. This worked for me-> at 0:50 you need to hook "event beginplay" node to "create main menu WB Widget" . Hope it helps!
@RandomClips22023
@RandomClips22023 2 года назад
How did you create that event? I can't find it
@Skyleneee
@Skyleneee 2 года назад
@@RandomClips22023 event begin play is a standard event, it should be there :0 maybe you misspelled it? Its one of the greyed out events when you create a new blueprint
@RandomClips22023
@RandomClips22023 2 года назад
@@Skyleneee Idk, which version are you using?
@EthanC69
@EthanC69 2 года назад
THANK YOU SO MUCH!!!!!
@JhonatanosRJ
@JhonatanosRJ 2 года назад
Not every hero wears a cape
@Freah_Meat
@Freah_Meat 2 года назад
FAST clear and direct to the point, no lengthy rambling vids here - THANKYOU!
@Beardgames
@Beardgames 2 года назад
That's what we do here 🙂👍
@SciFi-F
@SciFi-F Год назад
Man you're insane, this is super helpful, it's night and day compared to the dreaded 30 mins tutorials to do simpler things. Much appreciated!
@Beardgames
@Beardgames Год назад
Anytime amigo!
@zerofrenzy2743
@zerofrenzy2743 2 года назад
Quick, straight to the point. Excellent tutorial.
@Beardgames
@Beardgames 2 года назад
Cheers Zero!!
@ColeWithAGoal
@ColeWithAGoal Год назад
This was perfect, no 15-30min explanation, just right to the point. Cheers!
@thegreatchameleonwar7192
@thegreatchameleonwar7192 2 года назад
Great Tutorial! I had one issue though where F11 for fullscreen wasn't working and default 3rd person controls were not registering input after clicking play and loading the first level. Here was the solution: after creating Add to Viewport in the MainMenuMap I created "Set Input Mode Game and UI" instead of just "Set Input Mode Game UI Only" and I think that fixed everything. This is in version 4.27.1. I am super new to Unreal so if this doesn't work or messes something else up, my bad. Worked for me though. Again, awesome video :)
@milhouseburns
@milhouseburns 2 года назад
THANK YOU SO MUCH~!!! THIS SOLVED MY CURRENT PROBLEM OMG
@IISinoshII
@IISinoshII Год назад
Hey, i had same issues and used your workaround but now my mouse-inputs are only active aslong as i hold Leftclick. so to look around i have to hold a button. any idea how this could happen?
@obeeey
@obeeey Год назад
This works, thanks!
@kazuya_minegishi
@kazuya_minegishi Год назад
@@IISinoshII Rather than adding "Set Input Mode game UI only" or "Set Input Game and UI" , I just added "Set input Mode Game Only" and It worked well am using unreal 5.1
@svens3722
@svens3722 2 года назад
thanks a lot for this good and short tutorial without unnecesary bs. great work.
@Beardgames
@Beardgames 2 года назад
Thanks a lot Sven really appreciate it 🙂 thanks for supporting the channel amigo!
@svens3722
@svens3722 2 года назад
@@Beardgames your welcome, i need the videos to develop my game :D
@jasonh7554
@jasonh7554 2 месяца назад
straight to the point . i like it, i subscribed
@tmvwulf3423
@tmvwulf3423 2 года назад
I'm new to this whole Dev thing, but your VIDEOS are solid my man!
@_MartimParames_Lokromatico
@_MartimParames_Lokromatico 5 месяцев назад
Forgot to mention to conect Event BeginPlay to the rest of the eventgraph widgets. Made me rewatch your vid 3 times in slomo to realise it for myself. thanks a lot 😶
@blackcatanimations8396
@blackcatanimations8396 3 года назад
Loving your tutorials man. Any chance you'll end up doing any intermediate or advanced menu or ui tutorials in the future? Would love one on how to set up a realtime gameplay background for the main menu and having the camera angles animate to different positions when a button like settings or difficulty or something is pressed. Keep up the good work man! 🔥
@Beardgames
@Beardgames 3 года назад
Hey blackcat thanks so much for the kind words! And yeah that it something I'd really love to do but it wouldn't be for quite some time as I've got so many videos planned for the future haha. Will look into it at some point for sure :)
@blackcatanimations8396
@blackcatanimations8396 3 года назад
@@Beardgames No doubt lol I look forward to them!
@PencilMercenary
@PencilMercenary Год назад
thank you. i also learned how to make a pause menu! this was really helpful and i barely used the video for the pause menu!
@anbecharts
@anbecharts 3 года назад
Clear and on point. Good job my friend! :)
@holtrixstudios
@holtrixstudios 2 года назад
Thank you sir, i wasnt motivated to do anything in ue4 bec i cant work on it, you really made me happy, thank you for the fast and easy tutorail
@Beardgames
@Beardgames 2 года назад
Anytime my friend!! Keep at it and rocking it :)
@WhiteBuddy.
@WhiteBuddy. 3 месяца назад
tysm bro it helped me a lot.
@MattTheDug
@MattTheDug 9 месяцев назад
If enemies are not moving when level loads in after menu try this: Go to Edit -> Project Settings -> Navigation Mesh -> Runtime Generation from Static to -> Dynamic
@DaveUnreally
@DaveUnreally 2 года назад
Great work! Very helpful.
@Beardgames
@Beardgames 2 года назад
Anytime Dave thanks for watching and supporting the content :)
@MrPstewart84
@MrPstewart84 2 года назад
Fantastic tutorial!
@Beardgames
@Beardgames 2 года назад
Thanks so much Paul :)
@NatesPlayzGamez
@NatesPlayzGamez 2 года назад
Awesome man! thank you so much :)
@natecoet3291
@natecoet3291 3 года назад
Very informative, thanks :)
@seupyrassic3144
@seupyrassic3144 3 года назад
so when I hit play for some reason I can not move my character when I start the game lol
@KrenArt
@KrenArt 3 года назад
Hi! I don't know if you still have this issue, but I may have found the solution to this: In the level that you open when clicking "play", open its level blueprint and add "Event BeginPlay", drag the white arrow and write "Set Input Mode Game And UI" and for the "Player Controller" use the return value of "Get Player Controller". - imgur.com/a/u6aNIB8 The issue was that when we we're launching the game we switched to the input mode "UI Only" + Showing the cursor, and we weren't switching back to the default settings when changing level. Hopefully this is the right thing to do (I just started using this program) and this will fix your problem.
@HamzaKhan-hj8ti
@HamzaKhan-hj8ti 3 года назад
@@KrenArt Thanks! I had the same issue as Seu, and thought i would have to restart
@KrenArt
@KrenArt 3 года назад
@@HamzaKhan-hj8ti np :))
@bakje
@bakje 3 года назад
@@KrenArt Thanks for the help but now i have another problem. Now it is always in Mouse Control mode and i can only look around in my game by holding down Left Mouse Button. Im not sure if this is still the same when i package the game but its really annoying for testing. So how do i fix this?
@personpeople8815
@personpeople8815 3 года назад
@@bakje all you need to do is instead of "set input mode game and UI" have "set input mode game only" and it should work
@yairmagnivow1361
@yairmagnivow1361 3 месяца назад
thanks man keep it up!!!., i appreciate your time creating it ! thanks alot . btw how you know how to create what and what order ,did you learned it somewhere. ?
@daniellemorley2628
@daniellemorley2628 2 года назад
Very helpful however, whenever I start the game it doesn’t actually open the level, the widget just remains without doing anything when I click start
@3DAntonio47
@3DAntonio47 3 года назад
Thanks for this, super quick and straight to the point! How could I change this to work with a game pad as well as keyboard and mouse? Thanks for sharing this with us!
@omerrudnick8195
@omerrudnick8195 Год назад
After I do the whole menu, when I press play, I can still see my character appear at the beginning of the empty level (the menu one). How do I avoid that?
@JRK663
@JRK663 Год назад
Hey Beardgames, I followed your tutorial, now, its much easier than the ones that include 14 minutes and blah blah blah. do you think you can do a short tutorial about character customization?
@davidfruchtman5234
@davidfruchtman5234 2 года назад
Крутотень!!! Для самостоятельного обучения - идеально
@adriantome278
@adriantome278 3 года назад
You deserve more subs, i hope you get more with the unreal engine 5 popularity. How can i add a parallax effect with the background image?
@Beardgames
@Beardgames 3 года назад
Thanks Adrian appreciate it amigo :) What do you mean by parallax effect my friend, could you expand on this
@adriantome278
@adriantome278 3 года назад
@@Beardgames I mean that kind of image offset on base the mouse cursor position. Like destiny 2 UI, when u move the cursor to the right, some elements move too.
@Beardgames
@Beardgames 3 года назад
@@adriantome278 I'm not entirely sure amigo! I think you'd have to get current mouse position, then based on this position if the mouse has a certain x/y axis, animate your buttons to move places. Watch this video to see how you can animate your widget :) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-fKoKhuStEjk.html
@indecisiongamesstudio3938
@indecisiongamesstudio3938 3 года назад
I was there you know... I was there when you started. Good job for getting this far your content is very good. Nice
@Beardgames
@Beardgames 3 года назад
Hey that's so awesome man! When did you first subscribe? that's really cool you've stayed with me :)
@indecisiongamesstudio3938
@indecisiongamesstudio3938 3 года назад
@@Beardgames When I saw your very first Reddit post
@Beardgames
@Beardgames 3 года назад
@@indecisiongamesstudio3938 that's so awesome dude thank you so much for joining me on this journey! I hope we can continue to stay in contact for years to come 😎
@K0UK0U
@K0UK0U Год назад
Good job !
@ime4rth434
@ime4rth434 2 года назад
If your falling through the map after you click start on your main menu, move your network player spawn to where you want to spawn and delete your 2d character that you dragged into the map.
@milantiquestudios7460
@milantiquestudios7460 8 месяцев назад
For main menus, do people create a whole new level for them or do they just hide everything behind a picture? If you were wanting to have an animated menu you'd want it to have it's own space right? But if it's a simple phone game then turning off the player controller, changing the sound and switching to a widget with a picture that fills the whole screen sounds like it would work too.
@AdeptusIncompetus
@AdeptusIncompetus 3 года назад
Not sure if this is just a UE5 thing, but I had to uncheck the "Context Sensitive" box when searching for the "Set Active Widget Index". For whomever it may concern in the future.
@erickfranca2002
@erickfranca2002 11 месяцев назад
I'm having a problem and when I open the level I can't move the character, can you help me with this problem?
@auramaster6606
@auramaster6606 2 года назад
Thanks for the Video, although I've come across an issue that when i start the game I cant move my third person character. Is there a way to fix this issue?
@thegreatchameleonwar7192
@thegreatchameleonwar7192 2 года назад
I had the same issue! Here was the solution: after creating "Add to Viewport" in the MainMenuMap I created "Set Input Mode Game and UI" instead of just "Set Input Mode Game UI Only" and I think that fixed everything. This is in version 4.27.1. I am super new to Unreal so if this doesn't work or messes something else up, my bad. Worked for me though.
@mx-gamesdev8287
@mx-gamesdev8287 2 года назад
All you need is ...begin play create widget add to viewport set mouse curor checked and player controller no need for anything else in 4.27 otherwise the character will not move
@zapgamingpro8983
@zapgamingpro8983 11 месяцев назад
When i hit play and go to my level it does not let me interact with the main level i went to.. How to fix that?
@MachromaPlays
@MachromaPlays 10 месяцев назад
You make no sense. Buttons dont show up on the Event Graph in Variables and missing out with the event beginplay node to create main menu
@tayam92
@tayam92 3 года назад
Why does the Start Menu has to be in a new level all by itself? Why wouldn't it work if we put it in the same map/level we're working on? Just trying to save levels/maps/resources if possible...
@PrabhjotSingh_
@PrabhjotSingh_ 2 года назад
very cool
@devformation
@devformation 3 года назад
just thinking about it)
@adgVelaepyaety
@adgVelaepyaety 3 года назад
Whenever I enter the game The controls don’t work
@stevokrzton3056
@stevokrzton3056 3 года назад
me too
@thegreatchameleonwar7192
@thegreatchameleonwar7192 2 года назад
@@stevokrzton3056 I had the same issue. Here was the solution: after creating Add to Viewport in the MainMenuMap I created "Set Input Mode Game and UI" instead of just "Set Input Mode Game UI Only" and I think that fixed everything. This is in version 4.27.1.
@tomgamer1414
@tomgamer1414 7 месяцев назад
Bro Can You Help Me Please The Level Part Select Level Its Not Appering And Im Using Unreal Engine 4. If You Could Help Thank You Soo Much! :)
@caliboinate09
@caliboinate09 7 месяцев назад
I figured it out. In the "MainMenuMap" tab, you have to draw a line from "Event BeginPlay" to "Create Main Menu WB Widget" node for it to work.
@jakpat_
@jakpat_ 3 года назад
I have a black screen :(
@jaybirdthegamer4412
@jaybirdthegamer4412 2 года назад
I had a problem where the screen was black when I would start it but fixed it by connecting something I forgot to connect, now when ever I press play it closes out and says the map location is invalid, but when I went to look for myself, it was still there. Do you know how to fix this?
@rodneydavisii163
@rodneydavisii163 2 года назад
You never said or showed to connect to event beginplay node, for beginners this is important.
@DeltaGroundSanes
@DeltaGroundSanes 2 года назад
this works at hello neighbor mod kit? it's in Unreal Engine 4 but when i start player the main menu dont show up and character falls down
@megtwin
@megtwin 3 года назад
Do you have any plans to show how to use a gamepad with an inventory menu? I've been searching and I can only find either just an inventory system or a gamepad UI system that doesn't actually integrate an inventory system.
@Beardgames
@Beardgames 3 года назад
Hey Meg sorry for the incredibly slow response! I missed this comment for some reason, at the moment I have no plans on doing this but this is something I could think about further down the line :) Sorry I can't be of more help for now but I'll have a think about how I could do it!
@megtwin
@megtwin 3 года назад
@@Beardgames No worries, thanks
@Pontos420
@Pontos420 3 года назад
I just solved this kind of situation for my own project (XBox Controller / Gamepad) and I remembered this comment. (took ma awhile to find it though) Anyway here is what I did and it "kinda" worked for me: Go to the Widget where the buttons are. Select the Button and enable "is Focusable" in the details section of all the buttons. Then in the event of the same widget (where the buttons are) create: Event Construct -> Delay for 0.1 Seconds -> Set Keyboard Focus On "Set Keyboard Focus" put in one of the Buttons (from the varibals section of the widget) That should work. It did for me. :) Play around with the settings a little to find the right way for you. But the Delay before the "Set Keyboard Focus" is the whole trick to make it work.
@megtwin
@megtwin 3 года назад
@@Pontos420 Thanks, I will try this out.
@tala4577
@tala4577 2 года назад
How do you get back to the main menu while playing the game?
@Fikarblackproject
@Fikarblackproject 2 года назад
Hai i want to ask something, when we create menu, we only make it at same level Map? Cause im trying to make A Map ( menu ) & B map ( game ), i set A map as default map , but when i play the game from B map it doesnt start from A map ( default ), And when i package the game its only package 1 map , help please
@coltontull3990
@coltontull3990 2 года назад
Tutorial on how to improve microphone audio quality. Use a f**king pop filter. Love the tutorial!
@favGModplz
@favGModplz 3 года назад
I did this now my character wont move
@hexsusstudio327
@hexsusstudio327 2 года назад
its broke my first person controller :( how can i fix this?
@2_kp
@2_kp 2 года назад
my play button doesnt work even if i followed the vid properly
@thaoriginalog9572
@thaoriginalog9572 3 года назад
Great video! got everything working good, but I can see my characters HUD when i am in the menu how do i fix this??
@Beardgames
@Beardgames 3 года назад
Have the menu in a separate blank level, then your character won't load the HUD :)
@thaoriginalog9572
@thaoriginalog9572 3 года назад
@@Beardgames Sweet!! you earned a sub forsure, helped out a ton. cheers!
@Beardgames
@Beardgames 3 года назад
@@thaoriginalog9572 anytime brother :)
@BLOODDRIVEGAMING
@BLOODDRIVEGAMING 2 года назад
I like your tutorial but you go to fast at times my guy and it feels rushed. Remember if we are watching this its cause we wanna learn not watch the video 8500 times trying to rehear what you said right other than that great vid lol.
@Beardgames
@Beardgames 2 года назад
Thanks Blood drive I appreciate that :) A lot of people want to go fast but I also understand some people like to go slower, I do my best to find the in between! Thanks for supporting the channel my friend =)
@BLOODDRIVEGAMING
@BLOODDRIVEGAMING 2 года назад
@@Beardgames yeah no worries I watch alot of unreal tutorials being a solo dev and you're definitely helping gonna owe you a high 5 when I get this game done lol.
@Beardgames
@Beardgames 2 года назад
@@BLOODDRIVEGAMING you got this man get it done for me😎
@diseasedpanda7418
@diseasedpanda7418 2 года назад
Hopefully you see this so my menu works perfect when testing in standalone game in editor I did make it so that the play button opened into a level select and there's buttons for each level but when I build the project the level buttons act like the back to main menu button any ideas as to why this is
@Eyedaaa201
@Eyedaaa201 6 месяцев назад
Not at all sure if you solved this, but make sure you have the select level buttons linked to an Open level node.
@nooketh6235
@nooketh6235 2 месяца назад
черный экрн кнопок нету что делать
@esam71
@esam71 Год назад
Sir,which version it is?
@beb_zone1359
@beb_zone1359 2 года назад
Basics how to speedrun main menu creating
@Player1Vemo
@Player1Vemo 2 года назад
How come I don’t have the option to show mouse cursor?
@Beardgames
@Beardgames 2 года назад
Make sure you're dragging off the player controller my good sir
@Vulture545
@Vulture545 Год назад
not working
@Matoi
@Matoi 3 года назад
When i Start the game another Level Shows up first? How to fix it?
@connorboyle
@connorboyle 2 года назад
You have to set this level as your default game mode
@sirgwindortvinuel
@sirgwindortvinuel 3 года назад
Dude i made everything the same but i cannot see the menu when i press play
@octavision4614
@octavision4614 2 года назад
same
@ski_ba
@ski_ba 3 года назад
It's probably a longshot that you will reply, but I followed your steps exactly and when I get to 3:33 my Event Buttons are grayed out... any ideas? Well, I figured it out. I had the instance "running" and when I clicked stop, I was able to ge tout of read only mode. I'll leave this comment up because maybe someone else will run into this! Thanks for the video mate Edit 2 - Well now I have a different issue... when I go to play the MainMenu nothing shows..no buttons.. just a black screen Helllp :/ Final Edit - LETS GOOOO!!! This video is a golden corner of Unreal Engine and the comments below are answered in other comments here. Thats enough babbling from me, thanks 100x over man!!
@Beardgames
@Beardgames 3 года назад
I always do my best to reply my friend 😉 hmm black screen, I'm unsure why this would be happening. Make sure you're adding your menu to your viewport!
@Beardgames
@Beardgames 3 года назад
0:40 We add our widget to our viewport
@ski_ba
@ski_ba 3 года назад
@@Beardgames Well, I am now running into this forsaken 39% initializing thing...where Ue4 won't load the proiect. Which is insanely odd seeing how there is literally no assets or anything to compile...I gues I'll just let this thing run for half an hour which seems to be the fix I could find Googling. Thanks for the replies man you are the goat
@ski_ba
@ski_ba 3 года назад
@@Beardgames okay. new issue. The menus work, but now upon reaching the first level I don't have control of the character, but rather just a camera? Lol thanks for the help so far man really
@Beardgames
@Beardgames 3 года назад
@@ski_ba make sure you've set to control your character in the world settings🙂
@Dackky
@Dackky 3 года назад
When will you update the Combat System?
@Beardgames
@Beardgames 3 года назад
I'm afraid I can't give you an exact Date Dackky, i've just finished my 30 topic tutorial series and now have a few other videos planned I've always wanted to do. When they are out the way I will make some more updates for it :) Sorry I can't give you an exact date!
@Dackky
@Dackky 3 года назад
@@Beardgames No problem, I'm able to learn from your videos. so just your videos alone are good enough for me!
@StickyCerealStudios
@StickyCerealStudios Год назад
How do I add stuff to settings?
@StickyCerealStudios
@StickyCerealStudios Год назад
Nvm I’ll just change it to credits
@ЯрикСтудия
@ЯрикСтудия Год назад
LOL MENU HELLO NEIGHBOR ALPHA 1
@davidfruchtman5234
@davidfruchtman5234 2 года назад
find the difference newbs
@boyvatgaming
@boyvatgaming 17 дней назад
Nothing works guys ignore this video
@CJinsoo
@CJinsoo 3 года назад
5 minutes
@Beardgames
@Beardgames 3 года назад
Take away the skippable intro and outro my friend and we're in the 4 minute mark ;)
@CJinsoo
@CJinsoo 3 года назад
@@Beardgames fair enough
@YuvaBalaji-u8d
@YuvaBalaji-u8d 9 месяцев назад
hi i followed every step but ended up with error can anyone help me please! TravelFailure: InvalidURL, Reason for Failure: 'Invalid URL: /Game/FirstPersonBP/Maps/FirstPersonExampleMap'. Shutting down PIE.
Далее
6 Years of Learning Game Development
17:20
Просмотров 146 тыс.
How To Create A Main Menu - Unreal Engine 5 Tutorial
9:20
Why Solo Developers Should Use Unreal
9:51
Просмотров 389 тыс.
How To Make An Options Menu - Unreal Engine 5 Tutorial
27:12
I Paid Fiverr Game Developers to Make the Same Game
10:25
Creating A Basic Blank Level in Unreal Engine 5
7:55