 So hello there. How are you guys doing? I hope you guys are doing well So I will do this part of the tutorial as a live stream because I think it will be Funny to to do this way and will be easier To keep the content there and to create content so before we actually start let me thank all my patrons, so without their support I wouldn't be able to be Putting so much effort into the things that I do. So thank you so much for your support It's very much appreciated. If you want to join us in My patronage campaign you can go to patreon is like patreon.com slash big dev and see what If I mean if any rewards It's good to you and you can join us there But with that said what we are going to do here, let me go to them Screenville Let me just check if this is the screen view Yeah, we are in the screen view. So we are going to make this animation where we have this black hole that will swim and Will pose and will also work with these particles that appear and Go to the center of the black hole. They will appear inside the The radios of the black hole and will go towards the center. So this is the goal for this live stream and One thing that I should mention is that if you didn't watch the the previous video yet I I think that I put a link to the previous video Where we designed this black hole in inkscape. It's a very cool Design you will pass through the process of abstracting this black hole and stuff like this and You can watch it after this live stream is finished. Okay, so without further ado, let's start creating this black hole scene I would change to good old Do you think it's better to keep my my face on the on the screen or it's better to leave it without my beautiful face, I Think that I will keep it without my face because it's better for you to Just concentrate on what's showing in the screen. So I'll close the scene and what we are basically going to do is replicate it so I Put this in the folder in the folder as reference so that we can save our own and Don't work with that. Oh another thing is that between the The tutorials I've made this star This is star texture. It's a very simple texture the way you can do it is by going into the create stars in polygons too and Probably it will have these settings so you can decrease the corners to just four corners You can decrease this book here radio, but this can be done Using the the tool itself so you can make something like this and I made it a bit rounded Something like 0.05 would do the trick just so we don't get this sharp Edges the sharp corners here and This is how I've made the star The star will use for the the particles So this is it Now as I said in the Let me just put my face because I think it's better to explain when I'm not doing anything here In the previous tutorial, I say that we will have to reassemble the the black hole inside Got it engine and the reason for that is that as you can see in the referencing We have different animations that that will stack on each other So we have to break out the black hole into pieces so that the The animations don't overlap the animations don't Get in the way of the other animation If you try to make this a single animation, maybe It won't work. Well, it's better to break it into two different animation players so that you have more control So let's start doing the the black hole. I've created a new to this scene And I will call this black hole and the first thing that we'll do is Drag and drop the texture the black hole texture that we saved in the previous tutorial Inside here, and I will name it just hole because this will be the The the actual hole the black hole itself the this dark circle here For that, I think that I will reset the transform so that it is kept in the zero position So in the center of the actual black hole, so I will reset this And what we'll do is that since we have all these textures as all these images as a single texture We will instead Of leaving this texture as it is we use a region of this texture For that we go to the region category and we will enable this category But if the first time you do that it will just Not render anything. This is because you have to go to the texture tab the texture menu here the texture region context and You can see that in my end Good already break the the texture into three pieces But probably on yours it will be on non and they snap mode non in this mode. You have to drag You have to draw the rectangle yourself But is way better to just select auto slice and let go to select the regions for us and From from here. You can basically just click on one of those to get the region that you want So we'll select this one. I will duplicate this So we can make the the other ones Select this one and I will call this aura And I will duplicate this select this one and call this to your You can see that they are not stacked as it as they should I Think that the black hole should be on the bottom here because good. We will render this one On top of this one this other one and then the the hole itself and we have to keep the hole on top of everything So it covers everything else Okay, so from here, let's start the actual animation for the aura We will gonna do an animation where it scales up and down Up and down kind of like it was posting Just let me just check if we yeah, okay As it as if it was posting like this So let's create an animation player. I already have one here the mission player and I'll create a new animation and call it pulse and I think that I will leave it just one second long At the start we will have the the current scale. So transform we will add a new key Um, yeah a new keyframe on the scale Yes And right about here will have a new a new keyframe where it goes to its maximum Scale, I think that I will manually put that 1.5 1.5. So it will increase 50% in scale And Let's make this a loop animation so that it goes back To the to the original scale like this But this way it doesn't feel good, right? So what I will do is change The easing of this keyframe so you can select one keyframe and in the specter It will show up the properties of this keyframe and what I will do is change the easing of this keyframe And I think that I will use is in out. So this is in out is basically It will start very slow go right in the direction direction of the final value And it will slow down at the at the end of the value. So like this And you can see that the animation is way better already But for the the second point instead of using a linear scale I'll use an alt animation. So the alt animation will go very Very quickly to the final value and then slows down Right at the end like this So yeah, it already looks good. This is the the posting image. So it grows fast and then it Goes back to the original scale fast as well Slows down at the end and slow down when it gets closer to the final value of the scale So yeah, we already have our post animation now let's Create the trio one create a new node a Child node animation player and this one will be the spin animation So spinning is quite tricky because You cannot Interpolate between the original rotation and the original rotation. So what we're doing is that is that since the 3060 degrees is a complete spin we will interpolate between zero and 3060 like this. So in the first keyframe, we'll select the trio Go to transform rotation scale Create a new keyframe there and In the end, we will also create a new keyframe, but with 360 as its value Okay, you can see that it didn't change anything here because it's a complete spin but if we animate oh right, so We have to do the opposite. So it spins the other way around will we start with 360 and end with zero so this will change the direction of the rotation and It will be aligned with the direction of the the trium that we design and To make this spin indefinitely we will toggle the animation looping so like this and This one we can keep it as a linear linear interpolation because a linear easing because It's basically interpolating between the same value. So it will be strange if we do something like this for instance See So it's better to keep it linear And For our black hole will toggle the autoplay on load for both animations So that it we will start like this Yeah, this is what we want now. Let's go to the funny part the Particles so we're going to create a new particle new Particle 2d this one as a child of the black hole But we will make it above the hole so that when the particles reach the The black hole itself because they will move towards the center when they reach the the black hole they will disappear because the black hole will be rendered above them and And What we will do here? Okay, so we are going to add a new texture to them and let's use the star texture here and Let's create a new process material You can see that they will start dropping already just so we can see what's happening. I will move it above the the hole itself Just so we can see but at the final at the end I will move them below it so they are rendered below the the black hole the first thing with the sparkle system that we do is Disable the gravity because as you can see they are dropping and we don't want them to to fall This way they will be kept in place and Another thing let me measure the distance because what we'll do is that we will distribute the emission of these particles At a circle that will be kind of like the the radius of this black hole So we will use this radius here Let me grab the the measure the ruler mode and I will measure between the zero and 72 Pixels so what we'll do is that we'll go to the emission shape category create change the shape from point to sphere And we will increase the sphere radius to what we measure here 72 pixels 72 and you can see that now they are creating around this inside this radius so with that Now to make them move towards the center there is this radio acceleration category and if you make this a positive amount They will go They will move away from the center But if you use a negative amount they will move towards the center and this is what we want, right? So with that if we move the particles here It seems like It's kind of transparent Doesn't it? Let me see the modulation visibility Visibility, yeah No seems like there's something in the texture showing file manager. Let me see that If the alpha of this black hole is not a hundred percent opaque Yeah, see So, yeah Yeah, it's more detail that will make all the difference Yeah, now they you can see them Moving towards the center now going back to the particles you can see that they just pop up and Basically just disappear. This is not what I have in mind What we were going to do is change how they scale as they appear So we are going to the scale Category and we will create a new scale curve. So create new Curve texture. I will open this and here in the curve What you do is kind of like a sine wave or something like this like a mountain We'll have one of those one of those here We'll drag this all the way down and you can see that the particles disappear because now they have a zero scale But right at the middle We'll add a new point and what this does is that it will They it will make so that the particles. Let me just Change this it will make so that the particles will start with a zero scale They will at the middle of the lifetime will reach the final scale one in this case and Then they will start to go back to zero scale again. So they were kind of like Twinkle, right? going back You can see that this is kind of like what they do They appear they kind of like fading and then fade out at the middle and final thing that I will do is Make them spin as well So for that we are going to the angular velocity in the velocity property. I will make this 100 no, this is too much. I guess 50 Yeah, quite a sorry 75 Okay, and I will make this this angular velocity random. I will randomize it by 50% So that I think that we can make it a hundred Now, yeah, this is the final touch if we want to keep them this way without using shaders What we can do is make the the particles a child of the trim node and as it animates No, I think that this is just too much. So the particles I will make a child of this I will add an animation player to them as well A child animation player and we will add a new animation That will be spin for this one. I want a very slow spin. So maybe two seconds and We are going to do the same thing as we did with the trio transform 360 at the end zero To go the animation looping Mmm. Yeah, I think that they should do the trick but maybe it's Too quick Yet, I think that three seconds will do the trick. Yeah, so with everything This is how it should look like So this is our black hole. So I'll move it to the center and I would to go this animation. Oops, I Would to go this animation as an to auto start auto play as well and Let's save our black hole. I'll move it to the center of the screen and If we test it Yeah, there we have it. Our black hole is working So as I said in the next video, we are going to make the cold part We have these asteroids Let me see. Yeah, this asteroid texture and what we'll do is That we'll make these asteroids move towards the center of the the black hole. Oops They will pass there will be a rigid body that will be moving and the black hole will grab them and Pull them towards its center. So this is oh shit. I forgot to change the screen, right? So we have this asteroid texture. We have the asteroids The asteroids will be moving and we'll make an object that will be responsible to take this black to take this asteroid as it reaches the the edge of the black hole and It will grab it and move it towards the center of the asteroid spinning it around and going to the center So this is the goal for the next video, but For this video, that's about it. We have our black hole animated and working. Oh There's something that I should that I should mention The the whole project that the the complete project will be available format my patrons these beautiful people right here It will be bundled as a easy file that they came basically just download and use it all the The source code and the assets will be available for them If you want to grab it, it will be exclusive to my patrons If you want to get access to all of these you can become one of my patrons as well So I will finish the stream. I would like to thank you so much for coming by and watching the stream Thank you a lot for participating The stream will be available publicly as well. So after we finish here anybody can can watch it But yeah for this video, that's it. Thank you so much for watching. Keep developing and until the next time See you later guys