16 animated 2D effects for Godot 4, one line of code each. Every effect is a single shader on a single node: no sprite sheets, no particle setup, sharp at any size. Godot 4.3 to 4.7, every renderer.

Try it first: click Run asset pack above to cast all 16 in your browser: pick one from the list, then click where it goes.

VFX2D.spawn(self, "explosion", enemy.global_position)
VFX2D.spawn_between(self, "lightning",
    $Wand.global_position, target.global_position)
var shield := VFX2D.spawn(player, "shield",
    player.global_position, {color_mid = Color.GOLD})
shield.stop()

What's inside

9 one-shots that play once and clean up after themselves: explosion, smoke, shockwave, spark, slash, sparkle, muzzle flash, dust, teleport

7 loops that play until you stop them: lightning, beam, fire, portal, magic circle, shield, orb

  • Three colours per effect: turn the orange explosion into a green acid blast or a blue plasma burst.
  • Every play is a little different: each spawn gets its own random seed.
  • Pixel-art mode: set pixel_size on one effect, or VFX2D.default_pixel_size once for the whole game, and the effects draw in crisp pixels with dithered edges.
  • Lightning, beams and muzzle flashes stretch between two points: spawn_between.
  • Size, duration, speed, intensity and colour steps can all be set, in code or in the inspector.
  • Drop a VFX2D node in a scene and it previews itself in the editor.
  • Demo project: pick an effect, click to cast it.

Compatibility

  • Godot 4.3 to 4.7, tested on both ends.
  • Forward+, Mobile and Compatibility renderers: desktop, mobile and web.
  • GDScript only: no C#, no GDExtension.

Install

Copy addons/vfx_2d/ into your project. Open demo/demo.tscn to try every effect.

Want to try it first? VFX 2D Free has the explosion, smoke, spark and fire.

License

Use in unlimited commercial and non-commercial games. No attribution required. Don't resell or redistribute the effects themselves as an asset.

Made with AI assistance (code, text), tested in Godot 4.3 and 4.7 on every renderer.

Until October 11: Sprite FX, VFX 2D, Weather FX, Scene Transitions, Retro Screen FX and Pixel UI together for $14.99 in the Godot 4 bundle.

More packs

Purchase

Get this asset pack and 7 more for $19.99 USD
View bundle
Buy Now
On Sale!
40% Off
$5.99 $3.59 USD or more

In order to download this asset pack you must purchase it at or above the minimum price of $3.59 USD. You will get access to the following files:

vfx-2d-assets.zip 24 kB
Version 1.0.0

Leave a comment

Log in with itch.io to leave a comment.