Make Your MAIN MENU Quickly! | Unity UI Tutorial For Beginners

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

КОМЕНТАРІ • 306

  • @MateuszOsmański
    @MateuszOsmański Рік тому +128

    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!

  • @MsmGab
    @MsmGab 4 місяці тому +18

    Wasnt making a main menu, just came here for the options, but it helped me so much!! you're a saviour sir!

  • @Amelia_112amk
    @Amelia_112amk 7 місяців тому +14

    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 :)

    • @RehopeGames
      @RehopeGames  7 місяців тому +1

      I'm glad to hear that, I wish you success in your game project 😊

  • @aturner
    @aturner Рік тому +36

    This actually helped me. The whistle music is a little weird but all in all a good tutorial, thanks.

  • @TippyReal
    @TippyReal 11 місяців тому +9

    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.

    • @RehopeGames
      @RehopeGames  11 місяців тому +1

      Thanks for the motivated feedback.
      I'm glad it helped you.
      And Welcome to Rehope Games 😊

  • @ThangNguyen-y3j6z
    @ThangNguyen-y3j6z Місяць тому

    I came here to make the play button but you taught me more than I expected. Thanks.

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

    Thank you so much. This video is very helpful for beginner.

  • @leonardovaldivia5200
    @leonardovaldivia5200 9 місяців тому +3

    Thank you very much, this actually came in very handy, as I am just getting used to unity and game development!

  • @Mr_Professional_Guy
    @Mr_Professional_Guy 8 місяців тому +1

    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.

  • @iamQuicklearner
    @iamQuicklearner 8 місяців тому +2

    Today i watched this video. Very Useful. Thank you.

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

    Thanks. I build my first game❤️.

  • @renaudst-hilaire7178
    @renaudst-hilaire7178 10 місяців тому +4

    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.

    • @RehopeGames
      @RehopeGames  10 місяців тому +1

      Thanks for the information 👍

  • @noodlesonsuit
    @noodlesonsuit 6 місяців тому +3

    pretty good tutorial, this is so beginner friendly easy to follow and will learn a ton of stuff.

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

    Thank you for the straight forward and easy to follow video!

  • @randomstuff691
    @randomstuff691 Рік тому +7

    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

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

      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 🙏😊

  • @AMINEI-wl9rk
    @AMINEI-wl9rk Місяць тому +2

    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();
    }
    }

  • @Melvin_Master_of_Rainbows
    @Melvin_Master_of_Rainbows 8 днів тому

    Very helpful, thank you!

  • @HungHoang-sv9lt
    @HungHoang-sv9lt Рік тому +6

    Best tutorial video, thank you very much!

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

    Great video thank you

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

    Thank you! Your lessons are very clear)

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

    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.

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

      Thanks for nice feedback bro 🙏

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

    Thanks to you I was able to make a working menu, finally) Thank you

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

      Nice 😊
      Thanks for your feedback 🙏

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

    good tutorial

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

    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!

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

    Bro I love you dude, new subscriber

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

    This is the best tutorial!

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

    Thank You So Much. Wonderful Tutorial. Helped A Lot🙏

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

      Thanks for you motivational feedback.🙏
      I'm glad hear that 😊

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

    Great tutorial for getting acquainted with buttons and scenes. Thank you.

  • @lama6682
    @lama6682 10 місяців тому +1

    thank you, very easy and infromative

  • @vinivini2651
    @vinivini2651 10 місяців тому +1

    you is incredible, thanks !!!

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

      Thank you so much dude , and welcome 😊

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

    Thank you, sir! It was useful. Can you show us how to create those button, please .🎉

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

    thanks a lot
    your the best one so far i finally get it now

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

      Thanks for your nice feedback 🙏😊

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

    THANK you
    Really useful tip for beginners ❤

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

    Thank you my man! You save the day

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

    Great tutorial!

  • @sabinatv6464
    @sabinatv6464 7 місяців тому +2

    cool video)

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

    Ty it helped so much

  • @tuanvietnguyen734
    @tuanvietnguyen734 Рік тому +4

    Great video! But can you tell me how to make the fade in animation when you first load a scene (when you click PLay).

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

      Hello, first thank you so much 😊
      I explained that in this video 👉 ua-cam.com/video/HBEStd96UzI/v-deo.html

  • @jaykishansingh1
    @jaykishansingh1 7 місяців тому +1

    Thank you so much.

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

    Very good video

  • @biged606
    @biged606 Рік тому +4

    Health bar and animator will be nice🙂

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

      I promise , I'm gonna do add health bar to the game 🙏😊

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

      @@RehopeGames big thanks!🙂

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

    Nice Helped me ALOT

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

      I'm glad that , thanks for your bice feedback 🙏😊

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

    Thank you!!

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

    thank you this is good tutorial you Explained everything so good

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

    thanks. it works.

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

    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

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

      Thank you so much for your feedback. 🙏
      I will take it into consideration .

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

    Great video thank you very mutch

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

    Great tutorials, subscribed to your channel

  • @lbee394
    @lbee394 6 місяців тому +1

    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

  • @DevPlayHub
    @DevPlayHub 8 місяців тому +2

    im facing a strange problem. the main manu is not there in the list of onclick()

    • @Pjoor_YT
      @Pjoor_YT 7 місяців тому +2

      same

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

      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.

  • @Yolanda-ly4kl
    @Yolanda-ly4kl Рік тому +1

    Great Tutorial! Do you mind to share your UI buttons?

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

      I'll share all assets soon.
      Thanks for your interest :)

  • @ali7979-v5u
    @ali7979-v5u 7 місяців тому +1

    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

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

    TY❤

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

    Thank you brother ❤

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

    In the "on click" section, when i try to select a function, it shows nothing.

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

    That helped a lot, thanks!

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

    You sound like andrew trading channel on youtube, lol

  • @allycat-gk5zt
    @allycat-gk5zt Рік тому +1

    grazie amico molo utile

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

    Awsome

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

    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"

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

      Can you send me SS, if you still not solve it.
      Thanks ...🙏

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

    非常好的教程,感谢

  • @TristanLahnala95
    @TristanLahnala95 11 місяців тому +2

    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.

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

      You can watch this video first ua-cam.com/video/4fvQUK2pPds/v-deo.html

  • @Pixel_Gaming24099
    @Pixel_Gaming24099 3 дні тому

    Tf is that music are we making a game or reviewing toys💀 anyways nice tutorial

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

    Sorry but how do you get the assets by the way great guide man.

  • @Mr.Fealon
    @Mr.Fealon 6 місяців тому

    Güzel video murat

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

    I love you 💖

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

    Thank you bro

  • @lucutes2936
    @lucutes2936 7 місяців тому +2

    thx

  • @kou2558
    @kou2558 Рік тому +4

    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

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

      What would you like to see on the scorer board?
      Also thanks for nice feedback 😊🙏

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

      i love your pfp

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

    This was a really great video but where could I get the Photoshop files for all the things thanks :)

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

      Thanks for your interest 🙏
      I'll share all project files soon

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

      @@RehopeGames that’s great I am so excited :) could you tell me a more exact date ?

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

      @@leoprzybilla8529 you can contact me with email 😉

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

      @@RehopeGames what is your e-mail ? :)

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

      @@leoprzybilla8529 rehopegames@gmail.com

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

    thank you

  • @sakamurat
    @sakamurat 10 місяців тому +1

    Uluslararası oynuyor öz abime bak

  • @Infinite-Omega
    @Infinite-Omega 5 місяців тому

    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

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

    hey dude nice video also r u a turk?????????????????

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

    thanks!

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

    THE GOAT

  • @Newtopians
    @Newtopians 16 днів тому

    Hi can you do with a login page and can put character creation and room creation?

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

    you save me ty is my first time I do menu in game im developer in c# 2 y

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

    can you please share button images?

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

    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!

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

    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

  • @skibidoo99
    @skibidoo99 10 місяців тому +2

    i dont see the PlayGame() option in my main menu functions

    • @MrBalls12323
      @MrBalls12323 Місяць тому +1

      same

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

      @@MrBalls12323 😭

    • @kasihsitompul3011
      @kasihsitompul3011 6 днів тому +1

      same, do you get the solution?

    • @skibidoo99
      @skibidoo99 6 днів тому

      @@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?

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

    if the play button script is not working for you try settingthe number at the end to 0

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

    Can I download the script, I know nothing about coding

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

    thx G🗿

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

    1st like😊

  • @KeraMJ-dn4fs
    @KeraMJ-dn4fs Рік тому +1

    Please can you make video of Vs code 2D game stated page please 😊

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

      Could you please elaborate a little on what you want?
      Thanks for your interest 😊

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

    Teşekkür ederim video için

  • @VrGameingevans
    @VrGameingevans 10 місяців тому +1

    THANK U SO MUCH

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

    When I clicked add new scene it deleted my original scene I worked on, and now all progress is gone... 😭

  • @Real_Dreak
    @Real_Dreak 11 місяців тому +2

    Hey bro, when I put the text, what is written in the text doesn't come out

  • @-ollie-VRR
    @-ollie-VRR 4 місяці тому +2

    why doesn't the script work💀

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

    What to do if the button is really big?? and when scalled down its bad quility

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

    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

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

    This does not work for me. I have no errors but the scenes will not change. Can anybody help?

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

      Never mind I fixed it.

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

      👍😊

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

      Same problem here, what did you do?

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

      @@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();

  • @VineethMari
    @VineethMari 10 місяців тому +1

    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?

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

    in my asset, there is no sprite folder, how to add sprite folder ?

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

    Why are my shaders from my level 1 in 3D all fucked after i put in the UI?

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

    Can someone Tell me how it works when i want to Load a different game when i press play? Like my owngame.exe? Thx!

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

    My MainCamera is not capture the menu scene😢 How to do it😊