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

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ส.ค. 2024

ความคิดเห็น • 172

  • @dantwyn91
    @dantwyn91 4 ปีที่แล้ว +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 5 ปีที่แล้ว +32

    Awesome, hadn't even thought of this

  • @peri3138
    @peri3138 18 วันที่ผ่านมา +1

    4 years later, still great tutorial

  • @SophieAnteboth
    @SophieAnteboth 3 ปีที่แล้ว +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!

  • @NerdyTalking
    @NerdyTalking 5 ปีที่แล้ว +9

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

  • @MoTheBlackCat
    @MoTheBlackCat 3 ปีที่แล้ว +3

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

  • @anaibrahim4361
    @anaibrahim4361 4 ปีที่แล้ว +1

    explanation like Brackey + blackthrone very nice

  • @bryaninternoscia6189
    @bryaninternoscia6189 3 ปีที่แล้ว +2

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

  • @kojinakazawa3009
    @kojinakazawa3009 3 ปีที่แล้ว +4

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

  • @daichi_devs
    @daichi_devs 4 ปีที่แล้ว +1

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

  • @benjarubio3251
    @benjarubio3251 ปีที่แล้ว

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

  • @arbo6850
    @arbo6850 4 ปีที่แล้ว +1

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

  • @Winsomnia
    @Winsomnia 4 ปีที่แล้ว +1

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

  • @gamerdabeer8860
    @gamerdabeer8860 2 ปีที่แล้ว +1

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

  • @vash7245
    @vash7245 5 ปีที่แล้ว +2

    just what i needed! thanks

  • @selagia
    @selagia 3 ปีที่แล้ว +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();
    }

  • @akashtechdeveloper
    @akashtechdeveloper 2 ปีที่แล้ว +1

    A very very very very huge thankyou my brother

  • @GemTappX
    @GemTappX ปีที่แล้ว

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

  • @niewinskipiotr1993
    @niewinskipiotr1993 2 ปีที่แล้ว

    well done, short and precise!

  • @Zepha21
    @Zepha21 ปีที่แล้ว +1

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

  • @allysonjd
    @allysonjd 4 ปีที่แล้ว +1

    Amazing. I was looking for this. Thanks!

  • @Justeeee115
    @Justeeee115 3 หลายเดือนก่อน

    awesome this very helpful and short video

  • @g-dev7336
    @g-dev7336 5 ปีที่แล้ว +1

    All what i needed! Thank u dude

  • @pixelsoupgames
    @pixelsoupgames 2 ปีที่แล้ว

    Answered exactly what I wanted. Thanks!

  • @Kaeru-
    @Kaeru- ปีที่แล้ว

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

  • @ayjay5157
    @ayjay5157 3 ปีที่แล้ว

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

  • @danieljayne8623
    @danieljayne8623 3 ปีที่แล้ว

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

  • @chrisschloemp3540
    @chrisschloemp3540 3 ปีที่แล้ว

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

  • @chronoabi
    @chronoabi 4 ปีที่แล้ว

    This is just what I wanted bro so thankyou

  • @Rayyarhs
    @Rayyarhs 2 ปีที่แล้ว

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

  • @mozikr9694
    @mozikr9694 2 ปีที่แล้ว

    this is exactly what i was looking for thx

  • @1cedragon
    @1cedragon 3 ปีที่แล้ว +1

    Good tutorial! Concise and very well explained :)

  • @hasnihasni2995
    @hasnihasni2995 4 ปีที่แล้ว

    Thank you bro
    We need more video of particule system

  • @cazlindgren
    @cazlindgren 3 ปีที่แล้ว

    exactly what i needed

  • @Dev_Cherry
    @Dev_Cherry 4 ปีที่แล้ว

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

  • @shwk77
    @shwk77 2 ปีที่แล้ว

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

  • @eeliastv
    @eeliastv ปีที่แล้ว

    great video! Thanks!

  • @sladnam7480
    @sladnam7480 3 ปีที่แล้ว

    really great tutorial! Very easy to understand and follow.

  • @smokeback
    @smokeback 3 ปีที่แล้ว

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

  • @Plapp_
    @Plapp_ 2 ปีที่แล้ว

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

  • @r.f886
    @r.f886 3 ปีที่แล้ว

    GREAT Tutorial, Thank you very much

  • @TheLegendsOfTynedale
    @TheLegendsOfTynedale 2 ปีที่แล้ว

    Excellent video! Thanks

  • @acikgozemre
    @acikgozemre 3 ปีที่แล้ว

    Thank you so much . Really helpful and works perfectly!

  • @itzMaggus
    @itzMaggus 4 ปีที่แล้ว

    Thanks man! Easy stuff but still crispy🔥

  • @AidinZolghadr
    @AidinZolghadr 5 ปีที่แล้ว +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  5 ปีที่แล้ว +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 3 ปีที่แล้ว +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 3 ปีที่แล้ว

      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 3 ปีที่แล้ว

      @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 3 ปีที่แล้ว

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

  • @rizvangataev1222
    @rizvangataev1222 3 ปีที่แล้ว

    Thanks! Helped me a lot

  • @jaulloa21
    @jaulloa21 3 ปีที่แล้ว

    Thanks, I’m using particles for collisions

  • @PaoloFerrer
    @PaoloFerrer 4 ปีที่แล้ว

    Damn this is exactly what I needed! Great explanation!

  • @Kabeza00
    @Kabeza00 2 ปีที่แล้ว

    thanks, it worked very well and simple

  • @UnravelCuriosities
    @UnravelCuriosities 3 ปีที่แล้ว

    thank you man this is very awesome

  • @brendandilloughery3316
    @brendandilloughery3316 4 ปีที่แล้ว +1

    Awesome video!

  • @efeberke681
    @efeberke681 4 ปีที่แล้ว

    Really good video bro congrats 👍

  • @rubencarral2663
    @rubencarral2663 4 ปีที่แล้ว

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

  • @itotola8150
    @itotola8150 ปีที่แล้ว

    Thanks i will go dust my game now

  • @redkuboid
    @redkuboid ปีที่แล้ว

    looks awesome!

  • @darkthornplays2414
    @darkthornplays2414 2 ปีที่แล้ว

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

  • @belajashark
    @belajashark ปีที่แล้ว

    Absolutely useful, thank you!!!!!!

  • @ygorishikawa285
    @ygorishikawa285 2 ปีที่แล้ว

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

  • @AbdulRahman-vt4bw
    @AbdulRahman-vt4bw 5 ปีที่แล้ว +1

    Thanks

  • @sparkytherecycledpuppy9400
    @sparkytherecycledpuppy9400 3 ปีที่แล้ว

    this works great! Thanks!

  • @derrorer
    @derrorer 4 ปีที่แล้ว

    Thank you, its really helpful

  • @muhamadshara9187
    @muhamadshara9187 4 ปีที่แล้ว

    that was really good, thanks

  • @friendlyhello
    @friendlyhello 4 ปีที่แล้ว

    Wow! So cool, thank you!

  • @tommyholmberg8961
    @tommyholmberg8961 8 หลายเดือนก่อน

    Thanks a lot!

  • @EnenraKage
    @EnenraKage 2 ปีที่แล้ว

    this helped so much, thank you :]

  • @gilenomascarenhas2880
    @gilenomascarenhas2880 4 ปีที่แล้ว

    Very Good! Thank you.

  • @buchal8425
    @buchal8425 2 ปีที่แล้ว

    THANKS BRO

  • @neozoid7009
    @neozoid7009 2 ปีที่แล้ว

    You soo simple and cool👍🆒 awesome tutorial

  • @MahmudShuaib
    @MahmudShuaib 3 ปีที่แล้ว

    you are the man!!!!! Subbed

  • @omerfurkanduman2064
    @omerfurkanduman2064 ปีที่แล้ว

    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.

  • @narutonamikaze10000
    @narutonamikaze10000 10 หลายเดือนก่อน

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

  • @somedevstuff5060
    @somedevstuff5060 2 ปีที่แล้ว

    Amazing

  • @CodingAndPizza
    @CodingAndPizza ปีที่แล้ว

    thanks

  • @why4han5lr7
    @why4han5lr7 4 ปีที่แล้ว +1

    Cool.nice video

  • @bluecrystalstudio402
    @bluecrystalstudio402 4 ปีที่แล้ว

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

  • @WillibaldTM
    @WillibaldTM ปีที่แล้ว

    i liked

  • @dennisdanso4160
    @dennisdanso4160 4 ปีที่แล้ว

    Thank you

  • @LilPie
    @LilPie 2 ปีที่แล้ว

    tysm

  • @jakes-dev1337
    @jakes-dev1337 4 ปีที่แล้ว

    thank you

  • @skamzababy6017
    @skamzababy6017 3 ปีที่แล้ว

    nice video!

  • @mtchqx
    @mtchqx 4 ปีที่แล้ว +1

    Will the wall jumping video be out soon?

  • @FreezeMc
    @FreezeMc 3 ปีที่แล้ว

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

  • @InsanepoolYT
    @InsanepoolYT 4 ปีที่แล้ว

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

  • @AraragiAriel
    @AraragiAriel 3 ปีที่แล้ว

    Very cool

  • @Plapp_
    @Plapp_ 2 ปีที่แล้ว

    TYSM! :D

  • @robbercool
    @robbercool 4 ปีที่แล้ว +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();
    }

  • @swiftgames5382
    @swiftgames5382 5 ปีที่แล้ว +5

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

    • @pressstart6864
      @pressstart6864  5 ปีที่แล้ว +2

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

    • @hiiambarney4489
      @hiiambarney4489 4 ปีที่แล้ว

      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.

  • @bonse2000
    @bonse2000 ปีที่แล้ว +1

    where is the scrpt?

  • @theoshaw3180
    @theoshaw3180 5 ปีที่แล้ว +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  5 ปีที่แล้ว +1

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

    • @ludicrouS_406
      @ludicrouS_406 4 ปีที่แล้ว

      collision matrix in project settings

  • @Pefiye
    @Pefiye ปีที่แล้ว

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

  • @ra1ly2.03
    @ra1ly2.03 3 ปีที่แล้ว +1

    Celeste, im really love this game

  • @RedDevEg
    @RedDevEg 6 หลายเดือนก่อน

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

  • @terenceterence1595
    @terenceterence1595 4 ปีที่แล้ว +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 3 ปีที่แล้ว

      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

  • @muelabruno66
    @muelabruno66 2 ปีที่แล้ว

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

  • @ZawyedZion
    @ZawyedZion 4 ปีที่แล้ว

    i like you, great vid

  • @dukeyys7701
    @dukeyys7701 ปีที่แล้ว

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

  • @mma_hack
    @mma_hack 3 ปีที่แล้ว

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

  • @ekobooy
    @ekobooy 2 ปีที่แล้ว

    similar but power

  • @user-ch7yu6ig5o
    @user-ch7yu6ig5o 3 ปีที่แล้ว

    cool

  • @mkfear8251
    @mkfear8251 4 ปีที่แล้ว

    bravo