Railgun: Capacitor charge, then an instant full-width rail shot that leaves a magenta double-helix wake and pressure rings.

Railgun

Capacitor charge, then an instant full-width rail shot that leaves a magenta double-helix wake and pressure rings.

Railgun is an HD effect that loops seamlessly every 1.3 seconds, drawn on a 640 by 256 canvas. It is built from 8 particle emitters and 3 laser beams. Most layers blend additively, so it glows on dark backgrounds.

Colour

Recolours the preview and the free downloads.

Free download with a transparent background, cropped to the effect, 39 frames at 30 fps. Use it in commercial games, no credit needed.

Licence: use it in any project, including paid commercial games such as a game sold on Steam. There is no per-project licence to buy and no credit needed. Terms.

Roblox: the download is a flipbook for a ParticleEmitter. Set FlipbookLayout to Grid8x8, FlipbookMode to OneShot and Lifetime to 1.3, then emit one particle per cycle. Roblox setup.

REMIX WITH AI

Try:

Left empty, it just opens in the agent, free. Each change is one AI build, and you start with free builds.

Engine data for Unity, Godot, GameMaker and Aseprite comes with a plan: open it in the studio.

OPEN IN THE STUDIO

Change the colours, timing or size, or export for Unity, Godot 4, GameMaker, Phaser, PixiJS and Aseprite.

Try variations: new colours, motion and shapes of this effect, free in the studio.

FRAME BY FRAME

8 evenly spaced moments across the 1.3 s loop.

Railgun at 8 moments, from 0 s to 1.14 s

HOW IT'S MADE

Railgun centres on 3 laser beams drawn as glowing strips, with 8 particle emitters around them. Techniques worth a look: magnets, paths, turbulence, particles stretched along their motion and post filters (bloom, chromatic aberration and vignette).

It loops seamlessly every 1.3 s, and 6 of its layers fire in bursts, so it pulses instead of flowing evenly. Start times are staggered from 0 s to 0.5 s, so the layers arrive one after another. To change its colour, select "Pressure Rings" in the studio and edit Colour A and Colour B. Size on the same layer sets how big its particles are. The colour swatches by the downloads recolour every layer at once.

Layers, in draw order

  1. Capacitor Chargeparticles / additiveA stream of streaks from a disc, its rate keyframed over the loop. They are swallowed by a magnet at its centre. Colours range between white and pale magenta.
  2. Charge Ringsparticles / additiveA single particle every 0.13 s. It shrinks as it ages. Colours range between pale magenta and magenta.
  3. Charge Halosprite / additiveA placed glow. Extras: keyframed motion.
  4. Charge Coresprite / additiveA placed shape. Extras: keyframed motion.
  5. Ion Wake, Beam Glow, Beam Corelaser / additiveA laser beam firing sideways.
  6. Helix Wake A, Helix Wake Bparticles / additiveOne burst of 900 soft glows along a path at 0.5 s. They wander on turbulence, shrink as they age and slow down with drag. Colour runs from white to magenta over each life.
  7. Pressure Ringsparticles / additiveA stream of rings, its rate keyframed over the loop. They grow as they age. Colours range between pale magenta and magenta.
  8. Muzzle Flashparticles / additiveA single particle at 0.5 s. Colour: white.
  9. Lens Streakparticles / additiveA single particle at 0.5 s. Colours range between white and pale magenta.
  10. Muzzle Sparksparticles / additiveOne burst of 18 streaks at 0.5 s. They slow down with drag. Colour runs from white to magenta over each life.

DETAILS

Length
1.3 seconds, seamless loop
Canvas
640 x 256, HD
Layers
8 emitters and 3 lasers
Blend
Mostly additive (glows)
Colours
whitepale magentamagentadeep violet
Sprites
Kenney Particle Pack by Kenney (CC0)
Tags
railgun, hitscan, beam, helix, sci-fi

USING IT IN YOUR GAME

Phaser, PixiJS
The PNG sheet is a plain grid of frames that both can slice. A TexturePacker JSON atlas comes with a plan, from the studio.
Unity
Import the PNG sheet as a Sprite with Mode set to Multiple and slice it, or open the effect in the studio for a ready-made grid.
Godot 4, GameMaker, Aseprite
Open it in the studio and pick your engine in Export: with a plan, it writes the files that engine imports.
Web and chat
The GIF plays anywhere; the APNG keeps soft edges on any background.
Blend mode
This effect is made of light. For the same glow in your game, draw the sprite with additive blending, or export it on black from the studio for additive shaders.

Step by step: Unity, Godot 4, Roblox, GameMaker, Phaser and PixiJS, Aseprite, Web games (live runtime). Drawn with additive blending: see glow effects without a black box.

MORE Sci-Fi Weapons

YOU MIGHT ALSO LIKE

All Sci-Fi Weapons effects or the full library.