Godot particles

From thedivergentai/GD-Agentic-Skills · View interactive version

Godot particles is an AI agent skill from the GitHub repository thedivergentai/GD-Agentic-Skills. Expert blueprint for GPU particle systems (explosions, magic effects, weather, trails) using GPUParticles2D/3D, ParticleProcessMaterial, gradients, sub-emitters, and custom shaders. Use when creating VFX, environmental effects, or visual feedback. Keywords GPUParticles2D, ParticleProcessMaterial, em

How to use this skill

Skill file

NEVER Do in Particle Systems

Choose Table (load only the matching script)

MANDATORY for the chosen row. Do NOT Load unused particle scripts for a single effect.

| Goal | Prefer | Script |

|------|--------|--------|

| Burst / one-shot VFX (hit, muzzle, explode) | GPUParticles* + recycle | MANDATORY particle_burst_emitter.gd + smart_oneshot_recycler.gd |

| Trails behind movers | local_coords = false | MANDATORY local_vs_global_coords.gd |

| Weather (rain/snow) heightfield | camera-snapped collision | MANDATORY screenspace_weather_heightfield.gd |

| Million-entity swarms | MultiMesh, not GPUParticles | MANDATORY massive_swarm_multimesh.gd |

| Custom GPU motion / userdata | process material shader | custom_particle_logic.gdshader, dynamic_userdata_modulation.gd |

| Impact sub-emitters | collision subparticle | sub_emitter_impact.gdshader |

| Attractors without global cost | cull_mask isolation | particle_attractor_opt.gd |

| Distant env VFX LOD | visibility_range | particle_lod_manager.gd |

| 2D physics-parented trails stutter | CPUParticles2D + fract_delta | MANDATORY 2d_physics_interpolation_fix.gd |

| Shader param orchestration | material helpers | vfx_shader_manager.gd |

GPUParticles vs CPUParticles vs MultiMesh

Available Scripts

[smart_oneshot_recycler.gd](scripts/smart_oneshot_recycler.gd)

Golden path for one-shot lifecycle: finished + restart() — never Timer-based free.

[particle_burst_emitter.gd](scripts/particle_burst_emitter.gd)

One-shot bursts wired to the recycler.

[local_vs_global_coords.gd](scripts/local_vs_global_coords.gd)

Aura vs trail coordinate space + teleport restart().

[screenspace_weather_heightfield.gd](scripts/screenspace_weather_heightfield.gd)

Global weather via camera-snapped heightfield collision.

[massive_swarm_multimesh.gd](scripts/massive_swarm_multimesh.gd)

Million-entity path with set_buffer_interpolated().

[custom_particle_logic.gdshader](scripts/custom_particle_logic.gdshader)

Procedural GPU particle motion with CUSTOM/USERDATA.

[sub_emitter_impact.gdshader](scripts/sub_emitter_impact.gdshader)

Collision-driven emit_subparticle() impacts.

[particle_attractor_opt.gd](scripts/particle_attractor_opt.gd)

Attractor cull_mask isolation.

[dynamic_userdata_modulation.gd](scripts/dynamic_userdata_modulation.gd)

Runtime USERDATA without breaking GPU batches.

[particle_lod_manager.gd](scripts/particle_lod_manager.gd)

visibility_range hierarchy for env VFX.

[2d_physics_interpolation_fix.gd](scripts/2d_physics_interpolation_fix.gd)

CPUParticles2D + fract_delta for physics-parented 2D trails.

[vfx_shader_manager.gd](scripts/vfx_shader_manager.gd)

Custom shader integration helpers for particle materials.

Expert Pointers

Deep dives (on demand)

Reference

Progressive disclosure: open Official Documentation links only when researching a specific API; load Related Skills when routing to a peer domain — do not preload the whole lattice.

Official Documentation

Related Skills

Prerequisites
Complements
Downstream / consumers
Master
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.