Unity Essentials: Simple Step-by-Step Main Menu Creation

  Рет қаралды 1,943

Ketra Games

Ketra Games

Күн бұрын

Welcome to another Unity tutorial! In this video, we dive into adding a crucial element to our game - the Main Menu. Learn step-by-step how to implement a user-friendly interface allowing players to navigate between playing and exiting the game.
Throughout this tutorial, we'll cover:
► Creating a UI Panel and incorporating buttons for menu options
► Utilizing the Vertical Layout Group to organize buttons vertically for a cleaner interface
► Wiring up button click actions to scripts
► Implementing both game exit functionality and scene transitions
► Returning to the Main Menu upon player's demise
Whether you're a novice or seasoned Unity developer, this tutorial provides valuable insights into enhancing user experience within your game.
This is the eighteenth video in our series showing how to make a full top down 2D shooter game in Unity.
The playlist for this series can be found here
► • Unity 2D Top Down Shoo...
The project files are available to our patrons here:
► / 101826545
Want to follow along? This project is a good starting point
► / 94928815
The full Top Down Shooter Project is available to our patrons here
► / 75231350
The final scripts can be found here
► dotnetfiddle.net/bDKHlw
Help support our work:
► Patreon: / ketragames
Follow us:
► Ketra Games: www.ketra-games.com
► Patreon: / ketragames
► Twitter: / ketragames
► Facebook: / ketragames
Introduction - 0:00
Creating the Main Menu Scene - 00:32
Adding a Script to the Main Menu - 06:18
Returning to the Main Menu Upon Player's Death - 09:51
Preview of the Next Unity Tutorial - 14:32
#KetraGames #LearnUnity #UnityTutorials #UnityTips

Пікірлер: 25
@noodlesonsuit
@noodlesonsuit 2 ай бұрын
One of the Best Tutorials out there. Thank you for the effort on making this video hoping for more tutorials like this.
@KetraGames
@KetraGames 2 ай бұрын
Great comment, thanks for your support 😊
@legendsworldrpg5115
@legendsworldrpg5115 3 ай бұрын
Loved your playlist about creating the shoter game! Keep the good work!
@KetraGames
@KetraGames 2 ай бұрын
Thank you 😊😊
@aderonkeoyetayo5885
@aderonkeoyetayo5885 3 ай бұрын
really been following your videos they are really great . So you got yourself a new subscriber
@KetraGames
@KetraGames 3 ай бұрын
Great to hear, thanks for your support 😊
@LiuZo
@LiuZo 3 ай бұрын
Thanks for putting this video, this helps a lot.
@KetraGames
@KetraGames 2 ай бұрын
Glad to hear this, thanks 😊
@LiminalDreams91
@LiminalDreams91 3 ай бұрын
This has been such an incredible precise and helpful guide so far, thank you for making this, sincerely. Is there a way to make the enemy turn around when they hit something, like a wall/building, is that something you'll be going over eventually perhaps? I've been following this whole series video for video but as it is now my enemy kinda just start walking into walls once they lose sight of me, they go back to normal once they see me again but for some of them I see them stuck walking on walls before they see me xD I guess it's because I'm made a more maze like map full of things to obstruct them, either way though I look forward to the next video in your series!
@KetraGames
@KetraGames 3 ай бұрын
Hi, yes we'll be covering something similar in future by getting the zombies to turn away from each other when they collide. You could maybe use Vector2.Reflect to work out a new direction using the normal of the collision. This will effectively bounce the enemy off the walls. Hope that helps 😊
@cerritosrules
@cerritosrules 3 ай бұрын
Just started game dev, your videos are very helpful! Just subscribed. Can you make a video about managing data for each user in an online game? For example, saving each user's level. Or a video about an upgrade system with 3 choices?
@bakhromusmanov01
@bakhromusmanov01 3 ай бұрын
I was wondering if there is a tutorial on how to use Instantiate method, and why there is a cast as GameObject used sometimes when Instantiating. Would love to watch a tutorial about this on your channel, because you have really great explanations.
@topura25
@topura25 3 ай бұрын
plz help me how i make hi score and save this hi score
@hasanscartoon
@hasanscartoon 3 ай бұрын
Why are you not uploading tutorial videos regularly?
@MurugaPerumal.K
@MurugaPerumal.K 2 ай бұрын
character Control script how change in joystick control. one reference video upload sister
@c0rnlive
@c0rnlive 3 ай бұрын
I was going to make a comment on the player dying video but wasn't sure that you would reply so I decided to ask here, when my player dies, he doesn't stop moving but in fact keeps moving for some reason in the direction he was moving when being killed. If I stopped my player and let him be killed without moving him, he doesn't move, do you know a fix to this? Also, thank you for posting these videos, I've been trying to get into game development for so long but couldn't but this really helped me keep trying. Also in my main menu, the texts, PLAY & EXIT dont have the dark gray box behind it when selected so its hard to tell what one I am selecting
@KetraGames
@KetraGames 3 ай бұрын
Hi, the player will keep moving because of the velocity of the Rigidbody still having a magnitude in the direction it was moving. You could maybe try setting the velocity to zero when the player dies. Hope that helps 😊
@c0rnlive
@c0rnlive 3 ай бұрын
@@KetraGames I’ll try it out when I get home and let you know
@MuinPlanoverse
@MuinPlanoverse 3 ай бұрын
Hi I have been following your channel for the past 2-3 years now. Have commented on your videos using my personal account. In a meeting today, I was referencing your tutorial of the jobs system and I can not seem to find that video. Have you removed it for some reason? I wanted to show my co-workers the before and after. Thanks :)
@KetraGames
@KetraGames 3 ай бұрын
Hi, thanks for your ongoing support. We removed the video due to a number of people questioning whether the example shown was accurate. We wanted to investigate to see if we made any mistakes and redo the video if necessary. The original can still be found here - kzfaq.info/get/bejne/mbB1oNCnqbfcZYE.html
@MuinPlanoverse
@MuinPlanoverse 2 ай бұрын
@@KetraGames Thank you :) It fits my needs so appreciate you providing me with the link
Enhance Your Unity Game with Scene Fade Transitions
16:10
Ketra Games
Рет қаралды 1,3 М.
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 15 МЛН
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 37 МЛН
I'm Excited To see If Kelly Can Meet This Challenge!
00:16
Mini Katana
Рет қаралды 18 МЛН
UI Toolkit Primer - Build UIs like a Programmer
27:54
Tarodev
Рет қаралды 49 М.
Root Motion + NavMeshAgent (and Nav Mesh Links!) | Unity Tutorial
23:38
Game Development Beyond the Basics
Рет қаралды 6 М.
How to Impale a Ragdoll on Spikes! (Unity Tutorial)
8:54
Ketra Games
Рет қаралды 3,8 М.
How to Procedurally Generate a Perfect Maze (Unity Tutorial)
22:40
Building Runtime UI with UI Toolkit In Unity
21:35
Game Dev Guide
Рет қаралды 34 М.
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 15 МЛН