Update most demos for Godot 4.0.beta10 (#782)

This commit is contained in:
Hugo Locurcio
2023-01-05 16:50:17 +01:00
committed by GitHub
parent 85ca2fb2a1
commit 1d5184e235
758 changed files with 24258 additions and 9624 deletions

View File

@@ -4,17 +4,17 @@ This demo showcases how 2D particle systems work in Godot.
Language: GDScript
Renderer: GLES 3 (particles are not available in GLES 2)
Renderer: Forward Mobile
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/118
## How does it work?
It uses [`Particles2D`](https://docs.godotengine.org/en/latest/classes/class_particles2d.html) nodes
with [`ParticlesMaterial`](https://docs.godotengine.org/en/latest/classes/class_particlesmaterial.html)
materials. Note that `ParticlesMaterial` is agnostic between 2D and 3D,
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
![Screenshot of particles](screenshots/particles.png)
![Screenshot of particles](screenshots/particles.webp)