HOW TO MAKE 2D PARTICLE EFFECTS - UNITY TUTORIAL

Поділитися
Вставка
  • Опубліковано 28 вер 2024
  • In this unity tutorial we will take a look at how to make 2D particle effects (systems) using sprites !
    -----------------------------------------------------------------------------------------------
    SUPPORT ME : / blackthornprod
    --------------------------------------------------------------------------------
    Here is the LINK to DOWNLOAD THE PROJECT : github.com/Bla...
    Here is the LINK to my TWITTER : / noacalice
    Here is the LINK to the DISCORD SERVER : / discord

КОМЕНТАРІ • 343

  • @seb.5053
    @seb.5053 4 роки тому +19

    "hey everyone and welcome back" i really feel the enthusiasm when he says those lines and it makes me feel pretty welcomed :,)

  • @jahoopyjaheepu497
    @jahoopyjaheepu497 6 років тому +106

    You've got one of the best 2D Unity channels on UA-cam.

    • @Blackthornprod
      @Blackthornprod  6 років тому +9

      Thanks so much for those motivating words :) !

    • @dungeonthegoat
      @dungeonthegoat 5 років тому

      Wait then what is the best?

    • @bhabyakiran5069
      @bhabyakiran5069 4 роки тому +1

      @@dungeonthegoat Dani

    • @BaconDeez
      @BaconDeez 4 роки тому

      @@bhabyakiran5069 too bad he doesn't really do tutorials

    • @akarsh9407
      @akarsh9407 2 роки тому

      @@bhabyakiran5069 😆 🤣 he is so good at unity

  • @reywasgrey
    @reywasgrey 6 років тому +14

    I do not know what to say, you always understand what I need, thank you very much noa

  • @kashparty
    @kashparty 6 років тому +238

    Your channel is gonna blow up any time now... the quality is unparalleled

    • @nickarry
      @nickarry 5 років тому +3

      brackeys?

    • @LuisSierra42
      @LuisSierra42 5 років тому +1

      @@nickarry They are both good, but brackeys has been doing this for much longer

    • @nickarry
      @nickarry 5 років тому

      @@LuisSierra42 yeah so i would expect the quality of brackeys to be very high, which it is imo

    • @LuisSierra42
      @LuisSierra42 5 років тому

      @@nickarry It is

    • @humid1643
      @humid1643 4 роки тому +4

      Aged like wine

  • @kermaldesign
    @kermaldesign 6 років тому +473

    “being white, i can easily choose between two colors”
    *_rAcIsT_*

  • @MukeshKumar-fo1dn
    @MukeshKumar-fo1dn 4 роки тому

    My 12 years son is making a game for India and he was searching to how to use unity particle system I said watch your video and he is now in process

  • @triliner254
    @triliner254 3 роки тому +6

    Unity's particle system
    -Dani, 2020

  • @AlexanderZotov
    @AlexanderZotov 6 років тому +29

    Cool one as usual)

  • @Bardent
    @Bardent 6 років тому +2

    Will definitely be coming back to this video, thank you

  • @joshualagrimas9555
    @joshualagrimas9555 6 років тому +2

    So very optimistic, so beautiful tutorial, so motivating, your earned a sub just by that introduction, please do more, as my game dev skills are rekindled by your elegance.

  • @SamiAburwaise
    @SamiAburwaise 22 дні тому

    straight forward clear and fun. this is very nice tutorial

  • @shahroonfarooqi6403
    @shahroonfarooqi6403 6 років тому +1

    Why would someone dislike it, it's so awesome

  • @shalevforfor5550
    @shalevforfor5550 6 місяців тому

    Finally good video that show how to really do it

  • @fo4mods43
    @fo4mods43 4 роки тому +1

    you got a new subscriber. Great video. I've learned a lot. :)

  • @sebasv533
    @sebasv533 3 роки тому

    Short and straight to the point. Subscribed. Thank you!

  • @derp7533
    @derp7533 6 років тому +5

    I think you should have more subs and not just 5k because your videos and games are great and i love them

  • @spacemonkey2377
    @spacemonkey2377 6 років тому +1

    Great video and excellent choice of topic ! For sure I will make use of it.
    If I may give my 2 cents about something that hurts my head however, it's the camera shake in your intro 0:20. I've been really sick for 3 days now so I suppose most people won't feel that way, but god I can't stand the constant abuse of camera shake these days, probably due to every youtuber explaining how to do it. Camera shake is great, of course ! But if the screen is constantly shaking than it's just too much imo.
    I've tested a few LD entries that have the same problem, so I hope you understand it's not directed to you. I just wanted to point that out because for sure some players will feel the same way, and I think all devs should be aware of those features that can ruin the experience if overused.
    Keep up the nice work bro, we love it !

    • @DarthBeliarek
      @DarthBeliarek 6 років тому

      Vlambeer is not proud of you XDD Overall - you are probably right. Camera shake is awesome, but we should be careful with amount of it :D

    • @Blackthornprod
      @Blackthornprod  6 років тому +1

      Thanks a ton for the feedback Julien :) ! I'll really have to keep that in mind for my future games. What I'll do with my games from now on is add a camera shake option that you can toggle on and off :), that should fix the issue you, and I'm sure many other players are having !

    • @DarthBeliarek
      @DarthBeliarek 6 років тому +1

      Oh, and Vlambeer did it the same way too. But they let us in Nuclear Throne to have 0% and 200% of screenshake either XD Who wanted to play at that sick amount? :D

    • @spacemonkey2377
      @spacemonkey2377 6 років тому +1

      @Blackthornprod This is awesome, like those "accessibility features" they talk about in extra credits ! And it's just a PlayerPerf bool to add in your camera shake script.

    • @cubecrafter3607
      @cubecrafter3607 6 років тому

      I dont get sick over it but tbh I think its shaking way too much

  • @gustavrosgaardsrensen8028
    @gustavrosgaardsrensen8028 3 роки тому

    great video. Every other tutorial shows something much harder where you also have to create a material.

  • @nabeelbaghoor1061
    @nabeelbaghoor1061 4 роки тому

    I just love your style and art.

  • @HadiExtreme
    @HadiExtreme 6 років тому +1

    Hey, you're posting a lot of cool stuff lately, good job! Subscribed

  • @fnoffer
    @fnoffer 5 років тому +1

    watching this tutorial makes me happy ! Great music + motivated voice :)

  • @iannnavas
    @iannnavas Рік тому

    I'm very beginner professional on Game Industry and I've always wanted to know how to make this animations that we see in games in consoles, PC, mobile and I didn't know! This video helped me a lot. But now I have a question for you: do you know how they make animations for web games like Farmerama? If you ever seen a video from Farmerama, you'll see that is a browser game that has incredible animations like fishs swimming and jumping in the water, birds flying, etc., etc.. Do you know how they make that animations for web and what game engine do they use?

  • @garrytalaroc
    @garrytalaroc 4 роки тому +1

    my god I needed this.

  • @microman502
    @microman502 5 років тому

    Thank you! this was very helpful. My game is looking nice now.

  • @vulpoaica5744
    @vulpoaica5744 9 місяців тому

    thank you for this video !! :D Bless you!

  • @kamalchan9756
    @kamalchan9756 3 роки тому

    thank you for this video love it

  • @dyzlee6069
    @dyzlee6069 6 років тому

    Great video.
    Do you plan on making a new series?
    It would be cool to see the process of making a 2D RPG (like Magicite) on your channel.
    Im particularly interested in equipping weapons and armor on a 2D character, because idk how and where to start to make such a system.

  • @thedoom5315
    @thedoom5315 2 роки тому

    thanks this helped a lot

  • @raph2550
    @raph2550 5 років тому

    Thank you, you did not waste my time =D

  • @EnderElectrics
    @EnderElectrics 4 роки тому +4

    2:11 this is funny out of context

  • @crazyphysicsdev2832
    @crazyphysicsdev2832 6 років тому +1

    Awesome thank you!

  • @deanjackson3238
    @deanjackson3238 3 роки тому

    Hello you have a very nice channel with tons of usefull info, that would be nice if you make a video of how to link a particle system to a gameobject and triggering it during an animation with a life cycle control over the particles (to not instantiate each time we want it and destroying it at the end)

  • @bhaveshtiwari5783
    @bhaveshtiwari5783 6 років тому

    Great info in great way keep it up ;D

  • @bishnuchourasiya128
    @bishnuchourasiya128 4 роки тому

    This is awesome

  • @danielbrophy5752
    @danielbrophy5752 6 років тому

    Could you make a tutorial on water rising?

  • @luislasbelin
    @luislasbelin 6 років тому

    I simply love you

  • @GalaxyTrooper
    @GalaxyTrooper 4 роки тому

    woul love a tutorial on how to script them to play on certain events

    • @upsalapoinofgi3452
      @upsalapoinofgi3452 3 роки тому

      If you havent found it so far, he explains it in his dash tutorial ;)

  • @codingidiot6754
    @codingidiot6754 2 роки тому

    Any way to make the particles stay in place after the particle emitter moves?

    • @codingidiot6754
      @codingidiot6754 2 роки тому

      nvm, you change simulation space to world if anyone's wondering

  • @davidsaez5161
    @davidsaez5161 6 років тому

    F******* AWESOMEEEE!!!

  • @SinKGG
    @SinKGG 6 років тому +1

    Under texture sheet animation, there is no 'mode' option. Anyone know why this is?

    • @henryh7140
      @henryh7140 6 років тому

      Simply create a new material instead and assign that in the renderer

  • @최중-m1y
    @최중-m1y 6 років тому

    Thank you ~ ^^

  • @TailedCarpet
    @TailedCarpet 5 років тому +32

    To not have your particles just pop out of existence when lifetime is up, I would recommend you use the color over lifetime module and change the alpha (top row on the color scale) to 0 at the end. You can use the the size over lifetime module like he says in the video too, it depends on the effect you want to achieve, but I use the color option way more often, so it's weird that he didn't mention it.

  • @amberica86
    @amberica86 4 роки тому +45

    This video helped me get started on making particle effects. Every time I watch it, it reminds me of something else i can add to my particles! Anyone else who's overwhelmed by how information dense this video is, don't hesitate to pause, play with Unity, come back to it- and rewatch. I've watched it 20 times over the course of a few months to remember the basics, when I take a step away from particles for awhile. Thank you for the quality video!

  • @imranyafith4251
    @imranyafith4251 5 років тому +17

    I know this is and old video but I can't help but say it... As a beginner to Unity, your tutorials are one of the most helpful ones I know...The quality of your content is just absolutely amazing! Keep up the good work mate!

  • @hampusvonpost7049
    @hampusvonpost7049 6 років тому +13

    "Being white, I can easily select a color....."
    RACIST! xD
    Seriously though, nice video! :D

  • @thesnazzmaster
    @thesnazzmaster 4 роки тому +3

    You fool, now that you've taught me about particles I'm going to use them to overthrow you in the current GMTK game jam.

  • @h1rkka
    @h1rkka 3 роки тому +1

    APPROVED BY UNITY'S PARTICLE SYSTEM ADVERTISING TEAM
    UNITY'S PARTICLE SYSTEM - AN EASY SYSTEM WICH HELPS YOU TO MAKE COOL EFFECTS FPR YOUR GAME!!

  • @gustaf7063
    @gustaf7063 5 років тому +28

    When randomizing the rotation of your particles, you can set the canstants to -360 and 360 instesad of 0 and 360. This way the particles can rotate in both directions. :)

    • @mohamedboulaich5450
      @mohamedboulaich5450 4 роки тому +1

      Not really, 0 , 360 is just enough

    • @iicrazykingg422
      @iicrazykingg422 3 роки тому

      wouldn't something over 180 be the same as something under 0?

    • @gustaf7063
      @gustaf7063 3 роки тому +2

      @@iicrazykingg422 Sorry this was a long time ago. You can see in the video at 5:04 how all the stars are rotating in the same direction. I think the -360 and 360 thing was my description of how I solved that.

    • @iicrazykingg422
      @iicrazykingg422 3 роки тому

      @@gustaf7063 I see what you mean now ^.^

    • @Mik-kv8xx
      @Mik-kv8xx 2 роки тому

      (-360,360) and (0,360) are the same. There is no difference between the two.

  • @БорисОхлаждай
    @БорисОхлаждай 2 роки тому +1

    2:11 "Being white i can easily select..."
    Since what moment Unity engine suddenly became racist?

  • @UnluckyIAM
    @UnluckyIAM 4 роки тому +1

    Hi. I know it's stupid, but damn... how can I make a simple particle, when in 2D Top-Down Shooter I shoot and bullet stops on the mouse position? So when my bullet disappears, I want to instantiate a particle. Same for enemy death. First I don't know how to customize range, speed and delay of a particle, and if I do, always there is some little 0.5 second delay. I tried everything, please help. Thanks.

    • @acrom_sys
      @acrom_sys 4 роки тому

      turn particle into a prefab (make sure burst is on, loop off)
      make a script that instantiates that prefab when the bullet stops

  • @aboulkacemhouimel746
    @aboulkacemhouimel746 6 років тому +6

    Cool tutorial, this is going to really help me giving my games a lively feel! Thank you a lot for these cool videos!

  • @prathameshlondhe4522
    @prathameshlondhe4522 6 років тому +20

    Please Make A Tutorial On Screen Shake And Slow Motion :D

    • @Julien531
      @Julien531 6 років тому +1

      prathamesh yes, Good idea, Blackthorn, can you do an tutorial for this ?

    • @derp7533
      @derp7533 6 років тому +1

      There is a youtuber that alrady did it bit that could be cool if he does it too

    • @Blackthornprod
      @Blackthornprod  6 років тому +8

      That's definitely on my video making to do list :) !

    • @prathameshlondhe4522
      @prathameshlondhe4522 6 років тому +1

      Thanks Brother Could You Please Tell Me Where To Learn Maya Who Have 0 Experience

    • @Blackthornprod
      @Blackthornprod  6 років тому +2

      This is a great (but not free) place to learn Autodesk Maya, 3D animation and MORE : www.pluralsight.com/digitaltutors
      I assure you it's worth the money and will make your journey into learning Maya a hole easier and cool :) !

  • @emeralaxy850
    @emeralaxy850 5 років тому +1

    How do I make it so if my player dies it explodes with particles?

    • @JelowGames
      @JelowGames 5 років тому

      Make a:
      public GameObject deathEffect;
      And add the this line of code right before the line of code where your player dies
      Instantiate

  • @bunggo9914
    @bunggo9914 6 років тому +5

    This video is really helpful! thanks... :D

  • @MarkandSandieInMotion
    @MarkandSandieInMotion 4 роки тому

    Can I make a particle shoot up then eventually fall back to the ground? Haven’t been able to figure that out.

  • @tusharagarwal5306
    @tusharagarwal5306 3 роки тому +1

    The particle system curve is not showing up please help.

  • @AyzahGardezi
    @AyzahGardezi Місяць тому

    I rarely ever comment, but I wanted to say that your tutorial is amazing. I have been watching tutorials on different things in Unity as I just started learning it and needed to implement the particle system. Came across this video, and the ENTHUSIASM in your teaching honestly took me by surprise, the way you were constantly jumping from one thing to the other in such a fun manner (and explaining everything enough to get us started so that we can experiment and explore more ourselves) instead of teaching in the textbook style so many do.
    Suddenly, I have gotten so enthusiastic about implementing this!

  • @Kaikaku
    @Kaikaku 6 років тому +2

    Thank you, for pointing out the important stuff. Seems to me, that you can easily get lost in all those options :)

  • @MCKool24
    @MCKool24 Місяць тому

    the video doesn't show how to access particle system through code and activate / deactivate from the code. Its nice walkthrough on Particle system , but still not full

  • @nathannlatimore7863
    @nathannlatimore7863 5 років тому +4

    This video was so helpful, thank you!!!

  • @mcdominikhun
    @mcdominikhun 3 роки тому

    thx for help now i can make particles USING UNITY PARTICLE SYSTEM thx (:

  • @enriquebp6070
    @enriquebp6070 11 місяців тому

    You clicked so fast on effects, particles i just couldnt see it at all. Like... What were you thinking???

  • @eyald7480
    @eyald7480 3 роки тому +1

    I have no idea how Dani didn't comment on this video.

  • @fried_broccoli
    @fried_broccoli 5 років тому +2

    THIS is what I'm really looking for years. One question sir, I saw some particle using shader in it but for what? Can you give me some simple example on what's the use of shader on making particle effect?
    Anyway good job and thanks! Keep the great stuffs!

  • @crusenho
    @crusenho 3 роки тому

    Do you know how to add multiple sprites into particle systems instead of only one? It seems I couldn't work it out by simply add the plus button.

  • @zone8463
    @zone8463 2 роки тому

    man i need some help please : my partical system ican seet it in scene but i cant see him in playMode (WHY ?) Please man

  • @astroxxie
    @astroxxie Рік тому +1

    but how to change speed

  • @Dashthepro
    @Dashthepro Рік тому

    Good job bro you helped. 👏😄 Il like and share because of it.

  • @theemeraldfalcon9184
    @theemeraldfalcon9184 5 років тому

    This method doesn't work anymore, because unity just HAD to change it!

  • @chrisheld8463
    @chrisheld8463 3 роки тому

    Another great video! Thanks!

  • @ahmetthehamsi913
    @ahmetthehamsi913 4 роки тому

    How do i create them for example when a character dies? By the way your channel is amazing

  • @AdamHellyersLiveMusic
    @AdamHellyersLiveMusic 4 роки тому

    I'm sorry but this guys voice makes me want to find other tutorials immediately

  • @kirikanan69
    @kirikanan69 6 років тому +1

    this is the channel that i was looking for. thank you for the video, now i have motivation to continue my project. keep update bro :)

  • @santialducin3472
    @santialducin3472 4 роки тому

    Instead of min and max in emission/burós tit appear count what should I do

  • @Jesusfollower230
    @Jesusfollower230 3 роки тому

    Thank you so much. This helped me create a avatar for vrchat

  • @pranavpanchal7648
    @pranavpanchal7648 6 років тому +6

    Congratulations for 5k subs😍

    • @AlexanderZotov
      @AlexanderZotov 6 років тому +2

      Just a tiny bit left to 100k)

    • @1206Vince
      @1206Vince 6 років тому +1

      Jesus he grows fast!

  • @beginnereasy
    @beginnereasy 2 роки тому

    I'm going to say the 3D particles are so much more impressive that I'm willing to make my game in 3D just because

  • @Toebiscuit
    @Toebiscuit 4 роки тому

    I change my Shape to Edge and I get a flat line of static particles. ?

  • @morpheusbloodeaglegamesoff6506
    @morpheusbloodeaglegamesoff6506 2 роки тому

    all my particles become squares even if the sprite is transparent
    idk what to do anymore, i don't know how solve this problem, pls help

    • @brownmakey2435
      @brownmakey2435 2 роки тому +1

      Don't know if you still need the answer but go over to the "Renderer" tab within the particle system and verify that the material you are using is "Sprites-Default" instead of "Default-Line"

  • @hydricbluen8498
    @hydricbluen8498 4 роки тому

    how did you get that cool glow effect in that 2d circle shooting game?

  • @hex7shadow202
    @hex7shadow202 3 роки тому

    2:47 i want a tutorial on how u made this game pls 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏❤❤❤❤❤❤

  • @MADagain
    @MADagain 4 роки тому

    How can I use multiple sprites in the same particle system?

  • @ztin4532
    @ztin4532 3 роки тому

    please can someone help my particle effect is not showing on the game view

  • @what_im_playing6291
    @what_im_playing6291 6 років тому

    Has this changed? "I'm following it but in Textures Sheet Animation" there is no "Mode" ???

  • @phamgiaminh6496
    @phamgiaminh6496 3 роки тому

    Anyone know how to change the direction that the particle emit from?

  • @Assniffer
    @Assniffer 5 років тому +1

    I just wanna add some smoke effects and flying leaf's and wind

  • @crackskullmusic
    @crackskullmusic 4 роки тому

    I have sub. bcuz of this vid, awesome work

  • @simple5606
    @simple5606 6 років тому

    how to i get the assets like the snow and the rain cuz I don't own photu

  • @microman502
    @microman502 6 років тому +1

    Nice! I was working on a particle system and this really helped make it look great!

  • @valentintyteca5925
    @valentintyteca5925 5 років тому

    Hello hello ! i know it's been a long time but i wanted to know, how can i make the particles go away then come back to the center??? thanks ^^

  • @jorgeponce5147
    @jorgeponce5147 Рік тому

    Hello! excellent video. Thanks for your time! I have a question. How can I make particles with Sprites-Default material and texture rotate around a sprite in Unity while also ensuring particles that pass behind the sprite are displayed behind it?

  • @the_allay_4846
    @the_allay_4846 Рік тому

    My particles are not showing up in my game view

  • @blessyshony6959
    @blessyshony6959 3 роки тому

    Dani:uNiTY's PArticlE SysTEm

  • @jayevadestaxes
    @jayevadestaxes 3 роки тому

    Dani's mobile games would be proud of you

  • @i_youtube_
    @i_youtube_ 6 років тому +1

    Your amazing channel is growing. Keep up :)

  • @VisitorOfDreamlands
    @VisitorOfDreamlands 2 роки тому

    I was watching newer videos, like 2020 or 2021...They tend to overcomplicate things and usually, tutorial don't work for me... But your video worked for me right away... love you and your simplicity

  • @vasiliysmirnov3922
    @vasiliysmirnov3922 5 років тому

    Great vid. I just made a lot of "snowflakes" in my game, but I just instantiated em and changed size, rotation, alpha (etc) by code. Does particle emitter make this process more optimal OR even worse, then my minimalistic code?

  • @Walrus931
    @Walrus931 5 років тому

    How do you outline your particles with a color that is not absorbed when you change the color.

  • @marcgimeno8658
    @marcgimeno8658 6 років тому +1

    Seriously, your videos are awesome!! By the way: how do you do that tremor when the two objects collide? 0:18 thank you!!! ^^

    • @Blackthornprod
      @Blackthornprod  6 років тому +1

      Thanks :) ! The way I get the screen to shake is very easy : I simply make a shake animation for my camera and play it at the right time via script (I'll probably make a tutorial on that soon enough :) ), note that you can do this via code as well (but it's more complex and not really necessary).

    • @marcgimeno8658
      @marcgimeno8658 6 років тому

      Blackthornprod woa!! Okay!! I'll try!! 😀 And If you do the video it would be great!! 😊 Thank you for answer and your content!! 😊

  • @AlfredLau-xr2oe
    @AlfredLau-xr2oe 6 років тому

    After I instantiate many effect object for the character, is their any good method to delete those effect I dont want anymore in the game?

    • @CouchFerretmakesGames
      @CouchFerretmakesGames 6 років тому

      I usually use the Destroy function's second parameter, which is a timer. So basically I instantiate the effect and at the next line I destroy it, but with a timer. This way, I don't have to store them or anything. Otherwise, if you can decide their death based on time, you have to store them somehow or create a small script which contains their death's logic.