Godot 3.0 - Know Your Nodes: Particles2D

Поділитися
Вставка
  • Опубліковано 5 січ 2025

КОМЕНТАРІ • 85

  • @ResistantLaw
    @ResistantLaw 4 роки тому +14

    For anyone coming across this video, there is a new menu called Direction. You can set the spread there, and also you can set direction to (0, -1, 0) instead of doing the rotation.
    And just fyi, I used the same values for the torch as in the video, but mine did not come out the same. For example, 0 spread looks awful, but that was what he used. So just play with the values and figure out yourself what looks good. Probably better for you to do that anyways.

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

    I'm so glad and happy there are videos like these in case we forget stuff

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

    I'm using 3.1 and I have to say after 2 YEARS your videos are the best when it comes to understanding why what happens works.
    You are an incredible teacher. Your Pace is great and the words you use are understandable to beginners. I can't thank you enough.

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

      Thanks!

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

      @@Kidscancode A guy above says youve used too many particles for the torch. what do you think is the downside to using a lot of particles in a game? going by their size i cant imagine them being much of a load on the cpu
      actually now that i think about it they must have their individual code running so perhaps it is heavy
      is that the case, sir?

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

    I know this is old but thank you none the less. These slower more in-depth turorials on a single subject are very helpful and I've used many of your videos to help me learn godot and I am making much better progress than if your videos were not here.

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

    Another heartfelt thankyou. I had a quick play with Particles a year or so ago and could not make head or tail of them. Now I have a much better understanding. XD

  • @Pspisripoff
    @Pspisripoff 7 років тому +14

    Youre the best! :D
    I would love to see more and more know your nodes! There are tons of nodes i have no idea how they work and godot official doc page is old and kinda confusing, but seeing nodes in action, its so great! :D

    • @Kidscancode
      @Kidscancode  7 років тому +5

      If you're using 3.0, make sure you're looking at the latest docs. Look at the bottom of the sidebar and make sure you choose "latest" the url should look like: docs.godotengine.org/en/latest/
      We've done a lot of work over the past couple of months on the API docs and they're much more complete than 2.1's were. Now that beta is out, the rest of the docs will start seeing some love too.

    • @Pspisripoff
      @Pspisripoff 7 років тому

      Cool, ill check! :)

  • @uwekleen9627
    @uwekleen9627 7 років тому +3

    As always: brillant!
    For me it's important and very time-saving to watch your videos instead of reading the basic stuff (of course it is still important reading it...)
    THX!

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

    This tutorial is awesome sir, thanks

  • @Boo-xp7sx
    @Boo-xp7sx 4 роки тому +2

    If you want to optimize your game. Don't forget to use lower particles. Like use 6-10 instead of 100. It will look almost the same but with better performance.

  • @01lifeleft
    @01lifeleft 7 років тому +103

    I'm a simple person, i see Godot 3 i press like.

    • @zyansheep
      @zyansheep 4 роки тому +2

      Can't wait untill Godot 4...

    • @armonj2296
      @armonj2296 4 роки тому +2

      I liked your comment cause I saw Godot 3

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

      @@armonj2296 I liked your reply because I saw Godot 3

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

      @Colin Smith i liked your reply cuz i saw Godot 3 ... Omg this is never gonna end.

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

    awesome thanks for all efforts!

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

    Wonderful tutorial!! Thanks

  • @MisterBrown94
    @MisterBrown94 7 років тому +1

    I liked as soon as I saw the video notification and it was well done :D

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

    Particles always scared me, thanks for the tutorial.

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

      Great tutorial, need this fire example in order to test an aspect of my game.

  • @brandondp.23
    @brandondp.23 3 роки тому

    Thanks. I now know how to use particles :)

  • @marko-lazic
    @marko-lazic 6 років тому +1

    Great series!

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

    Thanks for making this video! Great explanation, it made making my own particle effects a breeze :)

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

    For some reason, setting all processes to false didn't work for me. What I had to do in the timer timeout is set `SpeedScale = 0`. Note: I'm using C# / Godot 3.4

  • @ibrahemfb
    @ibrahemfb 7 років тому +2

    thank you. some nice effects

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

    Very nice

  • @researchandbuild1751
    @researchandbuild1751 7 років тому

    The only thing missing from particles 2D is a way to have random lifetime. Maybe I suppose that can be done with an alpha for
    now
    Oh and also particles need a "start" as well as an end (lifetime). In other words, If you want them to spawn from a point but in a circular shape, but have the center of the circle be clear of particles. You need to have a way to tell the particles to "start" only after a certain time period as well, that way you can originate from a point but still create a "clear zone" that has a shape
    Should look to Blender for the best way to do particles, it has very good options for adjusting them

    • @Kidscancode
      @Kidscancode  7 років тому +1

      For your second point, that's what the "emission shape" property is for.

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

    Thank you, great video !!

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

    Thanks! Very helpfull!

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

    Lol, I coded my own particles from scratch not knowing there was a node for that. XD

  • @rodrigovazquez420
    @rodrigovazquez420 7 років тому +1

    awesome video, as usual!

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

    Hm..I cant seem to get the steam/fluffy effect to work

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

    awesome...

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

    Damn thats dope

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

    Thank you for making great tutorial!
    I have a question, if you don't mind.
    I can't see H Frames/V Frames on my Godot 3.2 particle 2D.. how can I enable it? Is it special texture?

    • @PeterKLee
      @PeterKLee 4 роки тому +7

      nevermind, Godot team moved H Frame/V Frame option to CanvasItem>Material>CanvasItemMaterial.

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

    thank you so MUCH

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

    Thank you!

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

    This is a great tutorial.

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

    Thank you for the tutorial, is incredible

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

    Hey, I'm watching your tutorials now, and I'm impressed. Could you tell us about the pull request related to emmitting and how is it in 3.2 version? Thanks.

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

    Is there any chance that you could adjust this video for 3.1 ? I have downloaded the get hub files and cannot figure out why the animation is not working correctly on the chest and droplets. Or maybe you could just point me to a video that has a solution to this.

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

    can the particles emit lights? or can you add particles like smoke/fog to lights to distorted the reflections? do you plan to make tutorials for Godot 2x I'm interested more about the Visual Shader Editor and how it works.

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

      Particles don't emit light, but you could get creative with a particle shader. It depends on the effect you're going for. I don't plan on doing anything else for 2.1. It's still supported for existing projects, but if you're starting out it makes the most sense to start on 3.0.

  • @piael-borno6117
    @piael-borno6117 6 років тому

    Thank you for this tutorial video!
    I have a snow particle system that I've been trying to put into a platformer. In my master level scene, I've attached the particle node to a CanvasLayer node so that the snow effect sticks with the camera. However, once camera dragging starts, it does look like the frame of snow is moving along with the player (instead of the player moving THROUGH a frame of snow). My question: how best to implement a constant background of snow or rain or wind? Is there a best node to attach it to or is something done via script? Thanks!

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

    I have the collision mask set correctly but the enemy tanks DetectRadius detect enemy tanks
    -edited -
    disconnected and reconnected the signals, now it works properly
    But now both enemy tanks stops when one is a front of the player

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

      I can't really guess how you made that happen. Also, why did you post this question about the tank game on the Particles2D video?

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

      oh, my mistake, it is the autoplay was debugging that behavior and haven't noticed I'm in another video.

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

    Your channel is amazing, i know you know but i wanted to say hahaha

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

    Great Videos. Question, when I dragged the white_Puff to the Particle2D texture, the texture covered the whole screen. I selected "Stream Texture". How can I contain the texture within the Object?

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

      To enable animation, you need to add a CanvasItemMaterial, and enable the "Particles Animation" property.

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

    great tutorial!! (can you share the smoke texture?)

  • @Alborah
    @Alborah 7 років тому

    have you made a tutorial on how to make a 3d floor and a player model to walk on it?

    • @Kidscancode
      @Kidscancode  7 років тому

      I haven't done any 3D topics yet, but I'm planning to make some soon.

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

    excelent

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

    great

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

    how can I use a particle2d when player die?

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

      You can attach it to the player and set "emitting = true" when the player dies, or instance it at the player's position.

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

      @@Kidscancode Thank you!

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

    Good tutorial. Why the wheels don't move ?

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

      Do you mean on the train? Because it's a static image I just grabbed to do the demo. :)

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

      @@Kidscancode : yes , the wheels of steam locomotive . This is a way to do it simple , I don't test it: ua-cam.com/video/lMFuEc1XsOQ/v-deo.html

  • @Spacecookie-
    @Spacecookie- 7 років тому

    Thank you for this video. I really inspires me to try getting in to Godot again.
    One small question. Once I set up a particle and want to use it later how would I bring it back? I assume that I would probably have a few particles that I set up previously that I would then want to bring in to a new project, so is that how I would do it?

    • @Kidscancode
      @Kidscancode  7 років тому

      Any node or set of nodes can be saved as a scene, which you can copy to any other project. A node's resources, such as the ParticlesMaterial, can also be saved into a .tres file which is portable.

    • @Spacecookie-
      @Spacecookie- 7 років тому

      Thank you. It seems there's a lot of experimentation in front of me. :)

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

    Great video man, I get so much inspiration. Hey, how do you add light effects to this torch?

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

      Check out Light2D: docs.godotengine.org/en/latest/classes/class_light2d.html

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

    Could you provide a link to your explosion animation?

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

      I found it on opengameart.org. Can't find the link at the moment, I'm afraid.

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

    Looks beautiful, but isn't it wasting gpu/cpu resources? Should an animation of the flame be cheaper for cpu/gpu?

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

      This comment strikes me as odd. If it's giving the effect you want, how is that wasting resources? Why worry about "wasting resources" when there isn't a performance problem in the first place? You could carry this further and say that animations are a waste compared to static images.
      In short: don't worry about it - make your game and don't think about performance issues until you actually encounter one. If you do, it likely won't be the one you thought you'd have in the first place.

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

      KidsCanCode please don't take personal. Let me give you some background: I'm recently trying to learn godot but many many years ago I learned the basic of programming with div games studio and some years later tried bennugd as a fork of div. All those scripting languages did everything via software, so pure CPU usage. Also the cpu tech at the moment obviously was a lot slower and less efficient than today, so using particles with physics processing and rotating graphics was unthinkable for things not really important like a decoration flame which can be achieved with just doing some animation of 3 or 4 frames saving tons of cpu computation. Every optimization in that matter was directly reflected when running the game in some portable devices where the game could be run on, and that's the why of my comment. I'm thinking old fashioned lol

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

      Yes, those older frameworks that were cpu-rendered really limited what you could do in a single frame. The thing about using a modern game engine like Godot is that a lot of the performance issues are handled for you - that's the point. That's not to say that you can't do things that will grind your game to a halt, but in general you're pretty safe using the things that are built into the engine, such as particles, animations, etc.

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

      I was thinking that too, but i think it depends on the game design aspect, there are going to be times that particles will look out of place.

  • @thecardgamedesigner835
    @thecardgamedesigner835 7 років тому

    looks great can you maybe do a video on godot making a 2D card game with visual scripting

    • @Kidscancode
      @Kidscancode  7 років тому +1

      I don't plan on doing any games in visual script at this time. I find it harder to use than GDScript for a number of reasons, so I don't think it is useful as a learning tool.

    • @thecardgamedesigner835
      @thecardgamedesigner835 7 років тому

      oh ok

  • @himihub
    @himihub 7 років тому

    first

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

    Thank you!