Description
Changelog
Reviews (0)
Saltmire Trail adds fading afterimage "ghosts" behind any sprite in a single call — the classic motion-trail effect that sells speed and weight for dashes, dodges, projectiles and fast enemies.
Trail.attach(player) # continuous trail while it moves
Trail.dash(player, 8) # a quick burst behind a dash / dodge
Trail.detach(player) # stop — existing ghosts fade out
Trail.clear() # kill every live ghost now
Works with Sprite2D, AnimatedSprite2D and TextureRect — it copies the current frame, flip, rotation and scale automatically.
Features
- Drop-in autoload — enable the plugin and the
Trailsingleton is ready. - Tune globally via
Trail.cfgor per call: color, interval, lifetime, min distance, shrink. - Pooled, self-cleaning ghosts — no leaks; freed sprites drop out of tracking.
- No dependencies, one small file, MIT.
Part of the Saltmire game-feel family (Juice · Transitions · FX · Trail). Playable demo and full source: https://saltmire.itch.io/saltmire-trail
Built with AI assistance, reviewed and tested by hand in Godot 4.6. No AI art or audio.
Changelog for version 1.0.0
No changelog provided for this version.