Brackeys - we miss you... your tutorials are still the best, short, informative, and well explained.
@FelineRaptor-gv4te2 жыл бұрын
hi i am havinga trouble. the loading bar does from 0% then after a while directly to 100% instead of smoothly transitioning. what can I be doing wrong? my code matched the code brackeys wrote.
@yarriksauker9932 жыл бұрын
@@FelineRaptor-gv4te no one will help you brackeys is gone
@FelineRaptor-gv4te2 жыл бұрын
@@yarriksauker993 i know that. sorry, i figured it out. it happens only the first time i load the scene. from the next time the problem randomly happens and randomly doesn't happen. never mind. but brackeys is gone doesn't mean anyone else can't help me though
@FoxHoundUnit892 жыл бұрын
@@yarriksauker993 the beauty of these comments is that anyone can read them and answer questions. Or you can just be an asshole and waste everyone's time by reply g without answering the question.
@ishan90502 жыл бұрын
@@FelineRaptor-gv4te Loading doesn't happen smoothly. Its normal for the loading to change values abrubtly depending on the scene and objects in it your're trying to load
@zuckrprinz2492 жыл бұрын
Even after almost 5 years the best tutorials on youtube. Brackeys not only used to show us what to do, but he actually explained everything in a way a total newbie could understand it. we miss you dude :(
@CeretPenyok7 жыл бұрын
Are you a teacher? You're so good at explaining fast and to the point. I like it.
@BenPalladino5 жыл бұрын
Was gonna like this comment. But gonna let it sit at 69 likes.
@NSTATS5 жыл бұрын
@@BenPalladino Guess we have to like your comment instead
@coolboidoesstuff98285 жыл бұрын
liked this comment, but then looked at the replies and unliked it
@zokaper8015 жыл бұрын
r/mildlyinfuriating and r/madlads
@trubiso5 жыл бұрын
@@zokaper801 please don't use subreddits out of reddit =/
@tabooization1232 жыл бұрын
this was helpful thank you barckeys. miss you a lot
@bigjiggly74907 жыл бұрын
Brackeys is definitely the best Unity channel out there. Better than the actual Unity channel. I always love seeing the new videos even if they're teaching me stuff I know or stuff I'm not interested in. Great channel!
@TheRealOderless635gnat4 жыл бұрын
BigJiggly and alvinblox is the beat roblox studio channel Go to roblox.com/create and then install it u need a roblox account as well and go to help.roblox.com and keep ur account safe
@Scorpion-mw3qc4 жыл бұрын
He is better than avarage but not best
@bigjiggly74904 жыл бұрын
@@Scorpion-mw3qc This was 3 years ago, since then I've pretty much moved onto larger projects. Networking, Reverse Engineering, Modding, you name it. Looking at Brackeys with a much more advanced understanding I can tell it is in fact pretty avarage, a lot of bad practices are performed during the scripting tutorials. He's still a massive inspiration and a great source for beginners.
@Scorpion-mw3qc4 жыл бұрын
@@bigjiggly7490 yeah I agree
@chriswranek65697 жыл бұрын
Hey Brackeys I just want to say that your videos are some of the best programming and game making videos on the entire internet. I could not hold them in higher regard in terms of how much they've helped and still are helping me to this day in fact. All I can thank you and keep up the amazing work!
@sharif476 жыл бұрын
Brackeys really hates the Start and the Update functions. 😅
@turksinnovations5 жыл бұрын
I'm starting too as well lol. I Hardly use the functions now that I think about it 😅.
@user-db1uj2px9l5 жыл бұрын
LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOL !!!! LMFAOOOOO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! HOLY SHIT BRO IM DEAD I CANT BREATHE LMAOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO U KILLING ME BRUH
@jesse5785 жыл бұрын
@@turksinnovations I actually love them! I use them almost everytime!
@voidling26325 жыл бұрын
you should avoid them as much as possible. Atleast update function. It's not good for perfomance.
@jesse5785 жыл бұрын
@@voidling2632 Usually I have to check if something is true constantly and why would I need to avoid the start function? Sometimes you need to do check something right at the start.
@quixzotic7 жыл бұрын
Wow this video was published 24 min ago and it already has 735 views! 105 likes! 0 dislikes! Wow Brackeys you are truly the best.
@diegocrusius7 жыл бұрын
thanks to him I finally got rid of my fear of working on unity and now I'm fully working on it
@eswaransubramaniam31966 жыл бұрын
Snu,allalak
@zaidmermam25244 жыл бұрын
Now after two years : 171 d.likes 11k likes +400k views 😅
@Scorpion-mw3qc4 жыл бұрын
dont u see 201 dislikes?
@futuremapper_4 жыл бұрын
@@Scorpion-mw3qc this comment was 3 years ago....
@rodolforubens7 жыл бұрын
The video quality is so clean that it looks like it's running on my machine.
@Brackeys7 жыл бұрын
Glad you like it! :) I use OBS to record 1920x1080 in 60fps with a bitrate of 8000 kbps - Just in case anyone is interested!
@rodolforubens7 жыл бұрын
Thanks for sharing! Thanks for the tutorial too!
@SxAde7 жыл бұрын
Isn't Asbjørn one of the nicest developers and tutors on the Internet?
@KrakinTheKonsole4 жыл бұрын
@@Brackeys WHAT 8000 KBPS !??!?!?!??!?? REALLY I Record at 1500 Kbps
@KrakinTheKonsole4 жыл бұрын
At 1280x720
@ulicesisaia5 жыл бұрын
Just a little improve, if you put the line "loadingScreen.SetActive(true); " before the "StartCoroutine", in the "LoadLevel" method, the panel will appear ALWAYS before the couroutine start, because in my project I try this and must of the time the panel (and obviously the slider) take too long to appear and the start menu was still visible for a tiny but visible time, so whit this little change work like a charm!! Thanks Brackeys, you rock!!! ♥
@plusone88794 жыл бұрын
I'm still having this issue, loading screen takes a few seconds to appear and the slider is already at 100percent. I tried putting the set active true function before coroutine but it still does it. could there be another reason why?
@ulicesisaia4 жыл бұрын
@@plusone8879 sorry I don't remember this issue, but try putting that line of code in different places, maybe inside the coroutine? Your problem seems just a matter of order
@plusone88794 жыл бұрын
@@ulicesisaia gonna try! Thanks for the response!
@plusone88794 жыл бұрын
@@ulicesisaia It runs well in the build so I can live with this
@CarlitoProductions7 жыл бұрын
I've been looking for a tut like this on loading screens. The only one that makes sense and is clear. This is great
@AncientMythology-HistoryАй бұрын
sir, i have been watching your video from 1 month and i learn alot of things. thanx alot
@Revy83 жыл бұрын
brackeys your videos are so good. Ive gone from knowing almost nothing about coding and game creating to full time indie dev in 3 months. Please come back and make more videos. How about an in depth shader graph tutorial?
@kuichib5 жыл бұрын
I just want to say a big thanks to you and other content creators sharing what you've learnt. It's really saving me a lot of time and headaches.
@SaifUlIslam-db1nu5 жыл бұрын
I watched two continuous adds for you, and I'll watch more if it means that I have to learn everything you can teach. So, thank you. :)
@47Mortuus4 жыл бұрын
Read a book and stop wasting your time
@wyattsilket84574 жыл бұрын
@@47Mortuus damn, you really gotta be a bitch like that
@47Mortuus4 жыл бұрын
Convince me that watching ads is not a waste of time. I'm very curious.
@47Mortuus4 жыл бұрын
@XboxPro39 Saying that you prefer to waste time instead of learning doesn't make a waste of time not a waste of time.
@47Mortuus4 жыл бұрын
@XboxPro39 Yes, boi
@toastyshrimp18823 жыл бұрын
this is one of the greatest videos I've ever seen. I don't know if it's timing or what, but I very nearly grasped a lot of these concepts, but wasn't quite there. From how loading work specifically, to coroutines, to the yield keyword in general. This video singlehandedly put all of those pieces together for me. Genuinely amazing.
@nikolatotev7 жыл бұрын
By far the best unity tutorials here!
@tylerguitar756 жыл бұрын
Brackeys makes the best unity tutorials everrrr
@zaranasolanki31862 жыл бұрын
This video saved me!!! I was stuck on making a Loading Scene since 3 days and my problem was solved in just a few minutes! Thanks a lot!! :))
@ethanbarker21597 жыл бұрын
Figured this was going to be just on UI, but this is even better! Had no idea it was this easy to access load progress.
@andrewkerr94387 жыл бұрын
I love the quality of your videos, you do a vary good job on your tutorials, Keep up the great work!
@fated2pretendd10 ай бұрын
To anyone has a problem where your "Activation" phase takes too long to load, hence your loading bar is filled but the scene takes another few seconds to appear, I find a way to get around: Set operation.allowSceneActivation = false at the beginning of the coroutine, only let your loading bar run up to 90% as the operation.progress. The remaining 10% can be filled by using a lerp from 0.9 to 1 in 1 or 2 seconds. Then set the allowSceneActivation to true. That's way the loading bar will look more accurate.
@simonholmqvist69137 жыл бұрын
YES! You always upload the things that I need when I need them :D
@daddycanstudio75064 жыл бұрын
Чувак ты крут, у тебя есть практически все ответы на вопросы которые я ищу, спасибо
@amey70647 жыл бұрын
U r the best..even the best than the official tutorials of Unity. Keep going bro! I have learnt a lot from it. 😊😁
@TesserLink6 жыл бұрын
i honestly never understood how a loading screen worked before. because i was always used to unity just instantly loading the scene or waiting a second to load. this was really helpful. thanks.
@MaeveFirstborn7 жыл бұрын
You make both the clearest and most specific tutorials of all time. I am where I am in development because of your videos. I couldn't get the movement to be relative to the camera, nor could I lock the rotation of the camera, or even handle a fire loop. Thank you for making the best Unity (and C#, is that series ever coming back?) tutorials on KZbin.
@thriftsimple5616 жыл бұрын
Brackeys, you're my FAVE!! Seriously the best man!
@aymanymcmb33084 жыл бұрын
You've the the best way to explain unity functionalities !! Thank uuuuuu
@VoodooMadMike415 жыл бұрын
Cheers! I managed to use this to incorporate a loading bar to my splash screen :)
@HarishKumar-zr2dy6 жыл бұрын
Wow. I was always wondering how you do it. I mean how smooth your workflow is !!
@Ap0caaLypS7 жыл бұрын
You explain maximum stuff in the minimum duration , subscribed and thumbs up !
@Retr-eo5uz7 жыл бұрын
For bigger games this isn't very good because it gets to fast to 100% and you have to wait then like 10 seconds. Also you are the Unity/Blender/C#/Photoshop God. You are the best !
@firelights36757 жыл бұрын
GamerRO Gameplayer how does it get to 100% too fast? It isn't waiting a certain amount of time, it is actually showing the current state of loading
@Retr-eo5uz7 жыл бұрын
Fire Lights I say that in like 3 second the bar is at 100 then I wait like 20 seconds till the next scene loads
@RTXTi-co8pd7 жыл бұрын
GamerRO Gameplayer Mabye the game that youre making isnt heavy on resources or you have a very good computer... As Brackeys said the load is two parts,i think those 20 secons are part two
@chaosmongerstudio5 жыл бұрын
I'm having the same problem... Gets super fast to 100% then everything freezes - I've also animations - then I've to wait 10 seconds before the scene actually loads.
@Skaski1072 жыл бұрын
you do the best quality Turtorials! thank you very much
@hseshorty54327 жыл бұрын
Everything is awesome, when you get a lecture from brakeys, Everything is awesome....
@thatguyplayz0nmobile4713 жыл бұрын
You missed the part where when it hits 99% it pauses for a long while XD
@LordDecapo5 жыл бұрын
Been binging your videos part of my crash course into unity. Thanks for having great tutorials!
@akashvirodhia70747 жыл бұрын
LOVE YOU BRACKEYS FOR THE AWESOME WORK YOU DO!!!
@Demon.Immortalis2 жыл бұрын
The legend who left...
@kira76836 жыл бұрын
text.text = (progress * 100).ToString("F0") + "%"; to truncate number
@Kalahee4 жыл бұрын
text.text = progress.ToString("P#") or text.text = progress.ToString("0.0%"). Both will do x100 and add % accordingly to loaded CultureInfo. # is the number of decimals. Symbol for % may look odd for some culture, so you can do this text.text = progress.ToString("P#", CultureInfo.InvariantCulture);
@violentgamer59104 жыл бұрын
thank you
@kapilbadokar4 жыл бұрын
My score of the game also appears...while the load level screen appears..??can someone help..
@kapilbadokar4 жыл бұрын
@@Kalahee My score of the game also appears...while the load level screen appears..??can someone help..
@Kalahee4 жыл бұрын
@@kapilbadokar If you're using a different scene for your loading bar, sounds like your score is on a gameobject that is set to DontDestroyOnLoad or something.
@DerAua7 жыл бұрын
Wow, I misspelled a couple of things, but it worked out fine. Thank you so very much for this and the main menu one. Please make one on how to make an options menu. You are the best!
@totty25243 жыл бұрын
Such a great teacher! Love the way you first show the low IQ version of the code before making it all fancy.
@noisefond Жыл бұрын
If you're using TMPro in the percentage text add... //put at the top using TMPro; //put in the while(!operation.isDone) function public TMP_Text progressText;
@kidein573511 ай бұрын
Ty man
@mxjensen59536 жыл бұрын
Dude, your videos for Unity is amazing! Keep up the fantastic work! :D
@glorythekitty96813 жыл бұрын
Your videos always helps me😄
@asherkenyon6 жыл бұрын
This is a fantastic tutorial I had no issues worked straight away!
@neikosar6 жыл бұрын
Really fast, synthetic, understandable, clean, charismatic guy... Well done! New subscriptor! :D
@kyraaa__5 жыл бұрын
*subscriber
@JonathanSousadeJesus7 жыл бұрын
You are very good to explain those things. Keep it up!
@wgregoryw217 ай бұрын
If the loading bar is too snappy for you, you can do this: float progress = Mathf.Clamp01(operation.progress / 0.9f); float smoothProgress = Mathf.MoveTowards(slider.value, progress, Time.deltaTime); loadingBar.value = smoothProgress; You can multiply Time.deltaTime with something like 0.5f to make it even smoother or just leave it as is. Hope this helps!
@rrrush7 жыл бұрын
Your voice and accent are awesome.
@goodgamershow65053 жыл бұрын
Quick update for 2021 Unity version. Now the Debug.Log(operation.progress); displays the values between 0 - 0.9 properly, not only 0 and 0.9, but values between them as well, so you don`t need to add some extra codes that Brackeys used for displaying the exact value of loading
@Nikguin047 жыл бұрын
YAY another brackeys video
@LittleRainGames7 жыл бұрын
actually that is not why brackeys. It's because once it reaches 1 it will not be running the while loop, which means it will not call the debug.log.
@nullx23687 жыл бұрын
LittleRainGames agree with you, I'm not sure how it works but this is also what I thought.
@Oxmond4 жыл бұрын
6:40 Beautiful. Never thought about just dividing by 0.9! 🤪 Thumbs up 👍👍👍
@mayankchauhan58354 жыл бұрын
why did he do thay...?
@huzafaiftikhar7 жыл бұрын
You are awesome man. keep doing the great work .
@Jamesthe17 жыл бұрын
I learned a lot of things just from this simple video. Thanks! (I came from Sebastian Lague)
@tarokawai99615 жыл бұрын
Thank you for making this video. This video was very helpful for me.
@youssofhammoud63357 жыл бұрын
I love your tutorials.
@BrainSlugs835 жыл бұрын
You should be using string formats for percents. It will grab the current UI culture and format it appropriately.
@NyLad155 ай бұрын
Thanks Dunkey. I love your videos.
@tanliyoung6 жыл бұрын
Just start learning unity, your tutorial is awesome! :)
@venzeti21607 жыл бұрын
Woah.. Earned yourself a new subscriber.
@anommahartha23576 жыл бұрын
Thanks man! Awesome tutorial :) tip : add this. (int)(progress*100f)+"%"; to make value like 10%, 20%...
@enderose10445 жыл бұрын
Is it really working? Because I tried to do it, and still the progress is so fast
@joshuadrewlow Жыл бұрын
Amazing simple! Saved me 35 $ to buy an asset from the store.
@areg71827 жыл бұрын
How is it that every time you make a video it is so simple to understand and the results are great? Thank you brackeys, you're the best! Notice me senpai
@nareshbisht76205 жыл бұрын
Man why don't u make unity official video, It will be awesome to c you, mike together. Best explanation.
@unitylordcail46482 жыл бұрын
At 10:15 -- With Unity2020.3LTS using TextMeshPro.. // Add this to top of file using TMPro; { ... // Instead of public Text progressText; public TMPro.TMP_Text progressText; ...
@iceee2 жыл бұрын
tysm
@hk-0148 Жыл бұрын
Yes thank you! I'll let you know if this works!
@AdrielLikesDucks6 жыл бұрын
This guy is my idol.
@LightArtsOfficial7 жыл бұрын
Awesome video just you are making it as always to look easy! :)
@fernandamoreno61405 жыл бұрын
Suscribed! Thanks for the video quality and the tutorial, best so far.
@kapkoder40094 жыл бұрын
Thank you this is exactly what is needed
@SnutiHQ5 жыл бұрын
Tips for people who don't see the progress bar working is to build the game (standalone build) and test it there, instead of "play" in the editor.
@flufferbat26195 жыл бұрын
I was totally just wondering how to do a bunch of the stuff in this video, thanks! Your really good at this ay..
@z3ming8747 жыл бұрын
Great video Brackeys! Can you maybe make a video/series on how to roll a ball? I'm aware that there are others out there, but yours are always the best!
@ZeroSleap6 жыл бұрын
I saw some documendation for C#'s async and await workflow,basically this asynchronous compute in a game can be achieved with that workflow too.Check for async in C#. I researched a bit and unfortunately the C# async,await are not supported in Unity yet(By default).But you could enable .Net 4,6 experimental in unity and try and find documentation on how to do stuff with async await in unity.
@DiamondHeart1177 жыл бұрын
RTS tutorial series...please? Maybe something where you can build structures anywhere like in Command & Conquer, or on fixed spaces like in Halo Wars? I've seen this asked before and sorry if it's a lot for you, we all just like your tutorials so much. Keep it up! Oh and nice vid btw!
@ExiledQ5 жыл бұрын
Thanks again Brackeys!
@yarriksauker9932 жыл бұрын
we miss you please come back
@rrrush6 жыл бұрын
For those of you who want the loading to begin without a button, heres the script. follow the steps in the video , except the ui button part, and you should be good;) using System.Collections; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class LoadingScreen : MonoBehaviour { public GameObject loadingScreen; public Slider slider; public Text progressText; public int loadSceneIndex = 0; void Start() { StartCoroutine(LoadAsynchronously(loadSceneIndex)); } IEnumerator LoadAsynchronously (int sceneIndex) { AsyncOperation operation = SceneManager.LoadSceneAsync(sceneIndex); /////////IT WORKS !!!!!!! loadingScreen.SetActive(true); while (!operation.isDone) { float progress = Mathf.Clamp01(operation.progress / .9f); slider.value = progress; progressText.text = progress * 100f + "%"; yield return null; } } }
@tursturis4 жыл бұрын
keşke senin gibi böyle kaliteli içerik üreten TR kanalı olsa
@HyrotoXaque3 жыл бұрын
Adamlarda çocuklara istediği kariyer yönünde destek olup yol göstermek var, biz Türk gençleri ise aç karnımızı doyuralım kıçımıza don alalım onun peşindeyiz imkansızlıktan maalesef
@vardanmelqonyan6294 жыл бұрын
I really liked your content. Also your positive voice and face))
@cosmobrain64324 жыл бұрын
Cool. How do you separate the loading and activating into separate functions? I want to have one button to load the level, and another to activate it when the player is ready, so the level can be loading while the player is interacting with a separate menu. For example, it could load while the player is selecting weapons/armour.
@thangnobita17393 жыл бұрын
thank you so much, hope you come back soon
@TremixNeo7 жыл бұрын
Thanks it really helped,since I'm trying to be a game dev
@snodingamer7 жыл бұрын
that is actually really cool
@bukittutorial77992 жыл бұрын
good job.. greetings from Indonesia Master
@Hydralyph7 жыл бұрын
You know, I was just wondering about how to do this last night, and thought about saying something to Brackeys. Huh
@yadhuvtk3 жыл бұрын
Thanks For This Tutorial It Will Helped Me A Lot!!!!!!!❤
@मेबीराज5 жыл бұрын
@10:28 - Or you can simply devide operation.progress with 0.009 insted of 0.9 and change min:max of slider to 1:100. 😁
@EricRockdriguez7 жыл бұрын
Dude! your videos are realy grate, nice job
@csfox37334 жыл бұрын
i like ur content man and starting right now with c++ and keep it to can use the unity programme :)
@patrickjay64343 жыл бұрын
Another excellent video, thanks a bunch! 👍🏿
@StephenAllenGames5 жыл бұрын
Nice and simple, thanks!
@sudagatz4 жыл бұрын
Very helpful! Thanks for sharing.
@Jaroslavkr Жыл бұрын
Thank you so much :) but i stil miss you :(
@abdoljalilsoltani94716 жыл бұрын
Hi Brackeys ! very helpful to me thanks
@redouanekachach91814 жыл бұрын
Very concise and helpful. Thank you very much :D
@doggo46167 жыл бұрын
Yes!!! It worked!!! Thank you so much!!!
@vanilla314 жыл бұрын
i love your videos, and they help me a lot Thx
@Sorcerer05 жыл бұрын
I have scene that loadscene percentage in 0.25x to see how beautifully it is being load