Important notice: if you can't drag your preferred background image onto the panel, it's probably because you haven't converted it to a sprite. Single click on it in your assets folder and open the inspector - the first option at the top is gonna be "Texture Type". Change it from "Default" to "Sprite (2D and UI)" and you're free to go on!
YOU SAVED MY LIFE!!! I finally created my game's start menu with this :) this is my first game I've ever tried to make, and as a teen who is just starting out on gamedev this really helps :)
Great video, tysm, in the middle of making a platfromer, and this has helped me figure out scenes, what they do, and how to use them, thanks to you, I'm able to make multiple levels to my game, because you showed me how to switch scenes! Again, thank you, you earned a sub.
This was an excellent tutorial, thank you for sharing it. NOTE: If anyone was like me and couldn't find the, "on click" area under Play - you have to click Add Component and search, "button" to bring it up. I missed that part and was a little frustrated until I found it.
When resizing images for panels and buttons you can click "Set native size" at the bottom of the Image component it will automatically resize your object to the soze of the image.
Thanks. I hope you would have a video tutorial about when users click the options button, there's a toggle where they can adjust the music and sfx, wherein the music and sfx are from different scenes. I have already watched your video about toggle for music and sfx but those two are from the same scene. I hope you will have a toggle where users can adjust the music and sfx from different scenes. Thank you so much
You are absolutely right, my friend. I will add options to the settings panel for adjusting music and sound effects. I will make a nice video about this topic, brother. Thank you very much for your feedback 🙏😊
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class Menu : MonoBehaviour { public void PlayGame() { SceneManager.LoadSceneAsync(1); } public void QuitGame() { Application.Quit(); } }
For the ones struggling to put their image: 1. click on your image, 2. On the inspector tab, click on texture type and select "Sprite (2d and Ui)", 3. Save your changes and try again, hope this helps!
Hello for some reason is some of my game not working like every thing is fine but when i start the game over the menu function (when i press the play butten yk) some things arent there per example my clouds are not spawning or the music is not working and i dont have a clue can anybody help me ? Great vid btw
It happened to me, but if you look carefully your MainCamera doesnt have the script, although you created the script as it is shown in the video. ALso another clue is that if you press right click on the created script "MainMenu" and click "Find references..." (scene and/or project) you will see that your script is nowhere added. So just manually drag the script to the camera. After that you will be able to access the function. I have previous experience with unreal and I work with artists, and being one myself, I advice to have what I call a "scientific approach", something has to be missing, there has to be some cause of the result we are having and when work involve programming, human error is the main cause of "errors", so always remember to double chcek not only your steps but also where is what and how. And in case everything is fine, to repeat again everything, checking carefully everything is where and how it has to be.
Thanks for the video, though I have a problem with my canvas. When I go into the game tab, the camera shows only the bottom right part of my canva as if the canva was a gameobject even though I put its render mode in "Screen Space - Overlay"
I have a problem, When I change to the options panel the background is supposed to change at the same time, Wouldn't changing to a scene where the option panels is already open work, and when you close it you'll be back at the main menu, the thing is that I don't know if that would make the options saved not apply in all scenes
Im unable to attach the main camera fromscene 1 to the button in scene 2 for play and quit...i tried everything idk why it wont work. but the rest does!
i have a problem that doesn't exist anywhere so basically when i press Play button for some reason my map turns into complete dark pitch black i tried everything no error message and i didnt set up any shaders im using unity urp 2023
@@kasihsitompul3011 i forgot the solution. It was a problem 9 months ago. Now I postponed gamedev. Also Am interested about your gamedev journey and what game your working on rn?
Heyy can plz explain me how did you make work quit button.... Because I'm getting error of not building build plz explain where did you create a build folder
@@gr29215 I need more context. Like when you click play does your main menu scene say not loaded because if it does then you typed a number wrong in SceneManager.LoadSceneAsync();
Important notice: if you can't drag your preferred background image onto the panel, it's probably because you haven't converted it to a sprite. Single click on it in your assets folder and open the inspector - the first option at the top is gonna be "Texture Type". Change it from "Default" to "Sprite (2D and UI)" and you're free to go on!
👌
you literally saved me, such an easy step was giving me so much trouble.
Thanks you brooo
yas
@@lucutes2936 Plastic?
Wasnt making a main menu, just came here for the options, but it helped me so much!! you're a saviour sir!
same
YOU SAVED MY LIFE!!! I finally created my game's start menu with this :) this is my first game I've ever tried to make, and as a teen who is just starting out on gamedev this really helps :)
I'm glad to hear that, I wish you success in your game project 😊
This actually helped me. The whistle music is a little weird but all in all a good tutorial, thanks.
Great video, tysm, in the middle of making a platfromer, and this has helped me figure out scenes, what they do, and how to use them, thanks to you, I'm able to make multiple levels to my game, because you showed me how to switch scenes! Again, thank you, you earned a sub.
Thanks for the motivated feedback.
I'm glad it helped you.
And Welcome to Rehope Games 😊
I came here to make the play button but you taught me more than I expected. Thanks.
Thank you so much. This video is very helpful for beginner.
Thank you very much, this actually came in very handy, as I am just getting used to unity and game development!
This was an excellent tutorial, thank you for sharing it. NOTE: If anyone was like me and couldn't find the, "on click" area under Play - you have to click Add Component and search, "button" to bring it up. I missed that part and was a little frustrated until I found it.
Today i watched this video. Very Useful. Thank you.
Glad to hear that 😊
Thanks. I build my first game❤️.
When resizing images for panels and buttons you can click "Set native size" at the bottom of the Image component it will automatically resize your object to the soze of the image.
Thanks for the information 👍
pretty good tutorial, this is so beginner friendly easy to follow and will learn a ton of stuff.
Thank you for the straight forward and easy to follow video!
Thanks.
I hope you would have a video tutorial about when users click the options button, there's a toggle where they can adjust the music and sfx, wherein the music and sfx are from different scenes.
I have already watched your video about toggle for music and sfx but those two are from the same scene. I hope you will have a toggle where users can adjust the music and sfx from different scenes. Thank you so much
You are absolutely right, my friend.
I will add options to the settings panel for adjusting music and sound effects.
I will make a nice video about this topic, brother.
Thank you very much for your feedback 🙏😊
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Menu : MonoBehaviour
{
public void PlayGame()
{
SceneManager.LoadSceneAsync(1);
}
public void QuitGame()
{
Application.Quit();
}
}
Very helpful, thank you!
Best tutorial video, thank you very much!
Thank you so much 🙏
Great video thank you
Thank you! Your lessons are very clear)
Thanks bro, I jsut learn game development and your video is the easiest to learn to make Main Menu. Really appreciate the work and have a good day.
Thanks for nice feedback bro 🙏
Thanks to you I was able to make a working menu, finally) Thank you
Nice 😊
Thanks for your feedback 🙏
good tutorial
For the ones struggling to put their image: 1. click on your image, 2. On the inspector tab, click on texture type and select "Sprite (2d and Ui)", 3. Save your changes and try again, hope this helps!
Bro I love you dude, new subscriber
Welcome bro ❤
This is the best tutorial!
Thanks 😊
Thank You So Much. Wonderful Tutorial. Helped A Lot🙏
Thanks for you motivational feedback.🙏
I'm glad hear that 😊
Great tutorial for getting acquainted with buttons and scenes. Thank you.
Thanks , glad to hear that 🙏
thank you, very easy and infromative
Thanks 😊
you is incredible, thanks !!!
Thank you so much dude , and welcome 😊
Thank you, sir! It was useful. Can you show us how to create those button, please .🎉
thanks a lot
your the best one so far i finally get it now
Thanks for your nice feedback 🙏😊
THANK you
Really useful tip for beginners ❤
Thank you my man! You save the day
Great tutorial!
cool video)
Ty it helped so much
Great video! But can you tell me how to make the fade in animation when you first load a scene (when you click PLay).
Hello, first thank you so much 😊
I explained that in this video 👉 ua-cam.com/video/HBEStd96UzI/v-deo.html
Thank you so much.
Very good video
Health bar and animator will be nice🙂
I promise , I'm gonna do add health bar to the game 🙏😊
@@RehopeGames big thanks!🙂
Nice Helped me ALOT
I'm glad that , thanks for your bice feedback 🙏😊
Thank you!!
thank you this is good tutorial you Explained everything so good
I'm pleased to hear that. 😊
Thanks for your nice feedback 🙏
@@RehopeGames you'er welcome
thanks. it works.
🙏
its a great tutorial but its just i cant get with your speed or the way you speak so fast i think , but its a great tutorial thanks
Thank you so much for your feedback. 🙏
I will take it into consideration .
Great video thank you very mutch
Great tutorials, subscribed to your channel
Thanks , and welcome 😊
Hello for some reason is some of my game not working like every thing is fine but when i start the game over the menu function (when i press the play butten yk) some things arent there per example my clouds are not spawning or the music is not working and i dont have a clue can anybody help me ? Great vid btw
im facing a strange problem. the main manu is not there in the list of onclick()
same
It happened to me, but if you look carefully your MainCamera doesnt have the script, although you created the script as it is shown in the video. ALso another clue is that if you press right click on the created script "MainMenu" and click "Find references..." (scene and/or project) you will see that your script is nowhere added.
So just manually drag the script to the camera. After that you will be able to access the function.
I have previous experience with unreal and I work with artists, and being one myself, I advice to have what I call a "scientific approach", something has to be missing, there has to be some cause of the result we are having and when work involve programming, human error is the main cause of "errors", so always remember to double chcek not only your steps but also where is what and how. And in case everything is fine, to repeat again everything, checking carefully everything is where and how it has to be.
Great Tutorial! Do you mind to share your UI buttons?
I'll share all assets soon.
Thanks for your interest :)
Hi I think it was so cool but we need to press a key to show main menu while playing game and here that key is not present. thanks a lot
TY❤
Thank you brother ❤
In the "on click" section, when i try to select a function, it shows nothing.
same bro
That helped a lot, thanks!
Glad it helped! 😊
You sound like andrew trading channel on youtube, lol
grazie amico molo utile
Grazie 😊
Awsome
Thanks for the video, though I have a problem with my canvas.
When I go into the game tab, the camera shows only the bottom right part of my canva as if the canva was a gameobject even though I put its render mode in "Screen Space - Overlay"
Can you send me SS, if you still not solve it.
Thanks ...🙏
非常好的教程,感谢
谢谢 🙏
You lost me at LoadSceneAsync... It won't work. What do I put in the (). It's saying that it doesn't know what scene I'm trying to bring in.
You can watch this video first ua-cam.com/video/4fvQUK2pPds/v-deo.html
Tf is that music are we making a game or reviewing toys💀 anyways nice tutorial
Sorry but how do you get the assets by the way great guide man.
Güzel video murat
I love you 💖
Thank you bro
thx
can you do a tutorial for score board after a level is finished, thank you so much! your channel is very helpful for a game design student
What would you like to see on the scorer board?
Also thanks for nice feedback 😊🙏
i love your pfp
This was a really great video but where could I get the Photoshop files for all the things thanks :)
Thanks for your interest 🙏
I'll share all project files soon
@@RehopeGames that’s great I am so excited :) could you tell me a more exact date ?
@@leoprzybilla8529 you can contact me with email 😉
@@RehopeGames what is your e-mail ? :)
@@leoprzybilla8529 rehopegames@gmail.com
thank you
Uluslararası oynuyor öz abime bak
Eyw adaş 😉
I have a problem, When I change to the options panel the background is supposed to change at the same time, Wouldn't changing to a scene where the option panels is already open work, and when you close it you'll be back at the main menu, the thing is that I don't know if that would make the options saved not apply in all scenes
hey dude nice video also r u a turk?????????????????
thanks!
🙏
THE GOAT
Hi can you do with a login page and can put character creation and room creation?
you save me ty is my first time I do menu in game im developer in c# 2 y
can you please share button images?
Im unable to attach the main camera fromscene 1 to the button in scene 2 for play and quit...i tried everything idk why it wont work. but the rest does!
i have a problem that doesn't exist anywhere so basically when i press Play button for some reason my map turns into complete dark pitch black i tried everything no error message and i didnt set up any shaders im using unity urp 2023
i dont see the PlayGame() option in my main menu functions
same
@@MrBalls12323 😭
same, do you get the solution?
@@kasihsitompul3011 i forgot the solution. It was a problem 9 months ago. Now I postponed gamedev. Also Am interested about your gamedev journey and what game your working on rn?
if the play button script is not working for you try settingthe number at the end to 0
Can I download the script, I know nothing about coding
thx G🗿
1st like😊
Thanks bro 😊
Please can you make video of Vs code 2D game stated page please 😊
Could you please elaborate a little on what you want?
Thanks for your interest 😊
Teşekkür ederim video için
Teşekkürler 🙏
THANK U SO MUCH
When I clicked add new scene it deleted my original scene I worked on, and now all progress is gone... 😭
Hey bro, when I put the text, what is written in the text doesn't come out
same here
@@maxine3617 lol
why doesn't the script work💀
What to do if the button is really big?? and when scalled down its bad quility
Did you design the buttons?
Heyy can plz explain me how did you make work quit button.... Because I'm getting error of not building build plz explain where did you create a build folder
Can you show the error you get ?
This does not work for me. I have no errors but the scenes will not change. Can anybody help?
Never mind I fixed it.
👍😊
Same problem here, what did you do?
@@gr29215 I need more context. Like when you click play does your main menu scene say not loaded because if it does then you typed a number wrong in SceneManager.LoadSceneAsync();
Hi brother, at 4:10 when i clicked on the play button, it is taking 5-6 seconds to open the level one. Any suggestion to reduce that delay?
Your pc just bad :/
is it bad, or will it take time to load the scenes, my friend.@@playlistmaster-thebestplay3605
in my asset, there is no sprite folder, how to add sprite folder ?
Why are my shaders from my level 1 in 3D all fucked after i put in the UI?
Can someone Tell me how it works when i want to Load a different game when i press play? Like my owngame.exe? Thx!
My MainCamera is not capture the menu scene😢 How to do it😊