ShatteredReality b4c73f4888 Fix README links to asset library (#1078) 6 月之前
..
screenshots 1d5184e235 Update most demos for Godot 4.0.beta10 (#782) 2 年之前
README.md b4c73f4888 Fix README links to asset library (#1078) 6 月之前
fire_particle.png fcc7d5c723 Optimize PNG images using oxipng 4 年之前
fire_particle.png.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 10 月之前
flipbook.png 768346a092 Add a flipbook animation example to the 2D particles demo 4 年之前
flipbook.png.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 10 月之前
icon.webp 63d1cd9a60 Use 128×128 WebP icons for all demos (#885) 1 年之前
icon.webp.import 63d1cd9a60 Use 128×128 WebP icons for all demos (#885) 1 年之前
mask.png fcc7d5c723 Optimize PNG images using oxipng 4 年之前
mask.png.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 10 月之前
particles.tscn bac1e69164 Use static typing in all demos (#1063) 6 月之前
pause.gd bac1e69164 Use static typing in all demos (#1063) 6 月之前
point_normal_texture_image_outline.tres bbe50fc9da Convert demos to Godot 4 using regular expressions in a script 2 年之前
point_texture_emit.tres bbe50fc9da Convert demos to Godot 4 using regular expressions in a script 2 年之前
point_texture_image_outline.tres bbe50fc9da Convert demos to Godot 4 using regular expressions in a script 2 年之前
project.godot bac1e69164 Use static typing in all demos (#1063) 6 月之前
smoke_particle.png fcc7d5c723 Optimize PNG images using oxipng 4 年之前
smoke_particle.png.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 10 月之前
spark_particle2.png fcc7d5c723 Optimize PNG images using oxipng 4 年之前
spark_particle2.png.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 10 月之前

README.md

2D Particles

This demo showcases how 2D particle systems work in Godot.

Language: GDScript

Renderer: Mobile

Check out this demo on the asset library: https://godotengine.org/asset-library/asset/2724

How does it work?

It uses GPUParticles2D nodes with ParticleProcessMaterial materials. Note that ParticleProcessMaterial is agnostic between 2D and 3D, so when used in 2D, the "Disable Z" flag should be enabled.

Screenshots

Screenshot of particles