I was searching for a completely different topic and I accidentally improved my game by finding this video instead. Can't even remember what I was looking for initially. :) Awesome help, thanks!
This video is really helpful! Just a side note for anyone experiencing problems, to prevent creating dust while turning in the air add an "if" statement that checks for touching the ground. if(yourVariableForTouchingGround == true) { dust.Play(); }
How do you squish the player on jump? Via code or animation? Also is sprite a child of the main game object, as I don't think you'd want to squish the rigidbody as well. Also how do you do it over the short period of time, squishes over like half a second.Thanks!
The character sprite is a child of the "Character" object. I then increase localScale.y by about 0.2 and and decrease localScale.x by about 0.2. I use an IENumerator to increment the steps inbetween for a duration of about 0.2 seconds - This is for jumping. For landing, I do the opposite.
Another solution for this is to use Trigger Parameter (say, triggerName) in your Animator. Make a transition from idle(default) state to squish animation state with the trigger parameter as condition. On the return (or next) transition path from squish animation state to the idle state (or jump state) use only exit time (no additional condition). Use animator.SetTrigger("triggerName") to activate the squish state and then it will automatically move following animation when the squish animation is complete.
you prolly dont care but does someone know of a tool to get back into an instagram account..? I somehow forgot my account password. I would appreciate any assistance you can offer me!
@Miguel Alfredo i really appreciate your reply. I got to the site through google and Im in the hacking process atm. Looks like it's gonna take quite some time so I will get back to you later with my results.
Please make a video about how you darken the surroundings and make a video about the lighting. I watched your other videos and I liked it very much, it's nice to watch from you so I'm waiting for the video.
In 3d... Depending on your complexity of the game, you might have it set to be triggered in the animations themselves . You can add an Event towards specific frames, for example every time one foot touches the ground you fire the event create dust. For further coolness points you would change the emission starting point to be on the foot , when it touches the ground, I'd use the record button and switch the world transform of the particle system but since I have 0 clue of Unity3d, there might be some better way, like making 2 of the same particle systems and parenting them to each foot.
I want the particles to activate while Im running but for som reason the particles start to emit after i realease shift Code: if (Input.GetKey(KeyCode.LeftShift)) { CreateDust(); moveSpeed = 0.8f; } //Hej else { moveSpeed = 0.5f; } } private void FixedUpdate() { rb.MovePosition(rb.position + movement * moveSpeed * Time.fixedDeltaTime); } void CreateDust() { dust.Play(); }
Great video, ive been having a problem where my enemies have been colliding with each other. Do you know how to make it so an object doesn’t collide with a certain object
dude i am the exact same except for i am doing a 3d game and like nothing is workin for me so i am trying other methods made up by me like this line of code does kinda work for me in 3d game but i am not getting the results i want void CreateDust() { dust.Play(); if (Input.GetButtonDown("CreateDust()") && isGrounded) dust.Play(); btw dis is not a fix this is just one of the many lines of code i am trying to do to fix this
I was searching for a completely different topic and I accidentally improved my game by finding this video instead. Can't even remember what I was looking for initially. :) Awesome help, thanks!
Awesome, hadn't even thought of this
4 years later, still great tutorial
Excellent tutorial as usual! Simple yet very useful. Keep up the great job!
Thanks bud
I'm starting do make a pixel endless runner game and that was exactly what I needed.
Short, well explained and easy to follow for a begginer.
Thanks!
Straight to the point and simple for great added value, thanks!
explanation like Brackey + blackthrone very nice
O.O so damn AWESOME!! Thank you for the clear and effective breakdown of this particle system. Kudos!
I've said this else where but you make awesome tutorials. You have a knack for it. Please continue!
holyshit, this is some serious production value and only 12k subs? if you keep going you will have much more man
Thankyou, this gave me exactly the result I was looking for!
I got exactly what I came for (the part to get the particles to stay in their place), thx a lot man
Thanks Mate! I Really Appreciate You're Effort Trying To Help Beginners Like Us!
Yo this added so much depth to the motion in my game thank you!
This video is really helpful! Just a side note for anyone experiencing problems, to prevent creating dust while turning in the air add an "if" statement that checks for touching the ground.
if(yourVariableForTouchingGround == true)
{
dust.Play();
}
That is a fundamentally different dust effect than on the thumbnail, you explained something completely different.
Thanks brother! I'm getting prepared to reach out to a publisher. Appreciate the helpful tips!
Bro this was the most helpful video I have ever watched thanks bro!
A very very very very huge thankyou my brother
just what i needed! thanks
Really nice man. Very effective. I'll be implementing this later, exciting stuff.
I'm going to give this a shot here in 2022, wish me luck!
All what i needed! Thank u dude
awesome this very helpful and short video
Amazing. I was looking for this. Thanks!
Answered exactly what I wanted. Thanks!
well done, short and precise!
Now I only need to figure out how to change that to an image. Thanks.
How do you squish the player on jump? Via code or animation? Also is sprite a child of the main game object, as I don't think you'd want to squish the rigidbody as well. Also how do you do it over the short period of time, squishes over like half a second.Thanks!
The character sprite is a child of the "Character" object. I then increase localScale.y by about 0.2 and and decrease localScale.x by about 0.2. I use an IENumerator to increment the steps inbetween for a duration of about 0.2 seconds - This is for jumping. For landing, I do the opposite.
Another solution for this is to use Trigger Parameter (say, triggerName) in your Animator. Make a transition from idle(default) state to squish animation state with the trigger parameter as condition. On the return (or next) transition path from squish animation state to the idle state (or jump state) use only exit time (no additional condition). Use animator.SetTrigger("triggerName") to activate the squish state and then it will automatically move following animation when the squish animation is complete.
you prolly dont care but does someone know of a tool to get back into an instagram account..?
I somehow forgot my account password. I would appreciate any assistance you can offer me!
@Miguel Alfredo i really appreciate your reply. I got to the site through google and Im in the hacking process atm.
Looks like it's gonna take quite some time so I will get back to you later with my results.
@Miguel Alfredo it did the trick and I now got access to my account again. I am so happy:D
Thank you so much, you saved my account !
Good tutorial! Concise and very well explained :)
this been very helpful understanding the logic how to pull it off thanks just subbed to your channel
this is exactly what i was looking for thx
Thank you very much. This is exactly what I was looking for!
This is just what I wanted bro so thankyou
DUDE THIS IS SO AWESOME OMG THANKS!!!! UR DA BEST!
really great tutorial! Very easy to understand and follow.
Really good video bro congrats 👍
Damn this is exactly what I needed! Great explanation!
Hi ! Been trying to figure how to do this for ages, thank you so much!
great video! Thanks!
thank you so much! very helpful and straight to the point!
thnx, now to add some other mash to it on my 1. game :)
Thank you bro
We need more video of particule system
Thank you so much . Really helpful and works perfectly!
Thanks man! Easy stuff but still crispy🔥
Please make a video about how you darken the surroundings and make a video about the lighting. I watched your other videos and I liked it very much, it's nice to watch from you so I'm waiting for the video.
Excellent video! Thanks
exactly what i needed
GREAT Tutorial, Thank you very much
thank you man this is very awesome
Thanks! Helped me a lot
Awesome video!
Thank you!
thanks, it worked very well and simple
Simple and to the point😁, my game looks better already, thank you
looks awesome!
Nice video, i made it and works, finally! thanks
Absolutely useful, thank you!!!!!!
this helped so much, thank you :]
Thanks a lot!
Thanks i will go dust my game now
this works great! Thanks!
Wow! So cool, thank you!
that was really good, thanks
Thank you, its really helpful
THANKS BRO
You soo simple and cool👍🆒 awesome tutorial
you are the man!!!!! Subbed
Thanks, I’m using particles for collisions
Very Good! Thank you.
Amazing
Cool.nice video
Thanks
Cool, it worked thanks a lot man!, one sub for you!
like a wise man once said:
"unity particle system"
-Dani
nice video!
pretty usefull tutorial :) I´ve made my dust particles similary
I head this guy its a great DJ. Like legendary DJ. He goes under the name ScratchBartard....dont belive me? Look it up
thanks
hi I Think i really need help here btw this video is really help full thank you sir
TYSM! :D
Very cool
i liked
Thank you
thank you
i like you, great vid
tysm
great video thank you. can this be used in 3D as well ?
Yes particle systems work in 2D and 3D games. Just change the material.
In 3d... Depending on your complexity of the game, you might have it set to be triggered in the animations themselves . You can add an Event towards specific frames, for example every time one foot touches the ground you fire the event create dust.
For further coolness points you would change the emission starting point to be on the foot , when it touches the ground, I'd use the record button and switch the world transform of the particle system but since I have 0 clue of Unity3d, there might be some better way, like making 2 of the same particle systems and parenting them to each foot.
I want the particles to activate while Im running but for som reason the particles start to emit after i realease shift
Code:
if (Input.GetKey(KeyCode.LeftShift))
{
CreateDust();
moveSpeed = 0.8f;
}
//Hej
else
{
moveSpeed = 0.5f;
}
}
private void FixedUpdate()
{
rb.MovePosition(rb.position + movement * moveSpeed * Time.fixedDeltaTime);
}
void CreateDust()
{
dust.Play();
}
Great video, ive been having a problem where my enemies have been colliding with each other.
Do you know how to make it so an object doesn’t collide with a certain object
In Project Settings you can set the collision settings for different layers: docs.unity3d.com/Manual/LayerBasedCollision.html
collision matrix in project settings
Hey! My void Flip is totally différent from your, can you help me out because i dont know where i have to put the CreateDust() !
dude i am the exact same except for i am doing a 3d game and like nothing is workin for me so i am trying other methods made up by me like this line of code does kinda work for me in 3d game but i am not getting the results i want void CreateDust() {
dust.Play();
if (Input.GetButtonDown("CreateDust()") && isGrounded) dust.Play(); btw dis is not a fix this is just one of the many lines of code i am trying to do to fix this
Celeste, im really love this game
Will the wall jumping video be out soon?
Bro where should i place the Creat dust (); because i dont have change direction command in 2d 😢😢 pls tell fast
thnakss
Спасибо! Очень кстати.
I need some help. I want particles to come out of the ground after my character has jumped and hit the floor.
bravo
cool
I was looking at some of your jump code, it looks interesting! My jumps are cak , you don't want to do s jump video for great jumps do you?
Its very good tutorial but does it works with 3D too?