The Game Dev Atlas, Act I, The Pixel Art Island: an engraved map of an island whose towns are the techniques of pixel art for games.
Unrolling the map...
by Sprite Fusion

Effects · Act I

Act I, fig. 14 Two of Sprite Fusion's open source effects, a frost nova and a plasma orb. Each is one function call.

Instead of drawn sprite sheets for your effects, try building VFX via code! For pixel art it is super powerful and once you nail a workflow, it is also super cheap to produce. You can then tweak color, animation parameters, etc. We shipped an open source library of such pixel art VFX ready for you to use.

  • Explosion pixel art effect, animated

    Explosion

  • Chain lightning pixel art effect, animated

    Lightning

  • Fire pixel art effect, animated

    Fire

  • Heal pixel art effect, animated

    Heal

Make my explosion a function of size, seed and ground color, built from layers of pixel particles.
Read the whole brief
Make the [explosion] in my [side view] pixel art game a function, not a sprite sheet.
The call: explosion({ x, y, size, seed, surface }). Surface is the color of the ground it stands on.

- Build it from layers: a flash, a fireball, [26] chunks, thrown earth, dust, a ring along the ground, a scorch mark.
- Each layer is a few particles under one rule: gravity and a bounce for chunks, drag and a slow rise for smoke.
- Colors come from short ramps: fire from white down to dark red, dirt from the surface color, lighter and darker.
- Draw at the art's own resolution, on whole pixels. A fade is an ordered dither or a step down the ramp.
- Every random number comes from the seed: the same seed gives the same blast, a new seed a new one.
- Scale the counts, speeds and radii with size. Step it with the frame's time and tell me when it is done.
- Draw smoke and scorch behind my characters, flames and chunks in front of them.
- Ask my camera for a shake that grows with size.

Show me three sizes on three grounds before you wire it in.

Change what stands in [brackets] to fit your game.

  1. When you need organic VFX with subtle random variations.
  2. When something can easily be described by physics rather than sprite art.

Not forAn effect that is a drawing in its own right: a boss's death, a spell with a face in it. Drawn frames carry shapes and timing that particles under rules do not.

In 1983 William T. Reeves introduced particle systems: many particles that are generated, move and die under stochastic control, used for a wall of fire in Star Trek II.[1] The effects in the figure are Sprite Fusion's, open source, filmed as they run.[2]

  1. William T. Reeves, Particle systems: a technique for modeling a class of fuzzy objects, ACM SIGGRAPH History Archives, 1983
  2. Pixel art VFX, Sprite Fusion

Connect your AI agent to the VFX library through the Sprite Fusion MCP: it gets each effect's recipe and code, and builds it into your game.

Connect your AI agent