How To Make A Game Over Screen - Unreal Engine 4 Tutorial

  Рет қаралды 41,435

Matt Aspland

Matt Aspland

Күн бұрын

Hey guys, in today's video, I'm going to be showing you how to create a game over screen in which you can; retry, quit or return to the main menu from. This can happen when you die, a timer runs out, or whenever you would like your game to end.
#Ue4 #UnrealEngine4 #Ue4Tutorial
___________________________________________________________________________
00:00 - Intro
00:11 - Overview
00:37 - Adding The Game Over Screen
02:37 - Designing The Widget
05:39 - Button Functionality
07:37 - Overview
08:34 - Outro
___________________________________________________________________________
Unreal Engine 4 Tutorials Playlist: • Unreal Engine 4 Tutorials
The Basics Of Nodes Playlist: • The Basics Of Nodes In...
Blender Tutorials Playlist: • Blender Tutorials
___________________________________________________________________________
If you enjoy make sure to subscribe: / @mattaspland
Join My Discord Server: / discord
Follow Me On Instagram: / matt_aspland_
___________________________________________________________________________
If you want to support me, you can PayPal me at "matt.aspland.1@gmail.com". This is by no means expected or required. It is just a nice support :)
Link to PayPal: www.paypal.com/
You can also support me on Ko-Fi following this link: ko-fi.com/mattaspland
Thank you :) ___________________________________________________________________________
♫Music By♫
●Kronicle - Chill Noons
●Soundcloud - / the-chemist-10

Пікірлер: 76
@studiobaxter1242
@studiobaxter1242 Жыл бұрын
Having a great time putting your tutorials together, thanks so much for all your work. I've gone from having literally no idea what I am doing, to having a very vague idea of what I am doing.
@itanocircus2077
@itanocircus2077 3 ай бұрын
Looking forward to launching my first title on Steam and cannot say "THANK YOU" enough for your hard work and tutorials!
@lemora_
@lemora_ 2 ай бұрын
whats the name of your game?
@zeeshanparvez5235
@zeeshanparvez5235 3 жыл бұрын
What an underated channel. Your tutorials are brilliant. How did you learn all this
@oydeteros5850
@oydeteros5850 2 жыл бұрын
Perfect! Thank you!
@tomi71
@tomi71 3 жыл бұрын
Very good and interesting and nicely explained. Thank You!
@MattAspland
@MattAspland 3 жыл бұрын
That's great to hear! Thanks for the feedback man, it's a pleasure to help out :)
@alexandermortensen1956
@alexandermortensen1956 3 жыл бұрын
THANK YOU MAN! THAT WAS AMAZING! 🤩
@MattAspland
@MattAspland 3 жыл бұрын
Thanks bro! Happy to help!! :)
@alexandermortensen1956
@alexandermortensen1956 3 жыл бұрын
@@MattAspland 😀😀
@Sparky617
@Sparky617 Жыл бұрын
This video is quite old, but I'm hoping you can still answer this. When using the "Retry" button how would you make it spawn the player at a checkpoint I created instead of the beginning of the game? Thank you, and awesome tutorials!
@Vlad79X
@Vlad79X 3 жыл бұрын
matt coming in clutch with a nice game over tutorial
@MattAspland
@MattAspland 3 жыл бұрын
Thank you, glad I could help
@pepitochan2914
@pepitochan2914 2 жыл бұрын
thank you so so so much !!!
@user-xw2yh5jl2u
@user-xw2yh5jl2u 3 жыл бұрын
You saved my life thx
@R-qx4gp
@R-qx4gp 3 ай бұрын
thank you bro
@JustZiReacts
@JustZiReacts 3 жыл бұрын
Great work❤
@MattAspland
@MattAspland 3 жыл бұрын
Thank you! :)
@happy-oni9240
@happy-oni9240 2 жыл бұрын
Thank you.
@masterability1385
@masterability1385 2 жыл бұрын
Thanks buddy
@user-ut7nd2mw1b
@user-ut7nd2mw1b Жыл бұрын
ありがとう!できました!
@leonard_y32
@leonard_y32 2 жыл бұрын
Hello. I've tried following this tutorial, and it works. But I'm trying to make a car game, where if the car (still using the default sedan) falls off a high road onto the landscape below, then it's game over screen. Do you know how? I've tried using event hit / overlap / trigger box but didn't work.
@PatrickTheDM
@PatrickTheDM Жыл бұрын
Finally got to a point in my game where I needed to do this. It works, but I keep having to click the buttons twice to get them to work and the mouse cursor is on screen when I restart. I'll keep trying to see why and post back. Using UE5.0.2 EDIT: "Set Input Mode UI Only" fixed this. I saw it in your main menu tutorial.
@rumenkostoff
@rumenkostoff Жыл бұрын
Thanks for the tip!
@larsvanwieren
@larsvanwieren 2 жыл бұрын
Thanks for the sweet tutorial Matt Aspland, it helped me out a lot! Thanks!
@trumpstuck5830
@trumpstuck5830 3 жыл бұрын
Questions: If the target destroyed is not the thirdpersoncharacter but its another object(building actor). When the building is destroyed return to main menu. How to make the widget show on the thirdpersoncharacter?
@Crush-kc8ss
@Crush-kc8ss 2 жыл бұрын
So I am designing my game for mobile, what do I need instead of show cursor, or will this still work? Because currently I get a error when add Get Player Controller node to Set (show mouse cursor)
@JDHauser
@JDHauser 2 жыл бұрын
Great Tutorial! I am a bit confused to how to set this as to when a character dies? I've set a killzone for my player to fall off and die which will prompt the respawn menu, do you know what I would need to put instead of 'key pressed'? Many thanks!
@YabukiJoe1111
@YabukiJoe1111 2 жыл бұрын
Cast it to the viewport with a create widget node, set the widget to the Game Over screen of course. Make a custom event where the player movement becomes disabled (and optionally camera boom as well if you would like). This is helpful for adding animations once the game over is triggered.
@JDHauser
@JDHauser 2 жыл бұрын
@@YabukiJoe1111 Many thanks!
@YabukiJoe1111
@YabukiJoe1111 2 жыл бұрын
@@JDHauser no problem, if it doesn’t work then feel free to message back. This is just how I did mine.
@jaydondoesstuff
@jaydondoesstuff 3 жыл бұрын
Thanks
@MattAspland
@MattAspland 3 жыл бұрын
No problem! :)
@jaydondoesstuff
@jaydondoesstuff 3 жыл бұрын
@@MattAspland Can you do it to where if u lose all of your health, you die and get the game over screen instead of pressing a key to die
@MattAspland
@MattAspland 3 жыл бұрын
Hi, you should be able to do this very easily, where I press a key, you can just have a branch to see if the health is less than or equal to 0, and that is when it creates this screen. And you can plug the branch into the code where you decrease the health. Hope this helps :)
@MaxStudioCG2023
@MaxStudioCG2023 Жыл бұрын
hey but how i connect this to death ? or to water collision for example? ...(when player die by weapon, or jump in water )i want this menu to pop out ? ? ? ?
@CGEpicepic
@CGEpicepic 3 жыл бұрын
Thank tou foe making this can you make tutorial on parkour movement like on walls and stuff
@MattAspland
@MattAspland 3 жыл бұрын
No problem, and I have some parkour up already, but I do plan on doing wall running in the future too. Parkour playlist: kzbin.info/aero/PLQN3U_-lMANPmV9KZGwSp9RYWZDN5r74o
@CGEpicepic
@CGEpicepic 3 жыл бұрын
@@MattAspland tq
@polar1991
@polar1991 3 жыл бұрын
Hey, can you make more advanced videos? Maybe you can show how to make keybind settings that have dynamic images for each key.
@MattAspland
@MattAspland 3 жыл бұрын
Hey, thanks for the suggestion, I think I can look into doing that yeah, I'll add it to my list :)
@alexiatridis6898
@alexiatridis6898 2 жыл бұрын
hello thanks for the nice video! Unfortunately if you try exiting an android game with shipping mode (not development mode because it is for app store) the game is not stopping using "quit game" or "exit console command".. Have you got any advise for this? :)
@Crush-kc8ss
@Crush-kc8ss 2 жыл бұрын
Would like to know this as well.
@alexiatridis6898
@alexiatridis6898 2 жыл бұрын
@@Crush-kc8ss actually this problem was solved when i installed the 4.27 version of Unreal :)
@JustSomeBricks
@JustSomeBricks 2 жыл бұрын
YOU ARE THE BEST UNREAL ENGINE TUTORIAL MAKER ON THE WHOLE F*CKING INTERNET YOU HAVE A VIDEO FOR EVERYTHING FROM THIS TO MAKING AI STOP MOVING WHEN YOU LOOK AT THEM HOLY SH*T HOW DO YOU DO THIS AMAZING HOLY MAN YOU ARE MY TICKET TO A JOB IN REMEDY ENTERTAINMENT nah jk im never gonna get into rememdy
@MattAspland
@MattAspland 2 жыл бұрын
Thanks a lot for the kind words man, so happy I could help you out! And you can definitely get a job at Remedy Entertainment, keep up the great work, stay persistent and enjoy what you do. You'll get there one day, I believe in you! Wishing you all the best of luck!
@thatchyhurdle4271
@thatchyhurdle4271 Жыл бұрын
hi I was just wondering if anyone knew how to make it so if you have more than one level when the player hits retry it loads the level they are on instead of taking them back to the beginning of the game
@firefoodtruck8970
@firefoodtruck8970 2 жыл бұрын
How to make it so you dont need to type the name of your world on the play again button for the persons who have more then 1 world And it was a great video
@omerrudnick8195
@omerrudnick8195 Жыл бұрын
When I try to do something similar with a win menu, the menu stays on for a second before vanishing. What do I do?
@Im_pro_true16
@Im_pro_true16 Жыл бұрын
Sorry I need some help but how to put respawn in another level like if you have more than one levels and when in the last level you die only tp respawn to the first one in other words how to repawn in many level
@user-tp8io4vz6s
@user-tp8io4vz6s 2 жыл бұрын
How could I add this at the end of collect X to win instead of opening a door?
@josedejesusmartinezavalos1403
@josedejesusmartinezavalos1403 3 жыл бұрын
How can we create a character to our liking and play with it? or how we can change character to play depends on the character's abilities
@MattAspland
@MattAspland 3 жыл бұрын
Hi, do you mean in-game character customisation, or making a character for the game? Also, you can make a character select yeah, I've made a video on it too. Hope it helps :) Character Selection: kzbin.info/www/bejne/fXLPc5l6qbmWj6c
@abdullahsohail5395
@abdullahsohail5395 3 жыл бұрын
Can u make a graphics option to select texture liked your video
@MattAspland
@MattAspland 3 жыл бұрын
Hey, I have a video on changing the graphics settings if that's what you are after :) Options Menu: kzbin.info/www/bejne/q32mf5iaedOKirs
@ilgazpotur3043
@ilgazpotur3043 3 жыл бұрын
Hey can you say what version do yo use in unreal engine 4 please
@MattAspland
@MattAspland 3 жыл бұрын
Hey, I am currently using 4.25.3
@ilgazpotur3043
@ilgazpotur3043 3 жыл бұрын
@@MattAspland Thank you very much I am subscribed your KZbin channel I like your videos you are so good
@MattAspland
@MattAspland 3 жыл бұрын
Thank you man! I really appreciate that :)
@ivanbao8957
@ivanbao8957 3 жыл бұрын
Hi matt when I try to create a widget and continue it forced me to select a class in it or there will be errors what should i do?
@ivanbao8957
@ivanbao8957 3 жыл бұрын
Uhhh I figured it out
@MattAspland
@MattAspland 3 жыл бұрын
Ah great, glad you got it, sorry for the late response, well done though :)
@ivanbao8957
@ivanbao8957 3 жыл бұрын
@@MattAspland I catch the part where you did select a class when I reviewed this video. And I must say it helps me a lot. What a great video 😀
@MattAspland
@MattAspland 3 жыл бұрын
Ah thank you so much man, glad it helped you out :)
@zcypher6558
@zcypher6558 3 жыл бұрын
hey i need some help! so i've got 3 levels. If i die in the third level, the game will restart in the level i've put in the event graph only. That's mean if put level1, the game will go back to level 1 from level 3.
@MattAspland
@MattAspland 3 жыл бұрын
Hey, what you could do is have a string variable and set this to be the name of the level you are in, i.e. level 3 when you die. You can do this via a node called "Get Current Level Name" and set this to be the string variable. Then input this string variable into the "Open Level" node. Hope this helps :)
@zcypher6558
@zcypher6558 3 жыл бұрын
@@MattAspland so i need to connect the "get current level name" to the my restart button node and then connect the "open level by name" node in the same event graph? EDIT: got it worked now! Thanks man!
@MattAspland
@MattAspland 3 жыл бұрын
@@zcypher6558 That's great, so sorry for the late response. Glad you got it working. No problem! :) Best of luck with your project!
@sarthokthetechgaming9729
@sarthokthetechgaming9729 6 ай бұрын
Bro,But will it work when the enemy touches us?
@lordofthelair6716
@lordofthelair6716 2 жыл бұрын
My mouse curser vanishes when i hover over buttons
@DarkRodFR
@DarkRodFR 2 жыл бұрын
why don't use GameMode or GameState ?
@lordofthelair6716
@lordofthelair6716 2 жыл бұрын
Player curser vanishing
@Tijuanabanana
@Tijuanabanana 3 жыл бұрын
i dont trust you, you have mcaffe
@supperfprs5102
@supperfprs5102 2 жыл бұрын
how to make a game over screen after you die in 5 times
How To Create A Main Menu System In Unreal Engine 4 | UE4 Tutorial
20:57
顔面水槽がブサイク過ぎるwwwww
00:58
はじめしゃちょー(hajime)
Рет қаралды 112 МЛН
Did you find it?! 🤔✨✍️ #funnyart
00:11
Artistomg
Рет қаралды 114 МЛН
SHE WANTED CHIPS, BUT SHE GOT CARROTS 🤣🥕
00:19
OKUNJATA
Рет қаралды 11 МЛН
О, сосисочки! (Или корейская уличная еда?)
00:32
Кушать Хочу
Рет қаралды 6 МЛН
How to Make a Simple Game Over Menu in Unreal Engine 5
9:56
Gorka Games
Рет қаралды 23 М.
How To Set Up A Respawn System In Unreal Engine 5 (Tutorial)
7:38
Matt Aspland
Рет қаралды 46 М.
How To Make A Health Bar In Unreal Engine 5
15:19
Matt Aspland
Рет қаралды 71 М.
How to Make A Behavior Tree in Unreal Engine 5 Tutorial ( Complete Guide )
25:35
How to Make a Simple Main Menu in Unreal Engine 5 - in 5 Mins!
8:22
Sprinting And Stamina - Unreal Engine 4 Tutorial
12:03
Matt Aspland
Рет қаралды 33 М.
How To Make A Pause Menu In Unreal Engine 5
7:36
Unreal University
Рет қаралды 20 М.
Make An Easy WIN and LOSE System For Your Games In Unreal Engine 5 Using Blueprints
8:47
Countdown Timer | End Game Screen - Unreal Engine 4 Tutorial
12:27
Matt Aspland
Рет қаралды 63 М.
顔面水槽がブサイク過ぎるwwwww
00:58
はじめしゃちょー(hajime)
Рет қаралды 112 МЛН