A downloadable asset pack

Afterimages for 2D in Godot 4. Fading copies of a sprite left behind as it moves: dashes, dodges, teleports, speed boosts. One node. Free, MIT licence.

$Sprite2D/Afterimage2D.emitting = true

What it does

  • Works on a Sprite2D or an AnimatedSprite2D: copies the current frame, flip, rotation, scale and offset, sprite sheets included.
  • Three looks: the sprite itself, its shading in a colour, or a flat silhouette.
  • A colour or a gradient over the life of a copy, copies that shrink as they fade, an additive glow for dark scenes.
  • No pile of copies while the sprite stands still, and copies drawn behind it so backgrounds never hide them.

Quick start

1. Copy addons/almios_afterimage into your project.

2. Add an Afterimage2D node under your sprite.

3. Turn emitting on for the length of a dash. The download has a demo: a knight dashing and a mage teleporting.

Compatibility

Godot 4.3 and newer, tested on 4.3 and 4.7. Forward+, Mobile and Compatibility renderers, desktop and web.

Want more?

This node is one piece of Trails FX: sword trails that follow the blade, ribbons behind projectiles and dashes in five looks, and slash arcs in one call.

License

MIT: use it anywhere, commercial games included, modify it, share it. Keep the licence file with the script.

More from Dimension Almios

Download

Download
almios-free-afterimage-godot-pack.zip 827 kB
Version 2 5 days ago

Leave a comment

Log in with itch.io to leave a comment.