mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-05 07:20:07 +01:00
This leads to code that is easier to understand and runs faster thanks to GDScript's typed instructions. The untyped declaration warning is now enabled on all projects where type hints were added. All projects currently run without any untyped declration warnings. Dodge the Creeps and Squash the Creeps demos intentionally don't use type hints to match the documentation, where type hints haven't been adopted yet (given its beginner focus).
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/118
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.
