Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Beginning what time particle effects
And it sounds really complicated I know that I was pretty I guess scared
I heard the particle effects for something that you can do in unity I didn't want to learn something new but the thing about Paris
Text the system that unity has a super easy to learn in really fine so the first thing we need is
New particle
4
So let's go ahead InDesign one in Photoshop so I'm only create a new
In a crate
When we just do pretty big for an hour like 300 pixels by 300 pixels good thing about universe as you can always
Will it down later it's always smart to start with a higher resolution so when I delete this layer in Croydon
In all I'm going to do is let's see here
Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1
I think a circle is fine for now
And I'm going to make it about like this
And I think what I want to do a scale it down a little bit I'm gonna make sure that uniform I'm going to send
Citing the entire stage with control a of the entire canvas with control a
Make sure my player selected in and just sent it up
With the LINE tools and I'm in a blur it
Just a little bit see that
Don't like that
I think that's pretty cool like in let's go to file save as
Ian Hart
And I'm going to create a new folder and call this particles there we go
And I'm gonna call this
Particle dirt tax year
Capital letters
A nice space
And I'm not starting with a specific word starting with a generic word and then I'll be coming
Specific pathway of every type particle in the search bar in unity I can see all my particles
What is going to be called particle dirt
Where about particle of dust Merida
To say that out and noticed it's white I'm also going to trim it
Cemetery in the top bottom left and right so that we just get this nice clean image here
So what we gonna do is open up our player variant prefab
Create a new
Game object
Effects
Particle system
There we go
And then we're going to select a particle dust here and will create a new material
Now there's a tonne of information about materials that I could share with you but not to worry
Too much with this tutorial because working in 2D 2D you can use materials with 2D and materials
Basically define how late in iraq's
With specific settings with your material and I don't worry about that too much all I will tell you is you need
Materials for your particles ok this one particle dust
Anyway change the shader and a shader is basically you know the properties of a material
I'm not going to worry about explaining all the stuff your guys because I made games for 10 years until I
Really using materials usually used materials with 3D games I'm just getting
This material to particles
How many changes material to mobile
Particles and an affinity additive dragging my spray to the texts
Field there we go and I'm a drug that particle dust particle system here
There we go be sure you're dragging the material not display
So this is my particle effect and I know what you're thinking Thomas that looks
Terrible and that's right it really does so this is the particle system can't
Look how complicated this is guys I highly recommend maybe watching some additional
On the particle system I'm not going to go through every single particle system setting here
A lot of them are you no just a parent what they do in the pre basic but if you want to learn
I would recommend just playing around with them having fun with them particle systems are really really fun and also guys
Just go ahead and maybe watch some tutorials on unities website they have a tenner free at Orioles and there's a lot
On the particle system you can watch
But
Feel free to follow along as I create this particle system step
So first office change the radius there we go
And also the angle we can scale up just a bit there we go
And I'm going to change the size of the particle so we can actually do to
Like that or we could do random so if you click a Solero hear you do random between two constants
We can do too
2.7
Let's change the start colours alpha to little bright ok that's good
And I see here what else
Maybe a gravity modifier so they don't just continue going in the air have 0.3
.5 is prior better option
Or maybe even one there we go
And I'm just going to have the colour of the light time change
To make sure you turn that on click the colour in this is basically just gonna be a gradient
In what this means if this is the start
And this is the end of its life
So when you coming down the alpha 20
And you can see they're just still going and they slowly fade out all the way down there
Lifetime rates of withdrawal the way the top here
How do you change the lifetime to one in the direction to one
Ok we're getting there we're getting there
So we could probably make the speed at which they come out not so intense right
So that actually changed the starts Peter 12
Close 3
That looks great
What time is still little bit long so right now guys with just guessing and checking 43
Pt3
Ok that looks pretty cool
Can I get a life so here's the thing we're not going to Amit
Like a turd
Assault rifle just shooting out bullets hurt shooting of dust it's going to be more like a shark
Somerset ta20 in bursts
Here we go
That's what it's gonna look like so we can have a burst of 10 see that
Ok
That kind of would have been a look like
Show me kits at the count to 0 in be sure to change the particle system to
Particles
Dust
Step having bad time
I'm going from generic
Anna left and getting more and more specific
They say that now
In Gainsborough can handle this
Emission of the particles Wigan
Tell the animation
To omit those particles
Everytime We Touch the ground
I'm going to do that with the animated function script with double click on the enemies in the middle function script
Enjoy heading get started
So let's go ahead and create a new header for our animator function script here we're going to
To call this
Articles
We're gonna have the ability to
Reference a
Private
Particle system in particle system
Analyst new particle system one
Because I know that I want to do multiple particle systems for various Innovations 2
Doesn't matter if it's just going to be one particle system on a player's feet
Hey we might have a punch particle system we might have a breath particle system coming out of his mouth who knows
How many particle systems we want to create so just keep that in mind
So let's come on down here in let's just create a new script
Can you function
I can be very similar to our play sound functions where do void
Emit particles
And
I'm going to do here is type particle system one
And there is a function that allow us to emit particles in that is simply you guessed it
You met
We can just simply say how many miles we can say 10 here
Or we can do is say
Emit amount
1
Just like we did with the sounds we could just add a
Feel down here serializefield
Private integer
Emit amount
1
Right
If we jump into unity
We can see now
Your animator functions so be quicker than Claire variant
We'll see that break here that we have a new particles
Section for animator functions
We can drag the particle of dust
Two particle system one in the amount we want a minute
So it could be something like 10 days and then what to do
Is it going to play Run
And when his feet hit the ground
Create a new
Event
Where to find that function emit particles let's go ahead into replay mode and see how everything looks
Alright
So we have our particles coming out of our feat couple of things here we can move it towards the centre a little bit more
Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1
And also you'll notice that the particles seem to move with the player
It's almost like they're in another like dimension or something
The devil doesn't look good so there's a simple way to fix that
What you do is go to iPlayer here a particle that step and remember we want to move it a little bit more towards
Go to run here you can actually see
There we go
So what we're going to do is actually just going to a particle system here
Instead of the
Instead of the simulation space being local meaning in a mythical and that particle will
Follow the player
You wanted to be world
Almost like it
Not going to be local to the player by little bit in the world coordinates I know that might not make sense
My shave
Now when we run
It leaves behind the particle see that
And that my friend is a really nice game feel honestly my mistake need to tweak it
I'm really liking actually
To the jumping as well so we can use that particle emission
For the jump as well
Something create another event I could put it on top of these two here but sometimes it gets so crowded on one
One frame then I'm going to do that I'm gonna put the right here how many colours
Where is
Emit particles
And let's see if we can actually get particles to make when we jump
Here we go
Perfect
I like it a lot
So we have particles in moving from the feet let's go ahead and create another particle system that Emits from the
French
So we know we like these particles right
Why not just create a prefab out of them in reuse them and then we can treat them if we need to
So what I'm going to do is just drag these particle does steps
Into just a prefabs folder
There we go
Happy please
Play some again I'm going to call these particle dust
Punch
Alright so we're going to put our punch
I just punch particles about right
Here
So basically where the player actually put his first so somewhere about right there is good
I'm gonna go ahead and create an event in that event is going to be
Sorry mate articles two functions
So
If we say this prefab and got a play mode
You can see that the particles now emit
To wear a matching
Doesn't look great
So we're going to go to player
I'm just going to eat those particles just a little
Send me a job down the start colour to be about something like that
And then I'm going to go ahead in actually change the shape
What you do is actually make a box where we go
And I can't week the scale of this box to be something like this
And it's wrote a little bit so it's something like that
What's Tuesday admission to see how this looks
Perfect
So we're going to get a lot of
Missed around the arm area so something like that
Maybe we can shrink down that box just a little bit
Mercia
Something like that
Change the radio x 20
And save this
Can I see if this works
There we go
I have a cold pint of x
Forearm
Not perfect will be tweeting
I love this stuff
Episodes by overall Close pretty cool
We're going to go ahead and just copy that
After we make it a prefab variant to remember of this step is our original prefab
Create a prefab variant
From the dust so now we have this punch prefab I can actually create
Punch
Up
Prefab
Gameobject as well
And I can actually just wrote it so let's make sure the shape is right yeah so we'll wrote it up
This will be our punch up
Particles
I like this
I like that
Fairy garden
Annie guest
We're going to jump into enemy the functions
Images create another particle system
To control
And again I know all of this is redundant for those of you who are professional coders
You probably have a much better way of doing this but this is the way that I like to do it
Because it's very visible in easy to see
And helps me long term
How many go.to.my innovative functions now
Intra particle system II I'm going to do the Punch up
I'm going to make it
15
And then we're going to make sure
We had that event as well
You make particles 3
Say that out hopefully
Take a look here
Awesome
Very good
And finally
The downward kick
We had some missed as well
Now that one I don't see why we can't just do
Paracord 1 ft
That's fine for now
Now you may notice that if I punch up like that
Reading particles emitting from our feet as definitely not what we want right
Functional ladder for ways you can see there's just put those step particles are coming on my feet why is that
What is because if you recall in the animator
Controller here
After we punch up we go to playlist and but if I'm in there it will be bypassed in go immediately to play a job
The same is true for player cake
We're gonna play a cake and then immediately got a player jump because we're mid-air right
Well
If you remember
Jumping
Has the Emmett particles function in
So we're going to see that way to me x
So sometimes guys
Animation events are not your perfect solution sometimes you have to do it in a different way
How many delete their animation event
In what I want to do is I'm going to go into my player script
My new player script
Double click on it
Unlock
What I can do is actually
Go ahead in
Had a reference
For my animator functions
Creda serializefield
Private animator functions
Cm functions
And I'm gonna scroll on down
To wear my jumper cos here this
So we're going to type animator functions that in Mid particles
1
Well that's how we getting there here
The reason is because in animator functions with scroll down
Two are functions here
Fire particles
Defaulting to private if you don't specify whether it's public it's going to by default be private
Search go ahead and cry missions
Functions to public
That way we can access our particle functions
From the new player script
Here we go so now
You should work just fine
Remember
We now have
Access to a Native function scriptwriter
I need the dragbat
Intuit field and then save it
Because we've added that to the new player script
When we hit the spacebar
It's going to say
Animator functions of particles of 1
What's particles 1
The one sex with feet
ScotRail ballot
Casino I can kick
Kicking the air and punching the air
But because I'm not grounded
And I'm not hitting the spacebar
Does are not occurring
Can I confusing so what I'm going to do is go on iPlayer
How many go ahead in a one More perfect how many holidays
Punch down
Crank up the emissions here there we go and it's like your shape so we can actually see it
Alex Kidd
So that's going to be
Punch down or I think I better word will probably kick down right
And you guessed it when you go into our animator functions and it had one more
Function
For a fourth set
Of particles
American Dad
That's it up here as well
We forget the
Set this to particle system for
Do you want to be careful and duplicating your scripts and that's definitely a weakness when it comes to the method I'm using here
Very specific and redundant functions
There can be a problem if you want to be really careful doing that
Can I can drag in
Kick down and then we're going to do 15 particles down
That way when we kick down
Wigan actually just say
My particles for my drive the server just a bit
There we go
And we're going to remove
Female characters one of my dad's footsteps
Are we going on top of each other
And save it out
Any jump back into play mode here and hopefully we're going to have a dust particles working great
When we touch
Looking good
That's awesome
Until one of the benefits of having everything over here is I can quickly quick everything I can do 5
It's good
Music play
Yeah we got a lot better
Feel a lot better
Set saddle
Looks like I'm sort of blasting through the fog I really like that
Really quick guys you definitely want to be careful as you can see here there is mischief I maximise on Play
You can see that there is a saddle
First of bug
Happening right here
What's going on there
Alexa play mode here
Enter the player
And as you can see particle kickdown
Our mission is set to 3.48 by default so it's always happening
That is 0
Alright
Say that out
Animal beginning also do you guys is
Let's go head in create
Some fog that Emits from the player as he flies through the air right so we're going to do particles
First
Fly
Am I going to put that right at the centre point of the player
And by The Fall guys where does going to have
The rate overtime at 0
NN4 are jumping
What we're going to do is actually click the record button here
When we get to the rate over time to 10
And when he's
Standing
Are we going to do it record in and set it back to zero
Seriously with ran just to be extra sure
When he's running we're going to set the rate overtime 20
Tesco head in save and see how it looks
Jump
Call so we can fly through the air with some fog
I think my local if it's behind him
And it lasts a little bit longer
So this is just one of those things with game for your guys even though it's not really realistic they have fog in
Smoke coming out of your back when you're jumping it definitely as an experience of the player so we're going to do it
Go to a particle dust fly here
Let's set the emission to an 020 something so we can see it
It's the first of the shape is fine I think we could try shrink it a little bit
Wider and then
Shrink down Daisy
Derry girls
There we go so what is order in the layer of default 20
Ok great and then also I don't like it how it nearly appears like that so it's going to colour over lifetime
NN shrink down the Alpha and then right here
It's going to be
Maxed out like that
Ok
And also let extended lifetime to about one second
And finally guys we don't want any gravity so it turn off the gravity modifier
Sainsbury share with that we
Go ahead and
Make sure the emissions are set to zero by default
Say it
Any got a plane mode
Awesome
Quite interesting
Brightness
It's really cold in this kind of effect is really popular in games like hollow Knight
Just makes it a little bit funny so it's actually jump into player an increase
The default start colour to something like
95 as a play and see what happens
She say the prefab but obviously
We can make the rate of emission a little bit higher because it's like it's just not
Happening enough for us
Does a little too bright
And a little too infrequent
So
Hope your Friday just spend some time tweaking things guys to look perfect
Remember you got such a I'm going to set the particle emission to 25
That looks great ok
I will say that out
Hey play
There we go that's a lot better
That's fine
Don't underestimate the value of missed informed it makes things look really cool
Alright
So you get some cool particle effects
For our player
Next to my do particle effects for destroying enemies
And collecting coins and hearts
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.