How to make AWESOME Scene Transitions in Unity!

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ม.ค. 2025

ความคิดเห็น • 781

  • @just.tiramisu
    @just.tiramisu 5 ปีที่แล้ว +1305

    I am so happy your channel exists, i wouldn’t even be able to use unity without your channel

  • @Dexigon
    @Dexigon 5 ปีที่แล้ว +972

    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 5 ปีที่แล้ว +5

      same

    • @GymCritical
      @GymCritical 5 ปีที่แล้ว +4

      Same, I was just stressing on it.

    • @_Vesper
      @_Vesper 5 ปีที่แล้ว +3

      Me too!

    • @Nox__
      @Nox__ 5 ปีที่แล้ว +1

      Me too it always happend

    • @danielwalter5436
      @danielwalter5436 5 ปีที่แล้ว +4

      Look for a @Brackeys package in your package manager. Now you know why.

  • @Oxygeniium
    @Oxygeniium 5 ปีที่แล้ว +461

    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 5 ปีที่แล้ว +24

      Nice tips brother

    • @sagiziv927
      @sagiziv927 5 ปีที่แล้ว +19

      Thought about it too, but creating 2 animations is easier to understand, and in this case, swap with different animations

    • @Brackeys
      @Brackeys  5 ปีที่แล้ว +241

      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 5 ปีที่แล้ว +8

      @@Brackeys true

    • @Oxygeniium
      @Oxygeniium 5 ปีที่แล้ว +19

      Yea, I posted this comment for people who don't know about this "trick" and who just want to reverse their animations ;).

  • @PepsiFruit
    @PepsiFruit 5 ปีที่แล้ว +344

    "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 5 ปีที่แล้ว +4

      PepsiFruit commenting so its more visible

    • @riqb837
      @riqb837 5 ปีที่แล้ว +3

      Obrigado!🇧🇷

    • @josepgc1183
      @josepgc1183 5 ปีที่แล้ว +17

      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 ปีที่แล้ว +34

      @@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 ปีที่แล้ว +3

      @@mannou38 outplayed

  • @taylorm2133
    @taylorm2133 ปีที่แล้ว +20

    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 ปีที่แล้ว +160

    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 ปีที่แล้ว +2

      So True !!!

    • @windwakin
      @windwakin 3 ปีที่แล้ว +1

      @@paramveersingh8615 I second this statement!

  • @visintel
    @visintel 5 ปีที่แล้ว +53

    That canvas group trick for changing alpha is sick!

  • @KapybaraKSP
    @KapybaraKSP 3 ปีที่แล้ว +3

    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!

  • @alejolab
    @alejolab 5 ปีที่แล้ว +24

    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.

  • @aaronperron
    @aaronperron 4 ปีที่แล้ว +13

    this guy is like the nicest drill sergeant. Plowing through the tutorial with no mercy in the most efficient way.

  • @moosesnWoop
    @moosesnWoop 3 ปีที่แล้ว +2

    This channel still provides value. I think for the next 10 years, it's going to provide a lot of value.

  • @danman6538
    @danman6538 5 ปีที่แล้ว +20

    WHY ARE YOU DOING AWESOME TUTORIALS JUST RIGHT AFTER I FINISH MY PROJECT ! WHYYY !!!!
    You're awesome x)

    • @exhamza4063
      @exhamza4063 3 ปีที่แล้ว

      dan man ? is that u GOOD game !

  • @lesarch
    @lesarch 5 ปีที่แล้ว +1

    Thank God for Brackeys. Your channel has single handedly helped thousands of aspiring game developers like me.

  • @polrogi
    @polrogi 4 ปีที่แล้ว +79

    we will miss you brackeys :(

    • @BMSThomas
      @BMSThomas 4 ปีที่แล้ว +1

      Feels weird coming back here knowing there probably wont be another video released here for a long time at least

    • @jasondegoumois3809
      @jasondegoumois3809 4 ปีที่แล้ว +1

      R.I.P Brackeys December 2012 - September 2020 He had a good 8 Years... D;

    • @jasondegoumois3809
      @jasondegoumois3809 4 ปีที่แล้ว +1

      I know I'm not dumb lol it just feels like it :T

  • @jansmix6033
    @jansmix6033 2 ปีที่แล้ว +3

    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 ♥

  • @iangraham6730
    @iangraham6730 5 ปีที่แล้ว +7

    I just can't get enough of Brackeys!!

  • @tassodemo2316
    @tassodemo2316 4 ปีที่แล้ว +11

    This man is the reason I made my first “game”. Thanks Brackeys!

  • @OlivierPons
    @OlivierPons 3 ปีที่แล้ว +19

    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 3 ปีที่แล้ว +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 ปีที่แล้ว +6

      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 2 ปีที่แล้ว +1

      @@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 2 ปีที่แล้ว +2

      what do you mean by putting the transtition? what part do i need to move?

    • @MrSacralidge
      @MrSacralidge ปีที่แล้ว +1

      two years later, still saving the day. thank you!

  • @14swift20
    @14swift20 5 ปีที่แล้ว +2

    Ay yo brackeys I am trying to start making game this might surprise you but I am a 11 YR Boy and I want to start early and I do not want give up like some of my past friends in reality fun is what really drives me to success in life bro.You are really awesome

    • @ohN0thing
      @ohN0thing 4 หลายเดือนก่อน

      hey man you still making games?

  • @cinnamintie
    @cinnamintie 5 ปีที่แล้ว +26

    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 5 ปีที่แล้ว +3

      Mint Fox Wait till you hear about DoTween 😋

  • @JacksonXtreme
    @JacksonXtreme 5 ปีที่แล้ว +24

    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 4 ปีที่แล้ว +4

      where is the loading screen tutorial, is it from brackeys?

  • @arkalexx
    @arkalexx 4 ปีที่แล้ว +1

    Yep, this channel is the best, I'm new In Unity like 2 weeks ago and I have learn a lot.

  • @TurboAlligator
    @TurboAlligator 4 ปีที่แล้ว +6

    For some reason my animation plays, and then the scene doesn't transition. any help would be nice. thanks! (unity version and code --> ) 2019.2.2f1, using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    using UnityEngine.SceneManagement;
    public class LevelLoader : MonoBehaviour
    {
    public Animator transition;
    // Update is called once per frame
    void Update()
    {
    if (Input.GetKeyDown(KeyCode.G))
    {
    LoadNextLevel();
    }
    }
    void LoadNextLevel()
    {
    StartCoroutine(LoadLevel(SceneManager.GetActiveScene().buildIndex + 1));
    }
    IEnumerator LoadLevel(int levelIndex)
    {
    //play animation
    transition.SetTrigger("Start");
    //wait for it to stop
    yield return new WaitForSeconds(1f); //pauses coroutine for 1 second
    }
    }

    • @GBrayJ
      @GBrayJ 4 ปีที่แล้ว +3

      Try This:
      using UnityEngine;
      using UnityEngine.SceneManagement;
      using System.Collections.Generic;
      using System.Collections;
      public class Start : MonoBehaviour
      {
      public Animator transition;
      // Update is called once per frame
      void Update()
      {
      if (Input.GetKeyDown(KeyCode.G))
      {
      LoadNextLevel();
      }
      }
      void LoadNextLevel()
      {
      StartCoroutine(LoadLevel(SceneManager.GetActiveScene().buildIndex + 1));
      }
      IEnumerator LoadLevel(int levelIndex)
      {
      //play animation
      transition.SetTrigger("Start");
      //wait for it to stop
      yield return new WaitForSeconds(1f); //pauses coroutine for 1 second
      SceneManager.LoadScene(levelIndex);
      }
      }
      You are just missing the SceneManager.LoadScene(levelIndex);

    • @TurboAlligator
      @TurboAlligator 4 ปีที่แล้ว +2

      Anonymous Crab it works thanks! I can’t believe I was so dumb

    • @AT_crystal
      @AT_crystal 5 หลายเดือนก่อน

      @@TurboAlligator turbo i goeilla tag to

  • @ralphcalzada4767
    @ralphcalzada4767 3 ปีที่แล้ว +1

    i started game dev because of this channel

  • @zetsufir
    @zetsufir 4 ปีที่แล้ว +50

    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 ปีที่แล้ว +1

      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?

  • @benjidawes3935
    @benjidawes3935 5 ปีที่แล้ว

    Your Channel is literally the best channel on TH-cam

  • @uhkihku6498
    @uhkihku6498 5 ปีที่แล้ว +178

    I wish they were someone like you on Unreal Engine 4

    • @vinos1629
      @vinos1629 5 ปีที่แล้ว +30

      Unreal bad , Godot and unity good

    • @mustafaaljanabi4818
      @mustafaaljanabi4818 5 ปีที่แล้ว +8

      @@uhkihku6498 lol, unreal it,
      *STILL GOOD*

    • @d.l.7416
      @d.l.7416 5 ปีที่แล้ว +9

      u traitor

    • @mustafaaljanabi4818
      @mustafaaljanabi4818 5 ปีที่แล้ว +3

      @@d.l.7416 mInEcrAFt

    • @clamum
      @clamum 5 ปีที่แล้ว +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.

  • @SwiftGames_
    @SwiftGames_ 5 ปีที่แล้ว +12

    Tfw spent ages on this last night and brackeys has a tutorial one day later

  • @ticohightec367
    @ticohightec367 3 ปีที่แล้ว +1

    I cannot express all the appreciation to this teacher. Thanks a lot :)

  • @RugbugRedfern
    @RugbugRedfern 5 ปีที่แล้ว +46

    Just saying, it's not a really good idea to animate UI elements. If an animator is on a UI element, even if it's not animating, it will update all of the attached UI every frame. It's pretty bad for performance, especially if you have a lot of UI elements on your canvas. Tweening is a better way to do it, and popular ones like DOTween and LeanTween do the same job very well at a much lower cost.

    • @SyncSprint
      @SyncSprint 6 หลายเดือนก่อน +2

      How about manipulating opacity on images?

    • @LeHieu-sr2kn
      @LeHieu-sr2kn 5 หลายเดือนก่อน +3

      But tween has its cons that not every effect can be "DO" without paying for the pro version. And even when you buy the pro version, there are still effects that it can't do😮

  • @JaysOnTheMoon
    @JaysOnTheMoon 4 ปีที่แล้ว

    Brackeys is the GOAT of Unity tutorials! You guys are seriously awesome!

  • @KrazyKain
    @KrazyKain 4 ปีที่แล้ว +1

    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.

  • @yahia1355
    @yahia1355 5 ปีที่แล้ว +1

    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 ..

  • @yehya2715
    @yehya2715 5 ปีที่แล้ว

    The best game Developer in youtube.

  • @hamzaelshennawy3429
    @hamzaelshennawy3429 4 ปีที่แล้ว

    My words can not describe how much I want to thank you for what you did to me, you really did help me to improve my life. When I start to earn money, first thing I will do is donating 100$ to your website. Really thank you.

  • @mura5938
    @mura5938 หลายเดือนก่อน

    THANK YOU MAN, you explain so well

  • @shanks4654
    @shanks4654 2 ปีที่แล้ว

    I love you Brackeys, the content of your channel always saves me!

  • @andrewm4815
    @andrewm4815 5 ปีที่แล้ว

    Dude you are on a roll with these videos.

  • @lordpickaxe788
    @lordpickaxe788 3 ปีที่แล้ว +1

    Your clip of Bercow shouting Order had me ROFL - it was so unexpected and awesome!

  • @o_2731
    @o_2731 3 ปีที่แล้ว

    I came here for Scene transitioons, and learned more new shortcuts than from any shortcuts tuturial. Thank you

  • @mannou38
    @mannou38 4 ปีที่แล้ว

    Jonas and Brackeys, I salute you.

  • @thesamepathover6874
    @thesamepathover6874 5 ปีที่แล้ว +30

    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 5 ปีที่แล้ว +3

      @@AhmadRaza-ge3mc matey don't do permanent loops

    • @Hotbotch
      @Hotbotch 4 ปีที่แล้ว +2

      @@kas-lw7xz HE WAS THE CHOSEN ONE! HE WAS SUPPOSED TO DESTROY THE SITH NOT BECOME ONE!

    • @Hotbotch
      @Hotbotch 4 ปีที่แล้ว +1

      @@kas-lw7xz HE WAS THE CHOSEN ONE! HE WAS SUPPOSED TO DESTROY THE SITH NOT BECOME ONE!

    • @sweet_krona
      @sweet_krona 4 ปีที่แล้ว +2

      @@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 4 ปีที่แล้ว

      @@Hotbotch you okay?

  • @zendreamus
    @zendreamus 5 ปีที่แล้ว +2

    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!

  • @CatptainWhiskers
    @CatptainWhiskers ปีที่แล้ว +1

    Thank you so much for this!! Now I can proceed to finish my homework assignment!!!

  • @turksinnovations
    @turksinnovations 4 ปีที่แล้ว +1

    That Homer Simpson woohoo @ 18:34 😂 when your code finally works.

  • @ezramatan5233
    @ezramatan5233 5 ปีที่แล้ว +2

    @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.

  • @MinhocaMortifera
    @MinhocaMortifera 5 ปีที่แล้ว +20

    11:16 In my case I used a animation event in the last frame of the animation, but is good know other way of time control! 😁

    • @Brackeys
      @Brackeys  5 ปีที่แล้ว +6

      That is also a good way to do it! :) Just need to make sure that the script is on the same object as the animator!

    • @leozhang1340
      @leozhang1340 4 ปีที่แล้ว +1

      @@Brackeys Hello sir! My team is struggling with making a viewing frustum for the AI in a top down 2d game. Could you please make a tutorial on that? I see a lot of complicated math involved and would love to see it being broken down and made easier. Your other top down tutorials were excellent! Please consider making this one if you can. Thank you!

  • @karolisp6714
    @karolisp6714 3 ปีที่แล้ว

    Lets take a moment to appreciate how he's smiling in every video!

  • @ImmaSuperSaiyanGoku1
    @ImmaSuperSaiyanGoku1 4 ปีที่แล้ว

    I swear this channel is a blessing. It's helping me so much with developing my own games.

  • @TopBagon
    @TopBagon 5 ปีที่แล้ว +2

    Missed ya, thanks for the awesome video

  • @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!

  • @TheJacobKing44
    @TheJacobKing44 4 ปีที่แล้ว +9

    If anyone is having trouble: remember when animating to select the crossfade object to create the animation, right click the animation tab and LOCK IT, then record and change the Image alpha. Been stuck trying to do this for about an hour xD

  • @thisgamedev
    @thisgamedev 3 ปีที่แล้ว +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 :)

  • @renevaldez7481
    @renevaldez7481 3 ปีที่แล้ว +1

    This was such a great help thank you so much

  • @n8dev
    @n8dev 4 ปีที่แล้ว +13

    BRUH I HAVE BEEN CHANGING THE ALPHA OF EACH UI ELEMENT HOW DID I NOT KNOW THE CANVAS GROUP EXISTED KFDLJSFLKDSJ:FKDLS:JFD

  • @rorytait5640
    @rorytait5640 5 ปีที่แล้ว

    Anyone else remember this???
    Thanks for tuning in at brackeys. Bum da bum da da bum da du du du bum da dum... music to my ears

  • @Saladdddddddd
    @Saladdddddddd 2 ปีที่แล้ว +21

    All the code for the basic fade in and out
    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    using UnityEngine.SceneManagement;
    public class LevelLoader : MonoBehaviour
    {
    public Animator transition;
    public float transitionTime = 1f;
    // Update is called once per frame
    void Update()
    {
    if(Input.GetMouseButtonDown(0))
    {
    LoadNextLevel();
    }
    }
    public void LoadNextLevel()
    {
    StartCoroutine(LoadLevel(SceneManager.GetActiveScene().buildIndex + 1));
    }

    IEnumerator LoadLevel(int LevelIndex)
    {
    transition.SetTrigger("Start");
    yield return new WaitForSeconds(transitionTime);
    SceneManager.LoadScene(LevelIndex);
    }
    }

    • @Saladdddddddd
      @Saladdddddddd 2 ปีที่แล้ว +1

      @@Malpiszon_JWPit’s not much just honest work

    • @yahiyamehdi2068
      @yahiyamehdi2068 2 ปีที่แล้ว

      idk why but i wrote all the exact same code and it was showing some errors in unity but when i copied and pasted ur code it worked! u sir are a magic man

    • @tmchannel8483
      @tmchannel8483 ปีที่แล้ว

      Keep in mind that this code does a lot more than just a basic fade, like loading levels in order by build index on mouse click.

  • @ChristopherAOBoyle
    @ChristopherAOBoyle 5 ปีที่แล้ว

    Incredibly simple concept, but done by a true master. Plus I really wasn't aware of animator controller overriders! Thankyou so much Brackeyssss

  • @TheAstronomyGame
    @TheAstronomyGame 4 ปีที่แล้ว +1

    Lifesaver bro thank you

  • @imhurt1619
    @imhurt1619 4 ปีที่แล้ว

    You are the. Best in the town thanks for your tutorials that made things easy for me I love you ♥️

  • @jakob8876
    @jakob8876 5 ปีที่แล้ว

    Been programming for half a year now and damn your channel inspires me! Keep up the great work!

  • @ssojyeti2
    @ssojyeti2 4 ปีที่แล้ว

    For VR users, set the canvas render mode to world view using the main camera, which you can assign from script using GetComponent().worldCamera = Camera.main. Then I duplicated the crossfade layer 6 times and reoriented each duplicate to make a cube around the VR camera. Give each crossfade layer the same tag and add each one to a GameObject array using GameObject.FindGameObjectsWithTag("tag_name"). Then you can have each layer animate at the same time using a for loop that cycles through each array item, calling the animator trigger with ArrayName[i].GetComponent().SetTrigger("Start"). Works pretty nice if you ask me

    • @ssojyeti2
      @ssojyeti2 4 ปีที่แล้ว +1

      JK that was wayyyy to much work. There's a much easier way. Just make a sphere around the camera and set the render face of it's material to back. Then animate the alpha to crossfade. Easy money $nipes

    • @cerberus5697
      @cerberus5697 4 ปีที่แล้ว

      @@ssojyeti2 exactly what I was looking for! But... How do you invert the render face? I cant find any settings, is it done via script?

  • @moonwatchereclipse5291
    @moonwatchereclipse5291 ปีที่แล้ว

    Thank you so much Brackeys! I love your channel so much :)

  • @travelsizedlions
    @travelsizedlions 5 ปีที่แล้ว +1

    If you don’t want to use a coroutine for some reason, another way you can do this is with keyframe events. From your script, have a method that starts the animation. Then, on the last keyframe of your animation, set up an event that will fire off a method to load the next level.

    • @muscatalexj
      @muscatalexj ปีที่แล้ว

      This sounds cool, do you have an example snippet of code for this?

  • @Futureblur
    @Futureblur 5 ปีที่แล้ว +1

    I LOVE YOUR TUTS! 😍 ❤️

  • @ruler1559
    @ruler1559 5 ปีที่แล้ว +37

    Can you make a grappling hook tutorial?

    • @Hotbotch
      @Hotbotch 4 ปีที่แล้ว

      Would be helpful

    • @steeviee
      @steeviee 4 ปีที่แล้ว +4

      Check out Dani, he made one

    • @enpeacemusic192
      @enpeacemusic192 4 ปีที่แล้ว

      Maybe 2d

  • @DigitalDesignDude
    @DigitalDesignDude 4 ปีที่แล้ว +1

    11:31 Rather than using a coroutine,
    wouldn't it be easier just to trigger the switch scene code on the last keyframe of the transition animation? (trigger when screen is all black)
    Animations do allow for triggering functions on different frames.
    and the canvas could be set to don't destroy so that the 2nd half of the animation still plays through to the next scene (fade from black to fully transparent)

  • @MATTCHUZZ
    @MATTCHUZZ 5 ปีที่แล้ว

    brackeys back at it with another great video!!!!

  • @kshitizyash9515
    @kshitizyash9515 2 ปีที่แล้ว

    Thankyou for all your effort your are amazing😍😍

  • @maxrobotics3703
    @maxrobotics3703 4 ปีที่แล้ว

    Thank you sooo much, my love for this channel is strong. thanks.

  • @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.

  • @titustavares6799
    @titustavares6799 3 ปีที่แล้ว

    Thank You Brackeys for Helping me Create my And my Friend's big dream, to create a game

  • @JeremWatts
    @JeremWatts 3 ปีที่แล้ว +2

    video starts at 1:25

  • @eugene719
    @eugene719 5 ปีที่แล้ว +1

    I knew it! Brackets could change form all this time, so he actually is brackeys, blackthornprod, sykoo and jonas at the same time

  • @Mechagears
    @Mechagears 5 ปีที่แล้ว

    i dont even make games, i just like how you explain interesting stuff about coding games

  • @b33bo93
    @b33bo93 4 ปีที่แล้ว +1

    this was more of an animation tutorial for me, thanks for teaching me how the animation works

  • @qulammirzazade
    @qulammirzazade ปีที่แล้ว

    We want Brackeys backk!

  • @mdspits
    @mdspits 4 ปีที่แล้ว +1

    I liked the vid because of the ORDER!!!

  • @SophieAnteboth
    @SophieAnteboth 4 ปีที่แล้ว +1

    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.

  • @noirlavender6409
    @noirlavender6409 5 ปีที่แล้ว +2

    Brackeys, you're amazing, please never leave unity ♥

  • @zeviic67
    @zeviic67 5 ปีที่แล้ว

    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!

  • @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

  • @NestedMango
    @NestedMango 5 ปีที่แล้ว +1

    It's always lots learning to watch your tutorial 💙❤😍

  • @fulgencejuniorlohore854
    @fulgencejuniorlohore854 3 ปีที่แล้ว

    Thanks buddy!! it is really useful!!

    • @dcry1003
      @dcry1003 3 ปีที่แล้ว

      any idea how to load next level using trigger fuction? on a gameobject using this transition script*

  • @Lukas-vv6um
    @Lukas-vv6um 5 ปีที่แล้ว +1

    Yay another vid! I needed this

  • @sangitachoudhury1659
    @sangitachoudhury1659 4 ปีที่แล้ว

    Thanks sir this video helped me a lot

  • @pianocentral8354
    @pianocentral8354 5 ปีที่แล้ว +3

    You’ll be the Unity to my transition

  • @alexdeegames
    @alexdeegames 2 ปีที่แล้ว

    It's so pretty simple and so cool, thanks!

  • @SalekUddin-qf7wn
    @SalekUddin-qf7wn 2 หลายเดือนก่อน

    Acting was top-notch

  • @IndieMarkus
    @IndieMarkus 5 ปีที่แล้ว +1

    Interesting to see you remake a video about something you already did 2 years ago less elegantly. If you go through the trouble of creating a loading screen, then please do the async method for performance's sake.

  • @alexorbh7
    @alexorbh7 4 ปีที่แล้ว

    Fantastic video. Very helpful and clean way to do it.

  • @codyplayzgamez3874
    @codyplayzgamez3874 4 ปีที่แล้ว

    Honestly what would indie developers do without brackeys

  • @MiddleCross378
    @MiddleCross378 4 ปีที่แล้ว +7

    Awesome tutorial as always. I ran into a bit of an issue, when I was loading one of my scenes, it just stayed black. I wasn't getting any errors oddly enough. I found out that my scene was named something like "FirstScene" but I was trying to load "FirstScene1" so it was just loading a black screen. So if anyone is having that issue, double check your spelling and references. Hopefully it'll help someone.

  • @thathurtabit
    @thathurtabit 2 ปีที่แล้ว +1

    I was having the problem where my animations were running in reverse order. Finally figured out that I had clicked the (unmarked??) circle next to Animator -> Parameters -> Start and that, for some reason, reverses the order. This would be cool if there were any visual indication as to what that circle is or does. Unity Editor really does like to make things difficult for newcomers.

  • @fozzythealbino
    @fozzythealbino 3 ปีที่แล้ว

    Wow. Just saved me days of guessing and playing around. Especially the animator override.

  • @newcomixx
    @newcomixx 4 ปีที่แล้ว

    I love you, this was so clear!

  • @GeorgeWulfers_88
    @GeorgeWulfers_88 4 ปีที่แล้ว

    Pretty cool stuff! Love your intros! :)

  • @elronaldopablo
    @elronaldopablo 4 ปีที่แล้ว +2

    Watching and I was like, "Alright, informative as always. All is well." then all of a sudden "literally" shows a picture of Chris Traeger from Parks and Recreation. :p LIKED.

  • @MrVishalakhani
    @MrVishalakhani 5 ปีที่แล้ว

    i knew how to do it but your methods were awesome and bit different.. learned sumthing new :D

  • @gameexplorer4963
    @gameexplorer4963 5 ปีที่แล้ว

    Very very useful! Thanks!