Spike trap: Pixel-art spike trap: the spikes peek from their slots with a puff, then shoot up in a ripple with a dust burst and tip glints, hold and slide back down.

Spike trap

Pixel-art spike trap: the spikes peek from their slots with a puff, then shoot up in a ripple with a dust burst and tip glints, hold and slide back down.

Spike trap is a pixel art effect that loops seamlessly every 1.6 seconds, drawn on a 192 by 192 canvas at 3x pixels with the Endesga 32 palette. It is built from 23 particle emitters.

Free download with a transparent background, cropped to the effect, 48 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.6, 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.6 s loop.

Spike trap at 8 moments, from 0 s to 1.4 s

HOW IT'S MADE

Spike trap is pixel art, drawn at 3x pixels and locked to the Endesga 32 palette, and built from 23 particle emitters. Techniques worth a look: collisions and post filters (outline). 4 scene layers (ground and props) show in the studio for context and stay out of every export.

It loops seamlessly every 1.6 s, and 16 of its layers fire in bursts, so it pulses instead of flowing evenly. Start times are staggered from 0 s to 0.79 s, so the layers arrive one after another. To change its colour, select "Slot Dust 1" in the studio and edit the Colour over Life gradient. Size on the same layer sets how big its particles are. Pixel size in the Pixel art panel sets how chunky it looks.

Layers, in draw order

  1. Spike 1particlesA single particle at 0.3 s. Colour: white.
  2. Spike 2particlesA single particle at 0.33 s. Colour: white.
  3. Spike 3particlesA single particle at 0.36 s. Colour: white.
  4. Spike 4particlesA single particle at 0.39 s. Colour: white.
  5. Seam 1, Seam 2, Trap Plate +4particlesA single long-lived particle that stays for the whole loop.
  6. Slot Dust 1, Slot Dust 2, Slot Dust 3 +1particles3 timed bursts of dots, 9 in all. They swell and then shrink away and slow down with drag. Colour runs from pale blue to blue over each life.
  7. Grit 1particlesOne burst of 3 pixels at 0.54 s. They fall under gravity and bounce when they hit something. Colours range between blue and pale blue.
  8. Grit 2particlesOne burst of 3 pixels at 0.57 s. They fall under gravity and bounce when they hit something. Colours range between blue and pale blue.
  9. Grit 3particlesOne burst of 3 pixels at 0.6 s. They fall under gravity and bounce when they hit something. Colours range between blue and pale blue.
  10. Grit 4particlesOne burst of 3 pixels at 0.63 s. They fall under gravity and bounce when they hit something. Colours range between blue and pale blue.

4 more layers are in the studio.

DETAILS

Length
1.6 seconds, seamless loop
Canvas
192 x 192, pixel art at 3x, Endesga 32 palette
Layers
23 emitters
Blend
Mostly normal
Colours
whitebluedeep violetpale blue
Sprites
ParticleFX Hazards by ParticleFX Studio (CC0)
Tags
trap, spikes, pixel, dungeon, hazard, loop

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.

Step by step: Unity, Godot 4, Roblox, GameMaker, Phaser and PixiJS, Aseprite, Web games (live runtime).

MORE Hazards & Environment

YOU MIGHT ALSO LIKE

All Hazards & Environment effects or the full library.