Hello, guys.
This is me again.
I want to show you a couple of more ways to make this game prettier.
And this time we're going to use particles from the acid store.
Let's go.
Window and acid store.
We need to find a way.
If it's going to be pretty simple stuff.
Let's go fix particles.
We want to choose free asset.
And this one will be somewhere.
Here.
This is the one I want to use.
Simple fix cartoon particles.
Let's click Open in Unity.
Download.
Import.
We actually don't need all of them, but you can take a look and see what you like, what you don't
like, and then just get rid of those you don't need.
I will give you just a couple of examples.
I want to give you example on very simple effects.
We have a prefab and here are all of the particles you can use from this asset.
We're going to use blood splatter.
Very good one.
You can see it's doing the blood.
Restart.
Good, but it's not feasible.
Let's do prefab unpack.
Let's find a renderer.
Certain layer player minus one.
We want to make it a child of the player and drag it to the chest or face of the character like this.
Boom.
Yeah.
I want to change just by a bit.
I want to make collision for this one.
Let's go to the right here.
Collision.
Let's check it.
World.
Two RD.
We're not going to make bounds.
And we're going to change collide with.
Ground and we can choose Trump as well.
Now let's see how it behaves.
Boom.
Gonna fall off the ground.
Very cool.
Now, this is good enough for me.
I'm not going to change anything else here.
I'm just going to go to player.
And we fix here.
Blood picks and I'm going to find my damage function.
And whenever I'm getting damaged, I'm going to play this particle.
Blood fix does not play.
Oh, we need to uncheck play on a wake.
Play on awake and check.
And maybe we can rename it to Oh, I actually like this naming.
So let's do does the fix and change it to fix dust.
And we need to assign this one.
Don't forget.
I forgot.
Let's assign this one and see.
How does it look?
And boom.
It wasn't played by not.
First of all, it has some delay.
Let's fix the delay.
Going to be pretty easy task.
Let's select blood splatter, start, delay, zero.
Boom.
Instant.
Okay.
Now, for some reason, it wasn't visible.
But I'm not sure what was that.
So let's double check again.
Oh, it was visible just because it was delayed One second.
It was played when we already stopped time in the game.
So it wasn't played at all because we set in timescale to zero after one second when we die.
All right.
Sherlock, I did it.
Boom.
It looks good.
I like it.
Maybe we even should not stop the time to see how they fly in.
I want to see how that looks.
Let me find the function.
Oh, yeah.
This looks better.
Just slow motion for some time.
Nice.
All right, let's wrap it up.
See you in the next video.