Designing a Loading Screen in Unity

Sdílet
Vložit
  • čas přidán 8. 09. 2024

Komentáře • 234

  • @mehmedcavas3069
    @mehmedcavas3069 Před 4 lety +193

    Dude where were u 😭😭 missed your professional tutorials so much 😄

    • @GameDevGuide
      @GameDevGuide  Před 4 lety +75

      Aww! I'm sorry! As I'm sure you can understand, each episode takes a long time to produce. I'd love to be able to make content more regularly but this is very much a hobby for me at the moment. The unfortunate reality is I've got to work elsewhere to be able to support myself financially to make rent and pay bills! So I can only dedicate some of my free time each week to making videos.
      My goal is to continue growing the channel over the next year though, and my target is to continue uploading a new video at least once a month.
      Hopefully sometime in the future thoug, I'll be able to commit more time to creating more content!
      Best thing you can do to help is to continue watching, sharing and encouraging others to subscribe! Glad you enjoyed the video!

    • @mehmedcavas3069
      @mehmedcavas3069 Před 4 lety +5

      @@GameDevGuide Haha sure I can understand u bro. You are so right :) I follow a lot of unity channels but yours is the best one with the best quality :) U can upload when ever you want. I will share your videos on my social media platforms like face and linked in. I hope you can grow your channel :)

    • @KEM4OFFICIAL
      @KEM4OFFICIAL Před 4 lety +1

      @@GameDevGuide There is no doubt you are going to make it. If you can put up a video once in 2 weeks I am pretty sure you gonna reach decent height in no time. Thank you

    • @orikatzenelson4351
      @orikatzenelson4351 Před 4 lety +3

      @@GameDevGuide Definitely set up a Patreon page I would support you for sure!

    • @CtrlAltPotato
      @CtrlAltPotato Před 4 lety

      @@orikatzenelson4351 same!

  • @darwinsaquarium9751
    @darwinsaquarium9751 Před 2 lety +3

    Honestly, I searched so much for a useful video on how to make my loading screen work. This video nailed it. In just 1 min I got so many impressions what looks good and what does not, and then you explain how to get it done basically. I appreciate!

  • @Sukkulents_
    @Sukkulents_ Před 4 lety +7

    These are amazing tutorials, I have to admit. You show where everything is, how to do it, what to code etc. But most importantly, why you’re doing it

  • @alexcubed4270
    @alexcubed4270 Před 4 lety +59

    You make such high quality and good videos. You definitely deserve more subs and I'm glad I ended up discovering your channel

  • @davidsanchezplaza
    @davidsanchezplaza Před 3 lety +4

    first time ever
    this is how all tutorials should be. clean, clear, concise.
    awesome work
    subscribed for more

  • @sharpenednoodles
    @sharpenednoodles Před 4 lety +27

    Oh my! Loading screens are one of those little details that I've never really known how to approach properly. I always end up with some kind of subpar solution that "works", but provides a fairly poor experience for the end user regarding feedback etc. This is possibly the best video I've seen on the topic! Very excited to provide decent loading screens in my next project :D

  • @danniton9831
    @danniton9831 Před 4 lety +82

    10:47 "More than 60% of the people watching this video aren't subscribed to this channel." lmao. Just for that, you've earned a sub from me.

    • @GameDevGuide
      @GameDevGuide  Před 4 lety +9

      Huzzah!

    • @r1pfake521
      @r1pfake521 Před 4 lety +1

      @@GameDevGuide Just subbed and enabled the bell, nice content. I hope you can upload more in the future.

    • @mastermezorno1593
      @mastermezorno1593 Před 4 lety +1

      This is 100% why I subbed as well. Seen it and thought "That's pretty meta.." and then hit sub

    • @NagyerdeiKorisok
      @NagyerdeiKorisok Před 4 lety +2

      subs doesn't do too much in 2020 anymore unless you're notified with the bell. If I watch videos from channels regularly, new posts will be on my recommendation anyway almost instantly, if I don't, youtube won't show them no matter if I subbed

    • @Galaxy_World
      @Galaxy_World Před 3 lety +1

      XD

  • @Entereri
    @Entereri Před 4 lety +2

    This is the clearest loading screen tutorial I have seen so far.

  • @SoulNetworX
    @SoulNetworX Před 4 lety +3

    Best Loading Scene Tutorial I have seen so far. Finally someone explains what to to with it.

  • @ushanka2855
    @ushanka2855 Před 7 měsíci +1

    That's a really great tutorial! Thanks for making it. Also a tutorial on UI blur mentioned in the tips would be really great. CZcams definitely lacks a good video on that topic. To be honest I thought the blur was from a bought asset at the first glance, but it's quite impressive if it's custom-made. Cheers!

  • @AnEmortalKid
    @AnEmortalKid Před 2 lety

    Omg that usage of the enum for the build indexes was so clever...

  • @jenehattingh3390
    @jenehattingh3390 Před 4 lety +2

    Thank you I have been trying to do this for over a year and sadly kept stuffing it up. You speak clearly, explain objectively and showcase the tutorial very well thank you!

  • @obiomaanokwuru3573
    @obiomaanokwuru3573 Před 4 lety +6

    where do call the load game method?

  • @relinqu1shed
    @relinqu1shed Před 4 lety +2

    It's amazing how i have watched many videos on the same subjects as in your channel and the difference in skill really shows. Not gonna name names, but there's extremly popular channels out there giving all the wrong info and advice on Unity and gamedev and yet it's channels like this one that get so few views and subs. I am not against begginer friendly tutorials but they have the bad habbit of not specifically pointing out they are just that. Begginer tutorials. Not the actual proper, efficient way to do stuff when making games. Unity already takes away so much boiler plate from coders and still everyone is looking to get away from writting those 10 extra lines of code.
    Keep up the good work my dude.

  • @ttrudeau83
    @ttrudeau83 Před 2 lety

    This was perfect. Mine was really rudimentary and this helped me polish it the way I wanted.

  • @AMANKUMAR-fc1yp
    @AMANKUMAR-fc1yp Před 4 lety +5

    And that's what we call a professional tutorial!! Thanks a lot man!!

  • @DamageSoftware
    @DamageSoftware Před 4 lety +3

    Damn, first time landing on one of your videos. It took me 50 seconds to subscribe to the channel :).
    Awesome work! Keep up the good work!

  • @FastGameStudio
    @FastGameStudio Před rokem

    Holy i poped up when i suddenly saw an text on my native Georgian language, i was not expecting that :D

  • @jonathonistrainwreck4131
    @jonathonistrainwreck4131 Před 4 lety +1

    Halo 3s loading menu was personally my favorite!

  • @marveII0us
    @marveII0us Před 3 lety

    The amount of effort and details in the video though. Instantly earned a sub from me.
    Highly underrated channel

  • @DavidPatMathis81
    @DavidPatMathis81 Před 2 lety

    This is some next level tutorials!
    FANTASTIC WORK!

  • @BerrisGaming
    @BerrisGaming Před 4 lety +1

    I like that you write smart code. A lot of tutorials focus on the unity part and write some awful code that will clap them in the face once they'll try to add anything in other then the features from the tutorials

  • @ryaneden4604
    @ryaneden4604 Před 4 lety +1

    You sir are on another level!

  • @waseemkntar2566
    @waseemkntar2566 Před 4 lety +1

    High quality and professional tutorial, thank you

  • @cradle_of_chaos
    @cradle_of_chaos Před 3 lety +2

    This is excellent work.

  • @GUSRG
    @GUSRG Před 3 lety

    Loved the tutorial.
    Fun Fact: God of War creator hate loading screens, that's why you only see Now Loading between the Main Menu and the game (and death screens).
    If you are good enough, you can beat the game with just 1 Loading Screen.

  • @baconchaney
    @baconchaney Před 4 lety +12

    I'm pretty new to game development so I'm trying to expand my understanding as much as possible (your videos have been amazing by the way). How does the additive scene loading work? Does it essentially load everything inside the scene into the persistent scene you have created?

    • @GameDevGuide
      @GameDevGuide  Před 4 lety +12

      No, it simply just allows more than one scene to be "open" at once. You can essentially stack scenes on top of one another which allows for more specialised scene workflows. For instance, you may have a large world you're trying to build, you can use additive scenes to break the world up and load/remove unnecessary parts of the world at a time. I suggest taking a look at the Unity documentation on scene management for more information.

  • @williammrs
    @williammrs Před 3 lety

    If you can't see the loading screen when active. Try setting the canvas render sort order from 0 to 2 or something, so it's not overwritten by something else.

  • @mariaelenafusceneco
    @mariaelenafusceneco Před 4 lety

    I'm sharing your channel right away.
    Your tutorials are... wonderful.
    Keep it up!

  • @gilleswalther5964
    @gilleswalther5964 Před 2 lety

    Thanks for sharing, this channel is such a great source of inspiration with high quality content

  • @rkgamesstudio6977
    @rkgamesstudio6977 Před 3 lety +1

    Awesome tutorial 👌
    It helped me a lot

  • @gregorykl2317
    @gregorykl2317 Před 3 lety

    It is so great! Firstly, I just watched. Now, I will be realise it in my project)

  • @magendhrenponnan5955
    @magendhrenponnan5955 Před 8 měsíci +1

    Thanks

  • @Mouton_redstone
    @Mouton_redstone Před 2 lety +3

    I'm still wondering how the button calls the load function

  • @snek5385
    @snek5385 Před rokem

    Great video, nice job! Wish to see more content like this!

  • @ebk3138
    @ebk3138 Před 4 lety

    I'm not a game developer but, I watching this channel. :) There are a lot of interesting skills to make games.

  • @alexdeegames
    @alexdeegames Před 2 lety

    Coolest video about loading screen in Unity. Thanks. I've alredey subscribed!)

  • @larskrs
    @larskrs Před 3 lety +1

    I am literally programmed to want for an online course by you. You are so easy to understand.

  • @SakthivelNadar
    @SakthivelNadar Před 3 lety +1

    High quality loading screen(curtains)!!!

  • @JasonSmith-jv7wl
    @JasonSmith-jv7wl Před 4 lety +2

    Hey! Really enjoying your vids, as I use Unity for making AR/MR apps and don't come from a game dev background. It is interesting to see how a lot of things you show in videos is very similar to how I and the rest of the team resolved things, plus I get to see some other tips that might help our workflow.
    That said, have you considered dropping coroutines for an async-await setup? Personally, I find it a lot easier to work with, and all it requires is to grab a free package from the app store.

  • @rickloyd8208
    @rickloyd8208 Před 4 lety

    Good work, interesting ideas and approaches (especially how to wait for multiple coroutines to finish), thanks and like

  • @wmorais1976
    @wmorais1976 Před 4 lety

    In one word: Awesome!!!

  • @Akniy
    @Akniy Před 4 lety +1

    0:36 I dont know about you guys, but I actually wouldn't mind watching the game build the game world right before my very eyes.

    • @amberlewis012
      @amberlewis012 Před 4 lety

      I honestly would too. This is why I like early access games, so you can watch the development of it.

  • @programacionartemar160
    @programacionartemar160 Před 3 lety +2

    Awsome video as always :D
    Any idea on how to change to other scenes or back to title screen?

  • @inudoge8577
    @inudoge8577 Před 3 lety +1

    Super cool

  • @bernhardvonallmen9221
    @bernhardvonallmen9221 Před 4 lety +6

    Outstanding - thanks a lot for sharing. Being pretty new to this, I got one question. How can you call the LoadGame method, defined in the persistentScene from the button in the titleScene?

    • @frithjofmeinke7789
      @frithjofmeinke7789 Před 4 lety +4

      You could make a gameobject in your MainMenuScene called "SceneManager" or sth like that. Attach a script with a method that calls the LoadGame method from the GameManager and assign it to the OnClick()-Event of the button in your scene.

  • @JuddSamurai
    @JuddSamurai Před 2 lety +2

    Tried to follow along a couple of time now, still cant get it to work. How do you get your play game button to communicate to the GameManager in the persistent scene? Can anyone help I have been stuck on this for days now

  • @hetpanchal1624
    @hetpanchal1624 Před 2 lety

    Im participating in a loading screen making competition :)))) thanks for your wonderful tips and tricks :D

  • @audacityfilmsproductions5334

    Great quality videos man! 👍

  • @Khayabusa
    @Khayabusa Před 2 lety

    Just subbed. Really awesome tutorials

  • @GameAndJokes
    @GameAndJokes Před 4 lety

    Wow i just needed this video thanks a lot!!

  • @Galaxy_World
    @Galaxy_World Před 3 lety +1

    Do more man! Ty

  • @polyellik
    @polyellik Před 4 lety

    Awesome video and very helpful aswell, keep up the good work!

  • @satindar31
    @satindar31 Před 3 lety

    so under-rated

  • @thanhphuongle7111
    @thanhphuongle7111 Před 4 lety

    That what i need now, thank for awesome tutorial!!

  • @shobirinutes
    @shobirinutes Před 4 lety

    akhirnya, ada tutorial yang profesional.

  • @coldcloudmedia2106
    @coldcloudmedia2106 Před 3 lety

    This is a great tutorial, thanks!

  • @xxXearoXxx
    @xxXearoXxx Před 3 lety

    Very helpful. Thank you!

  • @Pedro_Marangon
    @Pedro_Marangon Před 4 lety +2

    Good work! But you could improve the code by, in the interaction stage enum, instead of the switch you could do string.Format("Loading {0}: {1}",currentStage.ToString(),totalProgress);

    • @GameDevGuide
      @GameDevGuide  Před 4 lety +8

      Yeah this is fine if you're willing to use the same string/enum you want to present to the user. However, I wouldn't recommend it and avoid this myself as it wouldn't work well when you come around to localising or if you change names of things throughout development.

    • @ilyasvud3504
      @ilyasvud3504 Před 4 lety +1

      Try using the '$' marker to display variables comfortably. For example: string name = Console.ReadLine (); Console.Write ($ "Hello, {name}");

    • @Pedro_Marangon
      @Pedro_Marangon Před 4 lety

      @@ilyasvud3504 i didn't suggest that bcs at the time i wasn't using Unity versions with this by default, but now I use that all the time!

  • @Assassin0314
    @Assassin0314 Před 4 lety

    Great work! Please keep working!

  • @TheBnjmnlrd
    @TheBnjmnlrd Před 4 lety +1

    Man I'm crazy new to coding but I can tell this is good stuff. Thank you for your hard work in putting this together. my mind is stretching because it wants to understand and implement all what you just did. :) cheers and thanks again.

  • @adso9889
    @adso9889 Před 4 lety +2

    where that method LoadGame() is being called? i didnt get it and tried not working

    • @Karby0006
      @Karby0006 Před 3 lety +1

      Since the GameManager class is a singleton you can call it from anywhere (assuming the class is loaded -> attached somewhere in the game) by GameManager.instance.LoadGame(); Ususally you want have a MainMenu script of some sorts that has a method `public void Play(){GameManager.instance.LoadGame();}` which you then attach to a button via the inspector.
      I'd suggest learning basics first and then come back for this tutorial since it's aimed at intermediate Unity users and is more about the concept rather than the implementation. Your implementation may vary based on your game type, so the author leaves that part for you to figure out.

  • @f11bot
    @f11bot Před 3 lety

    really amazing video!!!

  • @patek2385
    @patek2385 Před 3 lety +36

    The loading screen has more lines of code than my entire game. Bruh.

    • @ano3661
      @ano3661 Před rokem

      Lol

    • @_sIash
      @_sIash Před 3 měsíci

      its only 30-50 lines 💯

  • @reeceytaylor
    @reeceytaylor Před 2 lety

    That scene enum is clever

  • @457Deniz457
    @457Deniz457 Před 4 lety

    Such an awesome and usefull Video, thanks !!! :)

  • @boltyhunter
    @boltyhunter Před 4 lety

    Now this is epic

  • @TrueIndian
    @TrueIndian Před 4 lety +1

    He is back bois.. another amazing tutorial.

  • @romancalderon
    @romancalderon Před 4 lety

    4 minutes into this vid an had to sub, solid approach to loading scenes and I know I'll keep learning from you. Great stuff!

  • @sebastianfeistl
    @sebastianfeistl Před 4 lety

    Great tutorial!

  • @codemoor
    @codemoor Před 4 lety

    Great Tutorial i can't say more !!

  • @Lashaandguladze69
    @Lashaandguladze69 Před 4 lety +3

    Hey, There is Girchi (გირჩი) logo and banner in your scene ^_^ That was nice surprise to me

  • @benkilkowski1003
    @benkilkowski1003 Před 3 lety +1

    For some reason, my main menu scene isn't unloading. Does anyone know why this is happening and how I can fix it?

    • @storiesstrauss3402
      @storiesstrauss3402 Před 3 lety

      Have you found a solution to your problem? I have the Loading Screen set to my Title and when I press Play in Unity, Unity stops responding.

  • @pamhs368
    @pamhs368 Před 4 lety

    Excellent!!!

  • @TechWrathTV
    @TechWrathTV Před 2 lety +1

    What did you add in PLAY BUTTON? on click event?

  • @antonkobziev405
    @antonkobziev405 Před 2 lety

    You are the best

  • @StigDesign
    @StigDesign Před 4 lety

    Really well made and explained video am new and i Subbed :D :D

  • @abawsek1496
    @abawsek1496 Před 4 lety +1

    can you help? my Loading Screen appears in front of my main menu when I press play???

  • @faythe03
    @faythe03 Před 4 lety

    I was surprised how this tutorial actually was. It really does show the current progress

  • @jenniferroth7824
    @jenniferroth7824 Před rokem

    Just in case someone else makes my mistake make sure to add the event system annnddd the standalone input module on the game object in the persistent scene. Let's all agree to pretend like I did that correctly from the beginning...

  • @adakathawa7317
    @adakathawa7317 Před 4 lety +1

    i didn't get it. where do you call the loadGame method?

  • @thanhlongtran9163
    @thanhlongtran9163 Před 4 lety +3

    Where did you call the LoadGame() function? Was it a on click event in the play button?

  • @pusitneelaphan3153
    @pusitneelaphan3153 Před 2 lety

    I love you!!!!

  • @BomboloaCat
    @BomboloaCat Před 4 lety

    Yoı are soo good at this think thank you for all information

  • @CEROM
    @CEROM Před 3 lety

    First time watching your videos, and I must say your voice reminds me of mumbo jumbo😂😂

  • @erpomes2131
    @erpomes2131 Před 4 lety +2

    How do I assign the LoadGame() function in the main menu start button if it is in another scene??? I'm going crazy...

    • @danieldahl4585
      @danieldahl4585 Před 3 lety

      No answer to this question. I'm also struggling with this?
      I created a Script called Load that reference the scenemangers LoadGame() function and then used that on the button. It work but it can't be the way to go.

    • @MrSnake95
      @MrSnake95 Před 3 lety +5

      @@danieldahl4585 make a gameobject and create an script, inside that script make a method that call the instance, call it like this "GameManager.instance.LoadGame(); now on the button put the gameobject with the new script in the OnClik event, and then play the persistence scene, not the main menu, that works for me. Sorry, my english is bad, but im trying to help.

  • @MinecraftGamerLR
    @MinecraftGamerLR Před rokem +1

    This is a cool tutorial and all, but the problem is that we don't know how to actually execute the code when we do something like press a button.

  • @feliscape
    @feliscape Před rokem

    I still get the no cameras message while the loading screen is active and I don't know how to make a retry button work

  • @drummsnikk5073
    @drummsnikk5073 Před 3 lety

    Just discovered your channel and everything is marvellous

  • @3nertia
    @3nertia Před 4 lety

    This is something I've always struggled with as a coder - why have a loading bar when constantly updating it just makes it take longer for the scene to load? Lol. Can't we get people to their gaming experience faster by just making a simple loading screen? Perhaps just a rotating "wheel" style loading icon?
    These videos are great and I LOVE them - just never been sure about a loading bar lol

    • @fukukyun78
      @fukukyun78 Před 4 lety +1

      I was just thinking about this... And why have a loading screen that even tells you what is being loaded? No player cares about that lol

  • @mazenhassan2011
    @mazenhassan2011 Před 2 lety

    Please help I have followed each and every step in the video but my loading screen just won't show up and no scene is getting loaded (not loaded) in heiraichy

  • @hoangduong5954
    @hoangduong5954 Před 3 lety

    u r the best!!!!!!!!!

  • @ancolia8772
    @ancolia8772 Před 3 lety +1

    Where did scene indexes come from?

  • @kenni9285
    @kenni9285 Před 4 lety

    U r so underated

  • @verified_tinker1818
    @verified_tinker1818 Před 3 lety +2

    So where did you get that city scene and why does the billboard (e.g. @ 1:23) show an ad for a political party in my country? 🤔🙄🤷‍♂️

  • @TheSixoul
    @TheSixoul Před 2 lety +1

    One thing I noticed is there's no mention of how to call LoadLevel from the main menu scene when Play is pressed.

    • @lewisbailey1000
      @lewisbailey1000 Před 2 lety

      ik this is old but yeah, im stuck on how to do this.

    • @Gurem
      @Gurem Před rokem

      Use the button onclick event. U can get a quick tutorial for it.

  • @literallythebestgamereverfr

    how did you get the play button to trigger a function on an object from a different scene? i cant figure it out

  • @ashishlesnar9577
    @ashishlesnar9577 Před 4 lety +1

    sir where LoadGame Method is calling .......Please answer

  • @bredj0834
    @bredj0834 Před 4 lety

    That was an awesome pitch :D. Very entertaining!

  • @YadroGames
    @YadroGames Před 2 lety

    Very hard tutorial for beginner!