← Pixel Dreamer Studio
2D Particle Attractors for Godot 4 - Coins to HUD, Magnets, Black Holes, Shockwaves

2D Particle Attractors for Godot 4 - Coins to HUD, Magnets, Black Holes, Shockwaves

Attractors for GPUParticles2D: coins that fly into your HUD counter, XP that homes in, magnets, vortexes, shockwaves. 12 presets.

Godot Tools$15.99
Buy $15.99 on Gumroad Ko-fi Try the web demo No account needed · card

Payment and download are handled by the store.

As of Godot 4.8, particle attractors are 3D only - GPUParticles2D has none. This kit adds them.

Select your GPUParticles2D, press "Make attractable" in the inspector, add a PDAttractor2D node and pick a mode. Your existing particle settings are copied over (Ctrl+Z to undo).

6 ATTRACTOR MODES

Works across CanvasLayers and cameras: put the attractor on a HUD icon and world particles fly to it, whatever your Camera2D position or zoom. Particles with local coords on or off, rotated or scaled nodes - all converted for you.

12 READY-MADE PRESETS

Coin Burst (spinning coins to your counter) - XP Orbs - Gem Magnet - Soul Drain - Black Hole - Vortex Swirl - Shockwave Push - Wind Gust - Repel Shield - Fireflies Follow - Healing Gather - Mana Absorb

Fast: the attractor math runs on the GPU inside the particle shader. On an old GeForce GT 630 (Compatibility renderer), 40,000 particles with 4 attractors stayed at 60 fps.

Included

GPUParticles2D only (not CPUParticles2D). Max 8 attractors per particle system at once (the nearest). No audio included.
Every script was written for this kit - safe to use in a game you sell.
Tested in Godot 4.7 (Compatibility renderer). Built with no Forward+-only features.
No AI-generated images. Code written with AI assistance.
License: use in personal and commercial projects. Do not resell or redistribute the files.

Get an email when a new pack comes out:

Get new packs by email Follow on itch.io

← All packs