How To Make 2D Firework Particles - Godot 4

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 พ.ค. 2024
  • In this tutorial, we create simple 2D firework particles in Godot 4.
    These are the same firework particles that I made for player high scores in my game, Moonwalk: Resurgence tundrafeedandsupplyco.itch.io...
    #gamedev #godot #godot4 #gdscript
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Thank you so much!!!

  • @alexxander7289
    @alexxander7289 หลายเดือนก่อน +1

    volume seems really low.

    • @TundraFeedandSupplyCo
      @TundraFeedandSupplyCo  28 วันที่ผ่านมา

      Sorry about that! I over corrected when setting up a new mic. I'll make sure to fix it going forward. Thank you for the feedback and for watching!

  • @joserobertodantas1516
    @joserobertodantas1516 25 วันที่ผ่านมา +1

    Nice video! Would you know how to find "particle direction" on 4.2?

    • @TundraFeedandSupplyCo
      @TundraFeedandSupplyCo  23 วันที่ผ่านมา +1

      If you click on the FireworksParticle node, there should be a set of Direction properties under CPUParticle2D in the Inspector tab. You may also need to reduce/remove the gravity and set an initial velocity in order to see the direction changes.

    • @joserobertodantas1516
      @joserobertodantas1516 22 วันที่ผ่านมา

      @@TundraFeedandSupplyCo Oh, nice! I was using GPUParticles2D, but I guess it lost the Direction properties, but they can still be found on CPUParticles2D as you said. Then I was finally able to replicate the effect I had before. Thank you!

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

    Hi @TundraFeedandSupplyCo , I want to change the shape of each point from square to circle, what would I do? Thanks!

    • @TundraFeedandSupplyCo
      @TundraFeedandSupplyCo  28 วันที่ผ่านมา +1

      Hi @pukagol, one way you can do this is, on the CPUParticles2D node, in the Inspector, under Drawing, there should be a Texture property. There are a lot of different options if you click the dropdown, though one simple way you can draw a circle for the particles is to drag and drop a sprite of a circle onto the Texture property dropdown. Depending on the color of the sprite, the hue and color variations might look different to the particles created in the video, though you should still get a range of colors. Let me know if that doesn't work!

    • @pukagol
      @pukagol 28 วันที่ผ่านมา

      @@TundraFeedandSupplyCo Thanks a lot !