Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

godot-particles

БесплатноЗапускает вложенные скриптыНе проверен

Expert blueprint for GPU particle systems (explosions, magic effects, weather, trails) using GPUParticles2D/3D, ParticleProcessMaterial, gradients…

thedivergentaiот thedivergentai★ 1 019 звёзд на GitHub

Об этом скилле

NEVER Do in Particle Systems

  • NEVER use amount_ratio to optimize performance dynamically — It does not save GPU memory or improve processing; the full amount is still allocated. Change the amount property directly instead.
  • NEVER use CPUParticles2D for performance-critical effects on Desktop — Use GPUParticles unless targeting low-end mobile with no GPU support. However, use CPUParticles2D if you need Physics Interpolation for smooth trails on moving bodies in 2D.
  • NEVER set preprocess to extremely high values — High values (e.g., 60s) will force the GPU to simulate thousands of frames in a single render tick, potentially causing an immediate GPU crash.
  • NEVER leave visibility_aabb unconfigured for large systems — Incorrect AABBs cause frustum culling errors (particles popping out) and break LOD calculations. Generate AABBs using the editor toolbar.
  • NEVER enable turbulence on Mobile/Web without testing — 3D noise evaluation per particle is extremely heavy. Disable via Feature Tags on lower-end platforms.
  • NEVER use a Timer to lifetime-cleanup one-shots — Prefer smart_oneshot_recycler.gd: finished + restart(), or queue_free() only on truly disposable instances.
  • NEVER use local_coords = true for trails — Smoke or fire left behind by a projectile MUST use global space (local_coords = false) or the trail will follow the projectile like a stiff stick.
  • NEVER expect GPUParticles2D to interpolate correctly in Godot 4.3 — They stutter when parented to physics bodies. Use CPUParticles2D with fract_delta = true for high-speed 2D movement.
  • NEVER trigger emitting = true immediately after a finished signal — Async GPU state delays can cause the restart to fail. Use the restart() method instead.
  • NEVER attempt recursion with sub-emitters — A particle system cannot be its own sub-emitter; it will silently fail.
  • NEVER forget alpha in color gradients — Particles that disappear instantly at the end of their lifetime look harsh; always add a gradient point at 1.0 with 0.0 alpha for a smooth exit.
  • NEVER use EMISSION_SHAPE_POINT for volumentric explosions — Spawning all particles at a single point looks flat. Use a Sphere or Box shape for natural 3D spread.
  • NEVER forget to set emitting = false initially for one-shot VFX — This prevents unwanted emission at the scene origin before you've had a chance to position the node via script.

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

  • GPUParticles* — default for desktop/console VFX amount budgets.
  • CPUParticles2D — only when 2D physics interpolation / smooth parenting is required (see NEVER).
  • MultiMesh — when entity count leaves the particle domain (fish/insects/debris fields).

Available Scripts

smart_oneshot_recycler.gd

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

particle_burst_emitter.gd

One-shot bursts wired to the recycler.

local_vs_global_coords.gd

Aura vs trail coordinate space + teleport restart().

screenspace_weather_heightfield.gd

Global weather via camera-s

Полный SKILL.md на GitHub

Установить godot-particles в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/expert-vfx-patterns.mdreferences/migration-notes.mdscripts/2d_physics_interpolation_fix.gdscripts/custom_particle_logic.gdshaderscripts/dynamic_userdata_modulation.gdscripts/local_vs_global_coords.gdscripts/massive_swarm_multimesh.gdscripts/particle_attractor_opt.gdscripts/particle_burst_emitter.gdscripts/particle_lod_manager.gdscripts/screenspace_weather_heightfield.gdscripts/smart_oneshot_recycler.gdscripts/sub_emitter_impact.gdshaderscripts/vfx_pool_manager.gdscripts/vfx_shader_manager.gd

FAQ

Что делает скилл godot-particles?

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, emission_shape, color_ramp, sub_emitter, one_shot.

Как установить скилл godot-particles?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл godot-particles запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить godot-particles с