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 - วิทยาศาสตร์และเทคโนโลยี
Thank you so much!!!
volume seems really low.
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!
Nice video! Would you know how to find "particle direction" on 4.2?
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.
@@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!
Hi @TundraFeedandSupplyCo , I want to change the shape of each point from square to circle, what would I do? Thanks!
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!
@@TundraFeedandSupplyCo Thanks a lot !