How to make AWESOME Scene Transitions in Unity!

  Рет қаралды 928,127

Brackeys

Brackeys

Күн бұрын

Transitions in Unity are easy to learn - let's have a look!
Get up to 91% OFF yearly plans using the code "BRACKEYS": www.hostinger.com/brackeys
● This video was inspired by: • Post Processing in Uni...
● Loading screen in Unity: • How to make a LOADING ...
● More about singletons: • How to use Singletons ...
● Check out the website and see how much you rock: youguysrock.org/
····················································································
❤️ Donate: www.paypal.com/donate/?hosted...
► Join Discord: / discord
● Website: brackeys.com/
● Twitter: / brackeystweet
● Instagram: / brackeysteam
········································­­·······································­·­····
► All content by Brackeys is 100% free. We believe that education should be available for everyone.
❤️ Donate: www.paypal.com/donate/?hosted...
········································­­·······································­·­····
♪ "ES_Dress Code_Black - oomiee" by Epidemic Sound

Пікірлер: 772
@just.tiramisu
@just.tiramisu 4 жыл бұрын
I am so happy your channel exists, i wouldn’t even be able to use unity without your channel
@UnitCodesChannel
@UnitCodesChannel 4 жыл бұрын
Phoenix Gude True
@UCWjF-rlGGWBHxEPLGJXZBoA
@UCWjF-rlGGWBHxEPLGJXZBoA 4 жыл бұрын
Phoenix Gudhello
@papbound2099
@papbound2099 4 жыл бұрын
He best channel
@UCWjF-rlGGWBHxEPLGJXZBoA
@UCWjF-rlGGWBHxEPLGJXZBoA 4 жыл бұрын
s mornningshana:-)
@ssojyeti2
@ssojyeti2 4 жыл бұрын
literally had this exact thought
@Dexigon
@Dexigon 4 жыл бұрын
I swear, every time I need to add something to my Unity game, you make a video about it on the same exact day.
@RedNeckJewsus
@RedNeckJewsus 4 жыл бұрын
same
@GymCritical
@GymCritical 4 жыл бұрын
Same, I was just stressing on it.
@_Vesper
@_Vesper 4 жыл бұрын
Me too!
@Nox__
@Nox__ 4 жыл бұрын
Me too it always happend
@danielwalter5436
@danielwalter5436 4 жыл бұрын
Look for a @Brackeys package in your package manager. Now you know why.
@Oxygeniium
@Oxygeniium 4 жыл бұрын
6:11 instead of creating a new animation, you can put the same animation 2 times to the Animator Controller and in the second animation set "Speed" to "-1" in the inspector :).
@supendi42
@supendi42 4 жыл бұрын
Nice tips brother
@sagiziv927
@sagiziv927 4 жыл бұрын
Thought about it too, but creating 2 animations is easier to understand, and in this case, swap with different animations
@Brackeys
@Brackeys 4 жыл бұрын
That is definitely true! But for many animations you want the start and end to be different, not just inverted. Such is the case with the CircleWipe for example :)
@UnitCodesChannel
@UnitCodesChannel 4 жыл бұрын
@@Brackeys true
@Oxygeniium
@Oxygeniium 4 жыл бұрын
Yea, I posted this comment for people who don't know about this "trick" and who just want to reverse their animations ;).
@taylorm2133
@taylorm2133 Жыл бұрын
Man it's such a shame he doesn't make videos anymore, hands down the best unity tutorials i've found on youtube
@MrNerd-ll9my
@MrNerd-ll9my 4 жыл бұрын
Just a reminder that you're literally the reason that a huge amount of game designers are able to do what they love.
@paramveersingh8615
@paramveersingh8615 3 жыл бұрын
So True !!!
@windwakin
@windwakin 3 жыл бұрын
@@paramveersingh8615 I second this statement!
@jansmix6033
@jansmix6033 Жыл бұрын
Amazing tutorial! Screen transitions are seemingly a detail in games but it makes the experience much more comfortable than just switching from one scene to another. I put this script and animation into a prefab with my camera and can comfortably use it in any scene. Truly your channel makes stuff seem easy ♥
@visintel
@visintel 4 жыл бұрын
That canvas group trick for changing alpha is sick!
@KrazyKain
@KrazyKain 4 жыл бұрын
This is brilliant, I love how once it's set up you can create just about any transition as long as you can make it in the animator. Definitely something I'll be making use of.
@alejolab
@alejolab 4 жыл бұрын
I accidentally found a way to make cool transitions (for a cancelled game long ago). Create a bunch of angled boxes with a flat black material covering the whole view of the camera, then animate the near clip plane and that's it. (if you need to have objects near the camera in your game use a second camera to render only the transition) The first transition I created was a bunch of regular boxes 45º to the camera, it looked like a lot of small triangles growing on the screen until filling it completely. Then I moved some rows a bit closer so the some small triangles would appear first creating in a swiping effect. After playing a lot with the concept I ended up creating a custom model in Blender to have a very cool looking transition with shapes swiping and growing from different angles. The possibilities are endless and they are very fast to create.
@PepsiFruit
@PepsiFruit 4 жыл бұрын
"the first thing we are going to do" 2:11 "now we are ready to animate" 4:36 "let's go ahead and create a level loader script" 9:20 "All of the code we are going to need" 13:48
@UnitCodesChannel
@UnitCodesChannel 4 жыл бұрын
PepsiFruit commenting so its more visible
@riqb837
@riqb837 4 жыл бұрын
Obrigado!🇧🇷
@josepgc1183
@josepgc1183 4 жыл бұрын
I dunno man having a comment like this is a bit insulting when the video isnt even that long and you can skip around on your own
@mannou38
@mannou38 4 жыл бұрын
@@josepgc1183 let's say, you tried doing this on your own, but came across an error while coding. do you really think, everyone wants to spend 13 minutes just to get one single error fixed, when you could've fixed it in less than 3 minutes. Timestamps are not "insulting", they are just for people that want to speed up the process. Edit: I could go way in depth, but I just don't want to waste my time on someone that is serious about timestamps insulting the creator, I'll just skip to the end💀
@RetroAnt3
@RetroAnt3 4 жыл бұрын
@@mannou38 outplayed
@KapybaraKSP
@KapybaraKSP 2 жыл бұрын
Y'know... When I started I'd have to come to this channel to understand EVERYTHING... Now... I added this feature to my game entirely by my self, making educated guesses from what I previously knew and it worked first time. I have you to thank for this, I actually have learned and made progress on what will be my first fully complete, fleshed out and time consuming project. I'm going all out on this game, but it's not something I plan to release in a month, but probably two years to give me enough time, and that's because of everything I've learnt from you!
@danman6538
@danman6538 4 жыл бұрын
WHY ARE YOU DOING AWESOME TUTORIALS JUST RIGHT AFTER I FINISH MY PROJECT ! WHYYY !!!! You're awesome x)
@exhamza4063
@exhamza4063 2 жыл бұрын
dan man ? is that u GOOD game !
@aaronperron
@aaronperron 4 жыл бұрын
this guy is like the nicest drill sergeant. Plowing through the tutorial with no mercy in the most efficient way.
@iangraham6730
@iangraham6730 4 жыл бұрын
I just can't get enough of Brackeys!!
@moosesnWoop
@moosesnWoop 3 жыл бұрын
This channel still provides value. I think for the next 10 years, it's going to provide a lot of value.
@tassodemo2316
@tassodemo2316 3 жыл бұрын
This man is the reason I made my first “game”. Thanks Brackeys!
@polrogi
@polrogi 3 жыл бұрын
we will miss you brackeys :(
@BMSThomas
@BMSThomas 3 жыл бұрын
Feels weird coming back here knowing there probably wont be another video released here for a long time at least
@jasondegoumois3809
@jasondegoumois3809 3 жыл бұрын
R.I.P Brackeys December 2012 - September 2020 He had a good 8 Years... D;
@jasondegoumois3809
@jasondegoumois3809 3 жыл бұрын
I know I'm not dumb lol it just feels like it :T
@ImmaSuperSaiyanGoku1
@ImmaSuperSaiyanGoku1 4 жыл бұрын
I swear this channel is a blessing. It's helping me so much with developing my own games.
@noahdorego6031
@noahdorego6031 4 жыл бұрын
Can't even BEGIN to explain how useful your channel is to me and many others, thank you for all the help!
@yahia1355
@yahia1355 4 жыл бұрын
I was thinking of this when I started that CUBETHON game in your tutorial , now I'm making FPS game , I love you man , you are so good for us and for unity community ..
@ChristopherAOBoyle
@ChristopherAOBoyle 4 жыл бұрын
Incredibly simple concept, but done by a true master. Plus I really wasn't aware of animator controller overriders! Thankyou so much Brackeyssss
@zetsufir
@zetsufir 4 жыл бұрын
Ps: using the animator on a UI canvas "dirties" it even if nothing is going on because of the transform of the UI elements are being changed by the animator per frame; causing a recompute of all another elements in the same canvas which gets hairy in complex hierarchies. A good practice to improve performance is to make your scene transition in another canvas rather than the one in your UI and toggle on/off when needed.
@OlivierPons
@OlivierPons 3 жыл бұрын
When you disable a canvas, everything instant disappear.... and my solution is the opposite of yours (if your transition is in a second canvas (= you already had one), be careful to put your transition into your first canvas otherwise it wont work (Unity v2021.1.7)) but you are probably right: just showing a basic menu will eat up all the phone's battery... I have no simple solution for this. Maybe insert the "transition canvas" in CSharp when you want to fade out?
@SwiftGames_
@SwiftGames_ 4 жыл бұрын
Tfw spent ages on this last night and brackeys has a tutorial one day later
@arkalexx
@arkalexx 3 жыл бұрын
Yep, this channel is the best, I'm new In Unity like 2 weeks ago and I have learn a lot.
@renevaldez7481
@renevaldez7481 3 жыл бұрын
This was such a great help thank you so much
@Jalechah
@Jalechah 4 жыл бұрын
I always learn something new ! thank you for these videos :)
@jakob8876
@jakob8876 4 жыл бұрын
Been programming for half a year now and damn your channel inspires me! Keep up the great work!
@Lukas-vv6um
@Lukas-vv6um 4 жыл бұрын
Yay another vid! I needed this
@b33bo93
@b33bo93 3 жыл бұрын
this was more of an animation tutorial for me, thanks for teaching me how the animation works
@s4m648
@s4m648 4 жыл бұрын
Thanks for making this tutorial, great work!
@cinnamintie
@cinnamintie 4 жыл бұрын
This is a really great tutorial. I can't believe I never knew animation overrides were a thing. That will be so useful in the future.
@UnitCodesChannel
@UnitCodesChannel 4 жыл бұрын
Mint Fox Wait till you hear about DoTween 😋
@shanks4654
@shanks4654 2 жыл бұрын
I love you Brackeys, the content of your channel always saves me!
@zendreamus
@zendreamus 4 жыл бұрын
This is so weird... I was just looking for a tutorial on this, like TODAY. And what do you know, Brackeys provides. Thank you so much mate, don't know what I would do without you!
@catsandgames9871
@catsandgames9871 4 жыл бұрын
Baader-Meinhof effect.
@TopBagon
@TopBagon 4 жыл бұрын
Missed ya, thanks for the awesome video
@moonwatchereclipse5291
@moonwatchereclipse5291 10 ай бұрын
Thank you so much Brackeys! I love your channel so much :)
@ticohightec367
@ticohightec367 3 жыл бұрын
I cannot express all the appreciation to this teacher. Thanks a lot :)
@zeviic67
@zeviic67 4 жыл бұрын
imma be real with you, chief. Your videos have inspired me to attempt to self learn c# at quite a young-ish age and practice making games and coding all the features in. Keep up the amazing work!
@sebastianfeistl
@sebastianfeistl 4 жыл бұрын
This is exactly what I need! Thanks Brackeys :)
@JacksonXtreme
@JacksonXtreme 4 жыл бұрын
When swapping scenes for my game I used LoadScene(’Insert Level Here’) as an on-click function for my buttons. The transition might not be hard, but upon using a loading screen as a transition, you might need to look at both this tutorial and the loading screen tutorial.
@Furiousky
@Furiousky 3 жыл бұрын
where is the loading screen tutorial, is it from brackeys?
@alexorbh7
@alexorbh7 4 жыл бұрын
Fantastic video. Very helpful and clean way to do it.
@maxrobotics3703
@maxrobotics3703 3 жыл бұрын
Thank you sooo much, my love for this channel is strong. thanks.
@StarGazerTom1991
@StarGazerTom1991 4 жыл бұрын
Wow, that's actually alot easier than I thought it would be. I'm going to practice with a few of these over the next few weeks for my game :)
@telecomanda
@telecomanda 4 жыл бұрын
Dude that's so cool! My top-down shooter will feel much better with such animations in the menus! Honestly I wouldn't have even known how to create a project without all of your help from those awesome tutorials! Thank you! Also I could use some help with a Line of Sight effect using meshes and raycasts tutorial, would be great if you make one soon!
@alexdeegames
@alexdeegames 2 жыл бұрын
It's so pretty simple and so cool, thanks!
@Futureblur
@Futureblur 4 жыл бұрын
I LOVE YOUR TUTS! 😍 ❤️
@JaysOnTheMoon
@JaysOnTheMoon 4 жыл бұрын
Brackeys is the GOAT of Unity tutorials! You guys are seriously awesome!
@OlivierPons
@OlivierPons 3 жыл бұрын
Hint that worked for me: if your transition is in a *second* canvas (= you already had one), be careful to put your transition *into* your first canvas otherwise it wont work (Unity v2021.1.7)
@therandomwordspodcast8710
@therandomwordspodcast8710 2 жыл бұрын
Bro you are a life saver. I was like what the hell am I doing wrong lol. Can confirm this was my problem and you solved it. Thanks!
@kartman146
@kartman146 2 жыл бұрын
Also, if you're like me and have two canvas and have issues with them overlapping each other, *remember to modify their sort order in the inspector*
@sarahpuspdew
@sarahpuspdew Жыл бұрын
@@kartman146 so uh what do i need to do? i have 2 canvas as well and the transition doesnt work well in my project....i alr sort the order but it still doesnt work
@sarahpuspdew
@sarahpuspdew Жыл бұрын
what do you mean by putting the transtition? what part do i need to move?
@MrSacralidge
@MrSacralidge 9 ай бұрын
two years later, still saving the day. thank you!
@NestedMango
@NestedMango 4 жыл бұрын
It's always lots learning to watch your tutorial 💙❤😍
@newcomixx
@newcomixx 3 жыл бұрын
I love you, this was so clear!
@andrewm4815
@andrewm4815 4 жыл бұрын
Dude you are on a roll with these videos.
@kshitizyash9515
@kshitizyash9515 2 жыл бұрын
Thankyou for all your effort your are amazing😍😍
@lordpickaxe788
@lordpickaxe788 3 жыл бұрын
Your clip of Bercow shouting Order had me ROFL - it was so unexpected and awesome!
@marscaleb
@marscaleb 2 жыл бұрын
That looks effective. I had built transitions into my game by drawing on the screen with the classic IMGUI instead of a canvas. The animation was entirely controlled through code, but I didn't have to add any special objects to my scene, much less any that were visually in the way in the editor. (They were controlled through a game manager script that was set to not destroy on load.) And since it was all animated through code, I also created a number of transition effects that would be more challenging to create through the animator.
@gameexplorer4963
@gameexplorer4963 4 жыл бұрын
Very very useful! Thanks!
@GeorgeWulfers_88
@GeorgeWulfers_88 4 жыл бұрын
Pretty cool stuff! Love your intros! :)
@stephenmiu
@stephenmiu 4 жыл бұрын
Awesome! This's amazing!
@o_2731
@o_2731 2 жыл бұрын
I came here for Scene transitioons, and learned more new shortcuts than from any shortcuts tuturial. Thank you
@lercon9875
@lercon9875 3 жыл бұрын
Awesome I like it!!!
@TheAstronomyGame
@TheAstronomyGame 4 жыл бұрын
Lifesaver bro thank you
@ezramatan5233
@ezramatan5233 4 жыл бұрын
@Brackeys in my favorite youtuber, this couldn't have been more perfect. I am making two scenes and couldn't figure out how to switch them.
@hollowsoul5499
@hollowsoul5499 4 жыл бұрын
i love you brackeys keep up the good work
@CatptainWhiskers
@CatptainWhiskers 9 ай бұрын
Thank you so much for this!! Now I can proceed to finish my homework assignment!!!
@MATTCHUZZ
@MATTCHUZZ 4 жыл бұрын
brackeys back at it with another great video!!!!
@benjidawes3935
@benjidawes3935 4 жыл бұрын
Your Channel is literally the best channel on KZfaq
@imhurt1619
@imhurt1619 3 жыл бұрын
You are the. Best in the town thanks for your tutorials that made things easy for me I love you ♥️
@hardikjain3153
@hardikjain3153 2 жыл бұрын
Amazing!
@tania.yunitaa
@tania.yunitaa 4 жыл бұрын
Wow awesome tutorial♥️
@louisecollins9213
@louisecollins9213 3 жыл бұрын
just got this working in my game and looks awesome your the best ! (;
@ralphcalzada4767
@ralphcalzada4767 3 жыл бұрын
i started game dev because of this channel
@icu4
@icu4 2 жыл бұрын
Thanks a lot for this video. You are really help me.
@sangitachoudhury1659
@sangitachoudhury1659 3 жыл бұрын
Thanks sir this video helped me a lot
@thisgamedev
@thisgamedev 2 жыл бұрын
This is super useful, especially for my game, because switching a scene without a transition is super rigid and is quite ugly. This helps immensely, so thanks again Brackeys :)
@thesamepathover6874
@thesamepathover6874 4 жыл бұрын
It’s insane how I spent all day today figuring out all of this in my own ( animation and coroutines) and then when I go to bed I find this video. 😂😂
@kas-lw7xz
@kas-lw7xz 4 жыл бұрын
@@AhmadRaza-ge3mc matey don't do permanent loops
@papbound2099
@papbound2099 4 жыл бұрын
@@kas-lw7xz HE WAS THE CHOSEN ONE! HE WAS SUPPOSED TO DESTROY THE SITH NOT BECOME ONE!
@papbound2099
@papbound2099 4 жыл бұрын
@@kas-lw7xz HE WAS THE CHOSEN ONE! HE WAS SUPPOSED TO DESTROY THE SITH NOT BECOME ONE!
@sweet_krona
@sweet_krona 4 жыл бұрын
@@AhmadRaza-ge3mc But this code will run the fading animation with different speed on different computers because of CPU clock frequency, and using animations you can set the exact amount of time.
@kelpdock8913
@kelpdock8913 3 жыл бұрын
@@papbound2099 you okay?
@MrVishalakhani
@MrVishalakhani 4 жыл бұрын
i knew how to do it but your methods were awesome and bit different.. learned sumthing new :D
@Milzy_TBC
@Milzy_TBC 11 ай бұрын
I just made the exact same transition, thank you so much :)
@saadtachrimant9704
@saadtachrimant9704 3 жыл бұрын
looks verry easy and awesome
@mapachu6959
@mapachu6959 4 жыл бұрын
Nice... lo que estaba buscando :3 thank you for your time
@aymericplanet4329
@aymericplanet4329 4 жыл бұрын
Again another amazing work. I promise i soon as i have a salary i'll give you something on Patreon, because it's obviously thanks to you that i'll can find a game dev job with unity ^^
@GameDevHQ
@GameDevHQ 4 жыл бұрын
Great way to do it!
@Shugin
@Shugin 2 ай бұрын
You guys are awesome
@HausCoding
@HausCoding 5 ай бұрын
really, really cool! 😎
@markoboredguy6911
@markoboredguy6911 4 жыл бұрын
YEEEEES! THANK YOU BRACK!!!!!!
@NilsMoller
@NilsMoller 4 жыл бұрын
Perfect timing for this! Could you make a video on customizable controls using the new input system? Can't figure it out for the life of me
@tribal7117
@tribal7117 4 жыл бұрын
You are amazing!
@BryceStandley
@BryceStandley 4 жыл бұрын
Thought i would mention you can also use Invoke("method name", float in seconds) to add a delay to a method being triggered as well
@ThePigLord
@ThePigLord 4 жыл бұрын
i wish more people made tutorials like you, i really need a voxel chunk generator but nobody explains the code process enough
@fulgencejuniorlohore854
@fulgencejuniorlohore854 2 жыл бұрын
Thanks buddy!! it is really useful!!
@dcry1003
@dcry1003 2 жыл бұрын
any idea how to load next level using trigger fuction? on a gameobject using this transition script*
@mr.jgentleman5550
@mr.jgentleman5550 4 жыл бұрын
Really helpful
@prometheus625
@prometheus625 4 жыл бұрын
Last time I tried to do this I can now see I WAAAAY overcomplicated it lol, thanks as always brackeys 😂
@uhkihku6498
@uhkihku6498 4 жыл бұрын
I wish they were someone like you on Unreal Engine 4
@vinos1629
@vinos1629 4 жыл бұрын
Unreal bad , Godot and unity good
@mustafaaljanabi4818
@mustafaaljanabi4818 4 жыл бұрын
@@uhkihku6498 lol, unreal it, *STILL GOOD*
@d.l.7416
@d.l.7416 4 жыл бұрын
u traitor
@mustafaaljanabi4818
@mustafaaljanabi4818 4 жыл бұрын
@@d.l.7416 mInEcrAFt
@clamum
@clamum 4 жыл бұрын
I wanna check out Unreal. I had a job interview last week and the couple guys that did my interview were pretty praising of it (and they had come from Unity, so it's not like they didn't know anything about Unity). Just made me wanna at least check it out at some point. They also said there's a free version of it too which I didn't know.
@Beengus
@Beengus 4 жыл бұрын
I NEED THIS!!!!
@bobi-ne5959
@bobi-ne5959 3 жыл бұрын
Learned!
@y01cu_yt
@y01cu_yt 2 жыл бұрын
Thanks!
@0TheAbusementPark0
@0TheAbusementPark0 4 жыл бұрын
thank you soo much.
@tejasbele1456
@tejasbele1456 3 жыл бұрын
Thanks Brackeys
@oh-facts
@oh-facts 3 жыл бұрын
i was about to search this on yt but i wasnt sure what words to use and then i saw this is my recommendations; very cool
@kennethvedder
@kennethvedder 4 жыл бұрын
You could also use an Invoke method with a customizable time for loading, instead of the Coroutine
@Claudiopo_1
@Claudiopo_1 4 жыл бұрын
really really cool
@impicazo18
@impicazo18 4 жыл бұрын
wow, your videos are great and you explain very quickly, keep it up !!! PD: Im mexican and I can understand you perfectly and that doesnt happens very often C: thanks my dude!
@n8dev
@n8dev 3 жыл бұрын
BRUH I HAVE BEEN CHANGING THE ALPHA OF EACH UI ELEMENT HOW DID I NOT KNOW THE CANVAS GROUP EXISTED KFDLJSFLKDSJ:FKDLS:JFD
HIGH QUALITY LIGHTING using Light Probes - Unity Tutorial
10:09
why you were forced to learn the recorder in school
19:34
Answer in Progress
Рет қаралды 46 М.
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 5 МЛН
Sigma girl and soap bubbles by Secret Vlog
00:37
Secret Vlog
Рет қаралды 10 МЛН
Cat Corn?! 🙀 #cat #cute #catlover
00:54
Stocat
Рет қаралды 17 МЛН
100 UNITY TIPS!!! 🔥
11:53
Brackeys
Рет қаралды 524 М.
HOW TO GAME JAM!
9:01
Brackeys
Рет қаралды 268 М.
How to Program in C# - Classes (E07)
19:41
Brackeys
Рет қаралды 413 М.
How I learned Unity without following tutorials (Developing 1)
18:11
Game Maker's Toolkit
Рет қаралды 2 МЛН
HOW TO MAKE 3D ANIMATED STORIES FOR FREE WITH AI|QUALITY & UNLIMITED
8:15
Made simple with AI
Рет қаралды 90 М.
Designing a Loading Screen in Unity
11:57
Game Dev Guide
Рет қаралды 178 М.
Unity Tutorial - Sounds
6:13
Tomatic Boy
Рет қаралды 5
How to Switch Levels with Trigger Area for 2D RPGs in Unity
5:07
Chris' Tutorials
Рет қаралды 43 М.
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 5 МЛН