mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-16 13:30:07 +01:00
This updates all links to point to the 4.2 demos instead of the 3.5 ones. Co-authored-by: A Thousand Ships (she/her) <96648715+AThousandShips@users.noreply.github.com>
21 lines
661 B
Markdown
21 lines
661 B
Markdown
# 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`](https://docs.godotengine.org/en/latest/classes/class_gpuparticles2d.html) nodes
|
|
with [`ParticleProcessMaterial`](https://docs.godotengine.org/en/latest/classes/class_particleprocessmaterial.html)
|
|
materials. Note that `ParticleProcessMaterial` is agnostic between 2D and 3D,
|
|
so when used in 2D, the "Disable Z" flag should be enabled.
|
|
|
|
## Screenshots
|
|
|
|

|