How to make AWESOME Scene Transitions in Unity!
HTML-код
- Опубликовано: 19 июн 2024
- 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
I am so happy your channel exists, i wouldn’t even be able to use unity without your channel
Phoenix Gude True
Phoenix Gudhello
He best channel
s mornningshana:-)
literally had this exact thought
I swear, every time I need to add something to my Unity game, you make a video about it on the same exact day.
same
Same, I was just stressing on it.
Me too!
Me too it always happend
Look for a @Brackeys package in your package manager. Now you know why.
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 :).
Nice tips brother
Thought about it too, but creating 2 animations is easier to understand, and in this case, swap with different animations
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 :)
@@Brackeys true
Yea, I posted this comment for people who don't know about this "trick" and who just want to reverse their animations ;).
"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
PepsiFruit commenting so its more visible
Obrigado!🇧🇷
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
@@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💀
@@mannou38 outplayed
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.
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 ♥
That canvas group trick for changing alpha is sick!
Man it's such a shame he doesn't make videos anymore, hands down the best unity tutorials i've found on youtube
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!
Just a reminder that you're literally the reason that a huge amount of game designers are able to do what they love.
So True !!!
@@paramveersingh8615 I second this statement!
we will miss you brackeys :(
Feels weird coming back here knowing there probably wont be another video released here for a long time at least
R.I.P Brackeys December 2012 - September 2020 He had a good 8 Years... D;
I know I'm not dumb lol it just feels like it :T
This channel still provides value. I think for the next 10 years, it's going to provide a lot of value.
this guy is like the nicest drill sergeant. Plowing through the tutorial with no mercy in the most efficient way.
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 ..
WHY ARE YOU DOING AWESOME TUTORIALS JUST RIGHT AFTER I FINISH MY PROJECT ! WHYYY !!!!
You're awesome x)
dan man ? is that u GOOD game !
I just can't get enough of Brackeys!!
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.
This was such a great help thank you so much
Incredibly simple concept, but done by a true master. Plus I really wasn't aware of animator controller overriders! Thankyou so much Brackeyssss
I swear this channel is a blessing. It's helping me so much with developing my own games.
Can't even BEGIN to explain how useful your channel is to me and many others, thank you for all the help!
Thanks for making this tutorial, great work!
It's so pretty simple and so cool, thanks!
I love you Brackeys, the content of your channel always saves me!
Yep, this channel is the best, I'm new In Unity like 2 weeks ago and I have learn a lot.
This man is the reason I made my first “game”. Thanks Brackeys!
Thank you sooo much, my love for this channel is strong. thanks.
Thank you so much Brackeys! I love your channel so much :)
this was more of an animation tutorial for me, thanks for teaching me how the animation works
I always learn something new ! thank you for these videos :)
Fantastic video. Very helpful and clean way to do it.
Yay another vid! I needed this
This is exactly what I need! Thanks Brackeys :)
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.
Been programming for half a year now and damn your channel inspires me! Keep up the great work!
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!
Thankyou for all your effort your are amazing😍😍
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.
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?
I LOVE YOUR TUTS! 😍 ❤️
I love you, this was so clear!
Tfw spent ages on this last night and brackeys has a tutorial one day later
I cannot express all the appreciation to this teacher. Thanks a lot :)
It's always lots learning to watch your tutorial 💙❤😍
Dude you are on a roll with these videos.
i started game dev because of this channel
Lifesaver bro thank you
I came here for Scene transitioons, and learned more new shortcuts than from any shortcuts tuturial. Thank you
Brackeys is the GOAT of Unity tutorials! You guys are seriously awesome!
Very very useful! Thanks!
Missed ya, thanks for the awesome video
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!
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 :)
You are the. Best in the town thanks for your tutorials that made things easy for me I love you ♥️
Thank you so much for this!! Now I can proceed to finish my homework assignment!!!
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.
where is the loading screen tutorial, is it from brackeys?
Thanks buddy!! it is really useful!!
any idea how to load next level using trigger fuction? on a gameobject using this transition script*
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.
Mint Fox Wait till you hear about DoTween 😋
Thanks a lot for this video. You are really help me.
I just made the exact same transition, thank you so much :)
Thanks sir this video helped me a lot
Awesome I like it!!!
Your clip of Bercow shouting Order had me ROFL - it was so unexpected and awesome!
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!
Baader-Meinhof effect.
Awesome! This's amazing!
i knew how to do it but your methods were awesome and bit different.. learned sumthing new :D
brackeys back at it with another great video!!!!
i love you brackeys keep up the good work
I wish they were someone like you on Unreal Engine 4
Unreal bad , Godot and unity good
@@uhkihku6498 lol, unreal it,
*STILL GOOD*
u traitor
@@d.l.7416 mInEcrAFt
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.
looks verry easy and awesome
Great way to do it!
@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.
just got this working in my game and looks awesome your the best ! (;
Your Channel is literally the best channel on RUclips
Pretty cool stuff! Love your intros! :)
Wow awesome tutorial♥️
Amazing!
Nice... lo que estaba buscando :3 thank you for your time
Thanks Brackeys
really, really cool! 😎
thank you soo much.
YEEEEES! THANK YOU BRACK!!!!!!
Thanks!
You guys are awesome
i wish more people made tutorials like you, i really need a voxel chunk generator but nobody explains the code process enough
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
Learned!
thx brackeys, petty cool
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)
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!
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*
@@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
what do you mean by putting the transtition? what part do i need to move?
two years later, still saving the day. thank you!
I NEED THIS!!!!
Cool tutorial.
BTW you can put the crossfade object to a specific layer and hide it in the editor, so it doesn't block the view.
Thank You Brackeys for Helping me Create my And my Friend's big dream, to create a game
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
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 :)
Jonas and Brackeys, I salute you.
You are amazing!
Really helpful
really really cool
Wow. Just saved me days of guessing and playing around. Especially the animator override.
WOOOOOW VERY PERFECT
The best game Developer in youtube.