HOW TO MAKE COOL SCENE TRANSITIONS IN UNITY - EASY TUTORIAL

  Рет қаралды 161,214

Blackthornprod

Blackthornprod

6 жыл бұрын

In this Unity/C# tutorial we will take a look at how to make cool scene transitions !
We'll see how to fade in and out between scenes and how to make cool, interesting scene transitions using the animation window !
--------------------------------------------------------------------------------------------------------
SUPPORT ME : / blackthornprod
--------------------------------------------------------------------------------------------------------
Here is the LINK to my TWITTER : NoaCalice?lang=fr
Here is the LINK to the DISCORD SERVER : / discord

Пікірлер: 172
@paulyounger1190
@paulyounger1190 6 жыл бұрын
You could also use the LoadSceneAsync function to load the scene in the background during the transition which can help smooth out long load times
@Blackthornprod
@Blackthornprod 6 жыл бұрын
ooo, I didn't know that :) ! Thanks for the helpful tip !
@Hugh.Manatee
@Hugh.Manatee 5 жыл бұрын
Can you give an example syntax for how to use that?
@yousefal-hadhrami7853
@yousefal-hadhrami7853 5 жыл бұрын
thank u
@SeanTempletonJS
@SeanTempletonJS 5 жыл бұрын
@YouSaness answers.unity.com/questions/137261/loading-level-async-without-switching-the-level-im.html
@jaorcas
@jaorcas 6 жыл бұрын
I was wondering how to change between scenes for my new game, and you upload this, today. I really can´t thank you enough for this.
@metall7331
@metall7331 5 жыл бұрын
Also don't forget to disable the panel's image component during animation of the idle loop, otherwise you can't interact with other UI components like buttons after the scene has loaded.
@bxrabbit3691
@bxrabbit3691 4 жыл бұрын
I love you because I didn't now how to fix this problem hahaha
@nickedwards7013
@nickedwards7013 4 жыл бұрын
Hero
@Bankie666
@Bankie666 4 жыл бұрын
Well done - this isn't the only tutorial that misses that important detail. For anyone dealing with issue, you can actually do this as part of the animation (i.e. hit record, move to the end of the fade in and click the box to disable). Do the same for fading out, except tick the box at the beginning of the animation timeline.
@oliverscott6913
@oliverscott6913 4 жыл бұрын
Absolute Beast Man, thanks
@ChocolateSaiyan
@ChocolateSaiyan 4 жыл бұрын
THANK YOU!
@user-bo5vr1ib6i
@user-bo5vr1ib6i 5 жыл бұрын
Besides what has already been said with LoadSceneAsync, you can actually create a key in the animation tab where a function will get called. Which you could for example use in your end animation. It just requires the script to sit on the same GameObject as the animator :).
@F3NR1R04
@F3NR1R04 5 жыл бұрын
best unity guides on youtube, not only do you keep it short and sweet you explain just enough to get anyone started learning
@neevir3229
@neevir3229 6 жыл бұрын
I think the idle state can be removed since the start state doesn't loop. Nice tutorial btw
@hugoderrick9361
@hugoderrick9361 3 жыл бұрын
dont know if you guys gives a shit but if you're bored like me during the covid times you can watch all the new movies on InstaFlixxer. Been binge watching with my gf recently :)
@maximilianjesse2961
@maximilianjesse2961 3 жыл бұрын
@Hugo Derrick Yup, I've been using instaflixxer for since december myself :)
@lastrix
@lastrix 3 жыл бұрын
@@hugoderrick9361 shut up bot
@lastrix
@lastrix 3 жыл бұрын
@@maximilianjesse2961 please shut up
@knightmarerip711
@knightmarerip711 4 жыл бұрын
Respect! You guys make very good videos. Short and direct to the subject at hand. Some might say that you transition (pun intended) very quickly. But these are not live sessions and there is a way to pause and rewind a bit. Hat off to you and your bro!
@LANstorm.
@LANstorm. 6 жыл бұрын
Thanks i cant imagine how much games you have improved by making this video!
@RealCaptainAwesome
@RealCaptainAwesome 4 жыл бұрын
This is so crazy. I am working on this right now and the KZbins recommended this for me. Thanks!
@lhorbrum1818
@lhorbrum1818 6 жыл бұрын
Simple, yet so effective! Thank you for this!
@leroyjenkins8025
@leroyjenkins8025 5 жыл бұрын
I'll be actually publishing my first game thanks to these tutorials. Thank you so much for helping me on my way to becoming a game developer
@braxtonsdev9564
@braxtonsdev9564 6 жыл бұрын
ignore my old comment. This Video Is Awesome i disabled the scene transition for the levels but it still plays the animation when you die its AMAZING!!!! thanks this helped alot
@littlenarwhal3914
@littlenarwhal3914 5 жыл бұрын
Love the puzzle game shown in the beginning!
@jahoopyjaheepu497
@jahoopyjaheepu497 6 жыл бұрын
High quality content as usual.
@your_local_reptile6700
@your_local_reptile6700 4 жыл бұрын
honestly you're my save and grace you have helped me so much on my journey
@Crisisdarkness
@Crisisdarkness 4 жыл бұрын
Wow this is just what I was looking for, thank you estimated developer, this will help me a lot
@8PedroMello8
@8PedroMello8 4 жыл бұрын
Thank you so much, this made my life a lot easier.
@enovatelabs3673
@enovatelabs3673 6 жыл бұрын
who disliked this awesome video??? I found the video super useful thank you future greatest unity youtuber!!!
@pugglez4798
@pugglez4798 5 жыл бұрын
For any1's transitions that look choppy, make sure you uncheck Has Exit Time for the trigger arrow.
@reywasgrey
@reywasgrey 6 жыл бұрын
😍😍 really really really nice tutorial....,, This is what i need
@minesmr
@minesmr 4 жыл бұрын
thank you very much for this tutorial, now my Game has smooth Transitions ! ;D
@cellardoreproductions
@cellardoreproductions 5 жыл бұрын
High quality tutorials! Thanks
@theyellowarchitect4504
@theyellowarchitect4504 5 жыл бұрын
Pretty sure there is no other video that explains this (in detail) and is as short, nice!!
@theresacarroll8713
@theresacarroll8713 5 жыл бұрын
Thx I love your vids because my son needs these tutorials. Also my son asked how to make multiple levels in a game and how to transition through them in a 2d platformer.
@mehmedcavas3069
@mehmedcavas3069 6 жыл бұрын
great!!! nothing else only great!! i knew that before but watched for fun very good explanation :)
@TDPlayz
@TDPlayz 4 жыл бұрын
Why didn't I think about unity for this :) than you, awesome!
@irtezarahman5370
@irtezarahman5370 5 жыл бұрын
Your presentation is so interesting. Thanks, Helps a lot.
@thefunk2215
@thefunk2215 5 жыл бұрын
Excellent video. You've earned yourself a new subscriber
@snakeplisken4278
@snakeplisken4278 4 жыл бұрын
What if you have two large 3d scenes. It takes about 20 seconds to load even via async operation, so perhaps how to play a cutscene while loading in the background or a load progress bar?
@longWriter
@longWriter Жыл бұрын
You need to add the scenes to the Build Settings---THAT is what I was missing! Thank you so much!!!
@calmaty8604
@calmaty8604 5 жыл бұрын
just what i needed thank you
@harryc5097
@harryc5097 4 жыл бұрын
Awesome tutorial. I was wondering if it's possible to have a circle expand from the center with the new scene already in it? I know this would take more work but is it possible?
@junoxii6181
@junoxii6181 5 жыл бұрын
Wow..... Noa really respond on fan request. I'm so happy
@TheodorBourelius
@TheodorBourelius 6 жыл бұрын
great! currently not by my computer....I'll re-watch later
@seifmustafa2004
@seifmustafa2004 6 жыл бұрын
COOL TUTorials man ;) keep it up
@abdoudjam6846
@abdoudjam6846 5 жыл бұрын
Thnx I already have plenty of ideas i wanna try out !
@PabloMartinez-ut8on
@PabloMartinez-ut8on 5 жыл бұрын
You are the best! Saludos desde Montevideo, Uruguay : )
@Bes2TheFort
@Bes2TheFort 6 жыл бұрын
Great video! Can you make a similar video when the character dies and respawns. I would like to know how to make that transition.
@Blackthornprod
@Blackthornprod 6 жыл бұрын
Just use the same techniques when transitioning to a game over scene :) ! Except get the scene to transition at a different time (in that case when the player has 0 health)
@thanakomklahan9387
@thanakomklahan9387 6 жыл бұрын
Great tutorial Good Sample and easy to learn
@acuencadev
@acuencadev 5 жыл бұрын
Nice tutorial, thanks for sharing!
@chinyonglim7624
@chinyonglim7624 6 жыл бұрын
Awesome~ Somehow can you do a related video about dynamic player position after scene transitions? For example, player traveled to a village, player is allowed to go the desired destinations, such as houses, shops, leave/re-enter the village, via the fixed doors/portals that connected between these scenes. What I mean is if I step on the portals to go houses, player should appear nearby door which inside the houses. Also, when they move out the houses, they should locate beside or in front of the door of the houses. I found this question on online answers are quite ambiguous, hopefully you can do this tutorial for helping us out. Thanks~:)
@cindyespindola4946
@cindyespindola4946 5 жыл бұрын
When you make a transition like the puzzle one, what size do you use when drawing the sprites?
@reallpepe1747
@reallpepe1747 6 жыл бұрын
Again i love it! Make more awesome films
@raihanlyla6454
@raihanlyla6454 6 жыл бұрын
Maciek Góralczyk ehm videos not films
@aboulkacemhouimel746
@aboulkacemhouimel746 6 жыл бұрын
Cool tutorials ! Will you be making a tutorial on particle system?
@Blackthornprod
@Blackthornprod 6 жыл бұрын
I'll be doing that very soon :) ! Stay tuned !
@dudusstar41
@dudusstar41 3 жыл бұрын
So useful video! Thank you! Do you know how to make the transition over the UI buttons?
@skoro1595
@skoro1595 5 жыл бұрын
This is great!
@sheepongrass
@sheepongrass 3 жыл бұрын
Incredible. Thanks for sharing
@kimjunhui777
@kimjunhui777 5 жыл бұрын
Thanks! I am making a presentation for a conference with your guide video.
@binsonfeng1205
@binsonfeng1205 4 жыл бұрын
Thank u sm dude!!
@wearwolf4202
@wearwolf4202 3 жыл бұрын
Is there a way to do multiple coroutines? Like hit 1 trigger to teleport and a different trigger to teleport somewhere different. Or would you just call the same coroutine over and over?
@ugrstmeh6472
@ugrstmeh6472 6 жыл бұрын
Awesome tutorial.
@rigzmoviediaries654
@rigzmoviediaries654 4 жыл бұрын
Life saver!
@user-wp9qt8px5g
@user-wp9qt8px5g 5 жыл бұрын
Hey, nice tutorial, and i have one question what can i do if i have another IU in the scene? I cant for example press a button because the panel is fouund in front
@saggyface1796
@saggyface1796 4 жыл бұрын
change the order
@jakubgadzala7474
@jakubgadzala7474 4 жыл бұрын
You the best
@fabianh5507
@fabianh5507 6 жыл бұрын
Hello! Just wondering, I've tried to find very many toturials online on VR in Unity, but I haven't find a good one. So I was wondering, have you made any VR toturial? If not, can you make one? I really love your content so it would be good ;)
@nathiyaaselladurai9123
@nathiyaaselladurai9123 5 жыл бұрын
I was searching for this kinda tutorial..My panel rejected my application which is my final year project, because it looks like a slide..The application that took away my sleep... SO..thank you for this..
@user-yv7eh9xr9v
@user-yv7eh9xr9v 5 жыл бұрын
good video, btw.. how to disable the fade out in scene1 when first played/launch?
@tejaschalke1778
@tejaschalke1778 6 жыл бұрын
Cheers !!
@zentergames1622
@zentergames1622 5 жыл бұрын
You can use a bool for make the size of the circle get higher 7:44
@MrRahbert
@MrRahbert 4 жыл бұрын
Use events on the animation to trigger functions and get rid of the Coroutine.
@arielcastroq5326
@arielcastroq5326 5 жыл бұрын
I have a question.... My game change scenes by a javascript. It works like this: public function BotonLevels() { Application.LoadLevel("Menulevel"); } by buttons on canvas... How can I adapt your tutorial to this change scenes method?? Thank you
@g-dev7336
@g-dev7336 4 жыл бұрын
may GOD Bless You Brother thank You 🌹
@wignermatos1470
@wignermatos1470 6 жыл бұрын
Thanks
@BestRobloxYoutuber-dw4il
@BestRobloxYoutuber-dw4il 4 жыл бұрын
How to make walls fade in instead?? When previously solid. Like the one in your painting game.
@MikeKing710
@MikeKing710 6 жыл бұрын
A.W.E.S.O.M.E.
@Awicz314
@Awicz314 5 жыл бұрын
I writed everything one by one, exactly like you, just to check it, but my unity still gives me a error "No overload for method 'LoadScene' takes 1 arguments" Idk what is wrong, but i'll have to check some other tutorials too
@LegendeSiMituri
@LegendeSiMituri 3 жыл бұрын
you need to have the scene build go to build settings and in the left cornere it will show u with add new something
@Rondolife
@Rondolife 3 жыл бұрын
very coool thank you.
@aldridgecrate5026
@aldridgecrate5026 6 жыл бұрын
i just joined you could you make a video on adding animation to the game in 2d . animation on touching the screen
@ilmacs8827
@ilmacs8827 5 жыл бұрын
He has a really cool udemy course where he covers like everything involved in 2D game creation
@HighScorer269
@HighScorer269 3 жыл бұрын
please anyone suggest me what should i change in code so that if anyone clicks play button then another scene loads plz
@tejaschalke1778
@tejaschalke1778 6 жыл бұрын
Video Request : Camera shake.
@ezalor9555
@ezalor9555 6 жыл бұрын
He actually -not directly- made one in the Dash making video. Also you can check Brackeys who has that shake camera video explained.
@tejaschalke1778
@tejaschalke1778 6 жыл бұрын
Waseem kanaan well brackeys made it through script (completely), he used animation.
@Blackthornprod
@Blackthornprod 6 жыл бұрын
I'll make a video specific to camera shake in the near future :) ! Stay tuned !
@tejaschalke1778
@tejaschalke1778 6 жыл бұрын
Blackthornprod thanks, will be waiting.
@bunggo9914
@bunggo9914 6 жыл бұрын
this is cool
@aldridgecrate5026
@aldridgecrate5026 6 жыл бұрын
can you make a whole video on making monument valley
@MONGON.AF48DW.
@MONGON.AF48DW. Жыл бұрын
Thank
@user-ql5br3bx9k
@user-ql5br3bx9k 4 жыл бұрын
What if I want it to occur in a mobile game with a tap of a button? Or when I reach a certain point.
@Imperial_Dynamics
@Imperial_Dynamics 5 жыл бұрын
why use coroutine and not Invoke method with delay?
@salimabdellaoui2463
@salimabdellaoui2463 3 жыл бұрын
oh thank u friend i know its been three years since u created this vidio i realy hope u see my comment
@SR-zi1pw
@SR-zi1pw 6 жыл бұрын
Very lovely
@bhaveshtiwari5783
@bhaveshtiwari5783 6 жыл бұрын
nice
@jesstrueit2563
@jesstrueit2563 4 жыл бұрын
I have a couple questions if anyone on here can help me figure it out!! First How would I make it so that when i hit the "PlayButton" In my menu for this transition to happen to go into the next scene? And In my game i already have another Canvas for the main menu, so when i transition it still keeps the text over top of the transition? How would i disable that canvas as it transitions over? Im completely new to this so please forgive me if these questions are N00b in nature! Thanks!!
@TF4Hikari
@TF4Hikari 5 жыл бұрын
and how to do it via trigger at the end of the scene?
@rohitalawa9306
@rohitalawa9306 6 жыл бұрын
60 like 0 dislike awesome
@txmw4464
@txmw4464 4 жыл бұрын
this tutorial is great and all but i cant get it to happen when a player collides with something
@arashsh4513
@arashsh4513 6 жыл бұрын
how make this transition for pause menu to main menu with button?!
@17MH
@17MH 6 жыл бұрын
I tried to make this transition in my menu screen and the button coudn't be clicked since i changed the sort order of the transition canvas to 1 so it would be drawn above the buttons, my solution to this was to untick the Image component of the transition panel at the end of the start and idle animation. At the start of the end animation i ticked the image again and it all worked nicely.
@arashsh4513
@arashsh4513 6 жыл бұрын
thank you, I learned from Brackeys with screen fader ui, But the time to go back to the menu I had a problem,screen always black and i figured it, in void menu i typed isPaused = false and The problem was solved! sorry for bad english
@TheBroLuke
@TheBroLuke 5 жыл бұрын
Dude you typoed transition. Took me awhile to figure it out haha
@JohnZombek
@JohnZombek 5 жыл бұрын
Hi, hope you read this :) Have the same issue with the black screen, are you able to show me or explain what the reason for this is? See the problem but not the solution :( Edit, checked my code again and made the following changes, in the method where the SceneMangaer loads the menu added before that IsPaused = false and Time.timeScale = 1f :)
@__m.nikolov__
@__m.nikolov__ Ай бұрын
How to make the same thing, but to work with button? Because in my game, the scenes are changed when buttons are clicked
@Slenderirl
@Slenderirl 4 жыл бұрын
i dont understand WHY dont I have a "create" animation button? i am following all the steps!
@cube3d_2845
@cube3d_2845 2 жыл бұрын
Script Won't work for me it says tuple must contain two numbers, Identifier Expected, Namespace or end of file defenition expected. Help me...
@ir3dy976
@ir3dy976 6 жыл бұрын
Can you go over loading?
@dakotadean1273
@dakotadean1273 4 жыл бұрын
I'm having an issue where the screen fades in then fades out right away and then stays black. I don't know what is wrong. there are no errors EDIT: fixed it! EDIT2: when going to the next scene the screen stays black. help?
@__m.nikolov__
@__m.nikolov__ Ай бұрын
Somehow, when I change the scenes the end transition does't play, only the start and idle, Could someone help me?
@lucasvalls5436
@lucasvalls5436 6 жыл бұрын
Can you show how to make a Healing mechanic, like the one from Hollow Knight? :)
@theeverlastinglight5701
@theeverlastinglight5701 4 жыл бұрын
Need use WaitForSecondsRealtime, cause if time.timescale=0 (game paused), WaitForSecond never return.
@boyafandy622
@boyafandy622 6 жыл бұрын
camera follow tutorial please
@aminpardeshenas9341
@aminpardeshenas9341 3 жыл бұрын
Tnx
@humournotfound4936
@humournotfound4936 Жыл бұрын
Unity freezes after loading scene 2 and it says "not loaded" in the hierarchy
@vrajsoni7610
@vrajsoni7610 3 жыл бұрын
I dont know what's wrong but my game gets stuck in the Start animation when i hit play because of which i can't see other UI buttons and hence can't play.
@burhanahmad3140
@burhanahmad3140 Жыл бұрын
did you find the fix for this?
@dimitrijeprotic4928
@dimitrijeprotic4928 5 жыл бұрын
I cant click on buttons if the panel is in front , how can I fix that
@renderedworldgames6222
@renderedworldgames6222 5 жыл бұрын
Click on your Panel. Add a Canvas Group component. In the Canvas Group, uncheck "Interactable" and "Blocks Raycasts". Worked for me.
@TH3DZPRO1
@TH3DZPRO1 6 жыл бұрын
still waiting for the particul sys video
@Blackthornprod
@Blackthornprod 6 жыл бұрын
This scene transition tutorial was even more requested then how to make particle effects ! But my next video will be on particles so stay tuned :) !
@TH3DZPRO1
@TH3DZPRO1 6 жыл бұрын
thaaaank you this is also helpfull
@damiangonzalez_esp
@damiangonzalez_esp 5 жыл бұрын
Brackeys has a excelent one on particle system!
@saniaajohnson960
@saniaajohnson960 5 жыл бұрын
ITS NOT LETTING ME DRAG THE PANEL INTO THE TRANSITION ANIM :
@TH3DZPRO1
@TH3DZPRO1 6 жыл бұрын
the first loool
@MoviesAwan
@MoviesAwan 4 жыл бұрын
how to change public class SceneTransitions : MonoBehaviour { public Animator transitionAnim; public string sceneName; void Update() { if (Input.GetKeyDown(KeyCode.Space)) { StartCoroutine(LoadScene()); } } IEnumerator LoadScene() { transitionAnim.SetTrigger("end"); yield return new WaitForSeconds(1.5f); SceneManager.LoadScene(sceneName); } } if i use many option button ui in canvas on mobile / android device? i can touch the button but the transition 'end' cant appear :(
6 DEVS Make a GAME without COMMUNICATING! (starving artist edition)
14:34
TOUCH CONTROLS in Unity!
16:09
Brackeys
Рет қаралды 1,3 МЛН
Каха инструкция по шашлыку
01:00
К-Media
Рет қаралды 8 МЛН
IS THIS REAL FOOD OR NOT?🤔 PIKACHU AND SONIC CONFUSE THE CAT! 😺🍫
00:41
Scene Manager in Unity (Loading Unity Tutorial)
15:21
Code Monkey
Рет қаралды 178 М.
8 DEVS Make a GAME without COMMUNICATING!
13:21
Blackthornprod
Рет қаралды 968 М.
Undertale DIALOGUE|CUTSCENE in Unity (Episode 1)
16:33
Pandemonium
Рет қаралды 63 М.
6 DEVS Compete to Make the BEST GAME for $3,000
46:29
Blackthornprod
Рет қаралды 714 М.
The Ultimate Pixel Art Tutorial
14:15
Saultoons
Рет қаралды 1,4 МЛН
4 DEVS Make a GAME without COMMUNICATING! (Motion Capture edition)
17:27
How to make a Video Game in Unity - BASICS (E01)
11:26
Brackeys
Рет қаралды 8 МЛН
2D Movement in Unity (Tutorial)
21:09
Brackeys
Рет қаралды 3 МЛН
АКУЛА АДАМ НУБТАН МЫҚТЫҒА АЙНАЛДЫ (GTA V)
14:04
FUN&SUN | Update 0.29.0 Trailer | Standoff 2
2:32
Standoff 2
Рет қаралды 496 М.