Dust Effect when Running & Jumping in Unity [Particle Effect]

Sdílet
Vložit
  • čas přidán 22. 08. 2024

Komentáře • 172

  • @dantwyn91
    @dantwyn91 Před 4 lety +35

    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!

  • @ThePlasticPlanet
    @ThePlasticPlanet Před 5 lety +32

    Awesome, hadn't even thought of this

  • @peri3138
    @peri3138 Před 15 dny +1

    4 years later, still great tutorial

  • @NerdyTalking
    @NerdyTalking Před 5 lety +9

    Excellent tutorial as usual! Simple yet very useful. Keep up the great job!

  • @SophieAnteboth
    @SophieAnteboth Před 3 lety +4

    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!

  • @MoTheBlackCat
    @MoTheBlackCat Před 3 lety +3

    Straight to the point and simple for great added value, thanks!

  • @anaibrahim4361
    @anaibrahim4361 Před 4 lety +1

    explanation like Brackey + blackthrone very nice

  • @bryaninternoscia6189
    @bryaninternoscia6189 Před 3 lety +2

    O.O so damn AWESOME!! Thank you for the clear and effective breakdown of this particle system. Kudos!

  • @daichi_devs
    @daichi_devs Před 4 lety +1

    I've said this else where but you make awesome tutorials. You have a knack for it. Please continue!

  • @Winsomnia
    @Winsomnia Před 4 lety +1

    holyshit, this is some serious production value and only 12k subs? if you keep going you will have much more man

  • @kojinakazawa3009
    @kojinakazawa3009 Před 3 lety +4

    Thankyou, this gave me exactly the result I was looking for!

  • @benjarubio3251
    @benjarubio3251 Před rokem

    I got exactly what I came for (the part to get the particles to stay in their place), thx a lot man

  • @gamerdabeer8860
    @gamerdabeer8860 Před 2 lety +1

    Thanks Mate! I Really Appreciate You're Effort Trying To Help Beginners Like Us!

  • @arbo6850
    @arbo6850 Před 4 lety +1

    Yo this added so much depth to the motion in my game thank you!

  • @selagia
    @selagia Před 3 lety +4

    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();
    }

  • @Zepha21
    @Zepha21 Před rokem +1

    That is a fundamentally different dust effect than on the thumbnail, you explained something completely different.

  • @GemTappX
    @GemTappX Před rokem

    Thanks brother! I'm getting prepared to reach out to a publisher. Appreciate the helpful tips!

  • @ayjay5157
    @ayjay5157 Před 3 lety

    Bro this was the most helpful video I have ever watched thanks bro!

  • @akashtechdeveloper
    @akashtechdeveloper Před 2 lety +1

    A very very very very huge thankyou my brother

  • @vash7245
    @vash7245 Před 5 lety +2

    just what i needed! thanks

  • @danieljayne8623
    @danieljayne8623 Před 3 lety

    Really nice man. Very effective. I'll be implementing this later, exciting stuff.

  • @shwk77
    @shwk77 Před 2 lety

    I'm going to give this a shot here in 2022, wish me luck!

  • @g-dev7336
    @g-dev7336 Před 4 lety +1

    All what i needed! Thank u dude

  • @Justeeee115
    @Justeeee115 Před 3 měsíci

    awesome this very helpful and short video

  • @allysonjd
    @allysonjd Před 4 lety +1

    Amazing. I was looking for this. Thanks!

  • @pixelsoupgames
    @pixelsoupgames Před 2 lety

    Answered exactly what I wanted. Thanks!

  • @niewinskipiotr1993
    @niewinskipiotr1993 Před 2 lety

    well done, short and precise!

  • @Kaeru-
    @Kaeru- Před rokem

    Now I only need to figure out how to change that to an image. Thanks.

  • @AidinZolghadr
    @AidinZolghadr Před 5 lety +25

    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!

    • @pressstart6864
      @pressstart6864  Před 5 lety +19

      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.

    • @SAGARBODKHE
      @SAGARBODKHE Před 3 lety +3

      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.

    • @nehemiahimmanuel4689
      @nehemiahimmanuel4689 Před 3 lety

      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!

    • @nehemiahimmanuel4689
      @nehemiahimmanuel4689 Před 3 lety

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

    • @nehemiahimmanuel4689
      @nehemiahimmanuel4689 Před 3 lety

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

  • @1cedragon
    @1cedragon Před 3 lety +1

    Good tutorial! Concise and very well explained :)

  • @smokeback
    @smokeback Před 3 lety

    this been very helpful understanding the logic how to pull it off thanks just subbed to your channel

  • @mozikr9694
    @mozikr9694 Před 2 lety

    this is exactly what i was looking for thx

  • @chrisschloemp3540
    @chrisschloemp3540 Před 3 lety

    Thank you very much. This is exactly what I was looking for!

  • @chronoabi
    @chronoabi Před 4 lety

    This is just what I wanted bro so thankyou

  • @Plapp_
    @Plapp_ Před 2 lety

    DUDE THIS IS SO AWESOME OMG THANKS!!!! UR DA BEST!

  • @sladnam7480
    @sladnam7480 Před 3 lety

    really great tutorial! Very easy to understand and follow.

  • @efeberke681
    @efeberke681 Před 4 lety

    Really good video bro congrats 👍

  • @PaoloFerrer
    @PaoloFerrer Před 4 lety

    Damn this is exactly what I needed! Great explanation!

  • @rubencarral2663
    @rubencarral2663 Před 4 lety

    Hi ! Been trying to figure how to do this for ages, thank you so much!

  • @eeliastv
    @eeliastv Před rokem

    great video! Thanks!

  • @Dev_Cherry
    @Dev_Cherry Před 4 lety

    thank you so much! very helpful and straight to the point!

  • @Rayyarhs
    @Rayyarhs Před 2 lety

    thnx, now to add some other mash to it on my 1. game :)

  • @hasnihasni2995
    @hasnihasni2995 Před 4 lety

    Thank you bro
    We need more video of particule system

  • @acikgozemre
    @acikgozemre Před 3 lety

    Thank you so much . Really helpful and works perfectly!

  • @itzMaggus
    @itzMaggus Před 4 lety

    Thanks man! Easy stuff but still crispy🔥

  • @omerfurkanduman2064
    @omerfurkanduman2064 Před rokem

    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.

  • @TheLegendsOfTynedale
    @TheLegendsOfTynedale Před 2 lety

    Excellent video! Thanks

  • @cazlindgren
    @cazlindgren Před 3 lety

    exactly what i needed

  • @r.f886
    @r.f886 Před 3 lety

    GREAT Tutorial, Thank you very much

  • @UnravelCuriosities
    @UnravelCuriosities Před 3 lety

    thank you man this is very awesome

  • @rizvangataev1222
    @rizvangataev1222 Před 3 lety

    Thanks! Helped me a lot

  • @brendandilloughery3316
    @brendandilloughery3316 Před 4 lety +1

    Awesome video!

  • @Kabeza00
    @Kabeza00 Před 2 lety

    thanks, it worked very well and simple

  • @darkthornplays2414
    @darkthornplays2414 Před 2 lety

    Simple and to the point😁, my game looks better already, thank you

  • @redkuboid
    @redkuboid Před rokem

    looks awesome!

  • @ygorishikawa285
    @ygorishikawa285 Před 2 lety

    Nice video, i made it and works, finally! thanks

  • @belajashark
    @belajashark Před rokem

    Absolutely useful, thank you!!!!!!

  • @EnenraKage
    @EnenraKage Před 2 lety

    this helped so much, thank you :]

  • @tommyholmberg8961
    @tommyholmberg8961 Před 8 měsíci

    Thanks a lot!

  • @itotola8150
    @itotola8150 Před rokem

    Thanks i will go dust my game now

  • @sparkytherecycledpuppy9400

    this works great! Thanks!

  • @friendlyhello
    @friendlyhello Před 4 lety

    Wow! So cool, thank you!

  • @muhamadshara9187
    @muhamadshara9187 Před 4 lety

    that was really good, thanks

  • @derrorer
    @derrorer Před 4 lety

    Thank you, its really helpful

  • @buchal8425
    @buchal8425 Před 2 lety

    THANKS BRO

  • @neozoid7009
    @neozoid7009 Před 2 lety

    You soo simple and cool👍🆒 awesome tutorial

  • @MahmudShuaib
    @MahmudShuaib Před 3 lety

    you are the man!!!!! Subbed

  • @jaulloa21
    @jaulloa21 Před 3 lety

    Thanks, I’m using particles for collisions

  • @gilenomascarenhas2880
    @gilenomascarenhas2880 Před 4 lety

    Very Good! Thank you.

  • @somedevstuff5060
    @somedevstuff5060 Před 2 lety

    Amazing

  • @why4han5lr7
    @why4han5lr7 Před 4 lety +1

    Cool.nice video

  • @AbdulRahman-vt4bw
    @AbdulRahman-vt4bw Před 5 lety +1

    Thanks

  • @FreezeMc
    @FreezeMc Před 3 lety

    Cool, it worked thanks a lot man!, one sub for you!

  • @Pefiye
    @Pefiye Před rokem

    like a wise man once said:
    "unity particle system"
    -Dani

  • @skamzababy6017
    @skamzababy6017 Před 3 lety

    nice video!

  • @bluecrystalstudio402
    @bluecrystalstudio402 Před 3 lety

    pretty usefull tutorial :) I´ve made my dust particles similary

  • @muelabruno66
    @muelabruno66 Před 2 lety

    I head this guy its a great DJ. Like legendary DJ. He goes under the name ScratchBartard....dont belive me? Look it up

  • @CodingAndPizza
    @CodingAndPizza Před rokem

    thanks

  • @InsanepoolYT
    @InsanepoolYT Před 4 lety

    hi I Think i really need help here btw this video is really help full thank you sir

  • @Plapp_
    @Plapp_ Před 2 lety

    TYSM! :D

  • @AraragiAriel
    @AraragiAriel Před 3 lety

    Very cool

  • @WillibaldTM
    @WillibaldTM Před rokem

    i liked

  • @dennisdanso4160
    @dennisdanso4160 Před 4 lety

    Thank you

  • @jakes-dev1337
    @jakes-dev1337 Před 4 lety

    thank you

  • @ZawyedZion
    @ZawyedZion Před 4 lety

    i like you, great vid

  • @LilPie
    @LilPie Před 2 lety

    tysm

  • @swiftgames5382
    @swiftgames5382 Před 5 lety +5

    great video thank you. can this be used in 3D as well ?

    • @pressstart6864
      @pressstart6864  Před 5 lety +2

      Yes particle systems work in 2D and 3D games. Just change the material.

    • @hiiambarney4489
      @hiiambarney4489 Před 4 lety

      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.

  • @robbercool
    @robbercool Před 4 lety +1

    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();
    }

  • @theoshaw3180
    @theoshaw3180 Před 5 lety +4

    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

    • @pressstart6864
      @pressstart6864  Před 5 lety +1

      In Project Settings you can set the collision settings for different layers: docs.unity3d.com/Manual/LayerBasedCollision.html

    • @ludicrouS_406
      @ludicrouS_406 Před 4 lety

      collision matrix in project settings

  • @terenceterence1595
    @terenceterence1595 Před 4 lety +3

    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() !

    • @jamesgames5760
      @jamesgames5760 Před 3 lety

      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

  • @ra1ly2.03
    @ra1ly2.03 Před 3 lety +1

    Celeste, im really love this game

  • @mtchqx
    @mtchqx Před 4 lety +1

    Will the wall jumping video be out soon?

  • @narutonamikaze10000
    @narutonamikaze10000 Před 10 měsíci

    Bro where should i place the Creat dust (); because i dont have change direction command in 2d 😢😢 pls tell fast

  • @Bizarrien
    @Bizarrien Před 4 lety

    thnakss

  • @mma_hack
    @mma_hack Před 3 lety

    Спасибо! Очень кстати.

  • @dukeyys7701
    @dukeyys7701 Před rokem

    I need some help. I want particles to come out of the ground after my character has jumped and hit the floor.

  • @mkfear8251
    @mkfear8251 Před 4 lety

    bravo

  • @user-ch7yu6ig5o
    @user-ch7yu6ig5o Před 3 lety

    cool

  • @random_precision_software

    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?

  • @RedDevEg
    @RedDevEg Před 6 měsíci

    Its very good tutorial but does it works with 3D too?