Dirt explosion — Free Pixel Art Effect & Sprite Sheet
A buried charge goes off: a flash under the floor, a V of dirt clods and grit thrown high, a brown dust plume that billows and settles, and a crater left behind. Free for commercial games (MIT): recolor it, scrub every frame and export a sprite sheet, GIF, APNG or engine-ready files right here in the browser.
Swap the ramp, mirror or rotate, reroll the seed, pick a backdrop — then download. Nothing leaves your browser.
Quick looks in the editor
Specifications
- Frame size
- 260 × 240 px
- Total frames
- 109
- Frame rate
- 30 fps (33 ms per frame)
- Duration
- 3.6 s, final frame included
- Playback
- one-shot
- Sprite sheet
- 2860 × 2400 px transparent PNG
- Sheet grid
- 11 × 10 cells of 260 × 240 px
- Empty cells
- 1 (padding at the end of the grid)
- Pivot (origin)
- (130, 206) px from the top-left corner
- Category
- Explosions
- Default ramp
- #1c1610
- #33281c
- #4f3f2c
- #6e5a40
- #927a58
- #b89f78
- #dcc8a2
Using Dirt explosion in Godot 4, Phaser 3 and Unity
The export packs all 109 frames of 260 × 240 px row-major into a 2860 × 2400 px transparent PNG — 11 columns by 10 rows. Every engine below reads that same grid, and the Aseprite-style JSON that ships with the sheet lists each frame's rectangle and the pivot, so you never have to re-slice by hand.
Godot 4
The editor's Godot ZIP pairs the PNG with a SpriteFrames .tres holding 109 AtlasTexture regions at 30 fps with loop off. Keep both files in one folder, assign the .tres to an AnimatedSprite2D and import the texture with Filter set to Nearest.
It plays once (3.6 s): animation_finished fires at the end — free the node or return to the idle animation there.
# pixjuice-explosions-dirt-explosion.tres: SpriteFrames with 109 AtlasTexture frames of 260x240, 30 fps, loop false
var anim := AnimatedSprite2D.new()
anim.sprite_frames = preload("res://fx/dirt-explosion/pixjuice-explosions-dirt-explosion.tres")
anim.texture_filter = CanvasItem.TEXTURE_FILTER_NEAREST
add_child(anim)
anim.play("default")
await anim.animation_finished
Phaser 3
The Phaser ZIP carries a JSON Array atlas next to the PNG. Load them together, then build the animation from the frame names in order:
// preload(): keep both files together
this.load.atlas("dirt-explosion", "pixjuice-explosions-dirt-explosion.png", "pixjuice-explosions-dirt-explosion.json");
// create(): the atlas names its frames frame_0000 … frame_0108
this.anims.create({
key: "dirt-explosion",
frames: this.anims.generateFrameNames("dirt-explosion", { prefix: "frame_", start: 0, end: 108, zeroPad: 4 }),
frameRate: 30,
repeat: 0,
});
this.add.sprite(x, y, "dirt-explosion", 0).play("dirt-explosion");
Unity
Slice the sheet with Grid By Cell Size and the numbers below; keep the first 109 sprites and give each the same pivot. The editor's Unity ZIP includes them as slice-spec.json for the 2D Sprite package.
// Sprite Editor > Grid By Cell Size: 260 x 240 (11 columns x 10 rows)
// Keep sprites frame_0000 ... frame_0108 (1 empty cells at the end are padding)
// Pivot: 0.500, 0.142 (normalized, bottom-left origin)
// Filter Mode: Point Compression: None Max Size: 4096 Mesh: Full Rect
License: MIT, free for commercial use
Dirt explosion is rendered by the open-source pixelfx library — MIT License, Copyright © 2026 Patch and Hugo Duprez, with parts adapted from Sprite Fusion's VFX and Hollow Crown. Use the sheets in commercial games, edit them and ship them; keep the MIT notice with any source you redistribute. No account, no upload, no attribution screen.
FAQ
How many frames does the Dirt explosion effect have?
109 frames at 30 fps — one-shot, 3.6 s, final frame included. The packed sprite sheet is 2860 × 2400 px, laid out as 11 × 10 cells of 260 × 240 px.
How long does Dirt explosion play?
3.6 s in total: 109 frames at 30 fps, final frame included. Trigger it on the event (a hit, a pickup, a button press) and let the last frame hold or fade as the design calls for.
Is Dirt explosion free for commercial use?
Yes. pixelfx is MIT-licensed, so the 260 × 240 px sheet you export can ship in a commercial game with no fee and no attribution screen. Keep the MIT notice if you also redistribute the effect's source code.
Can I change the colors of Dirt explosion?
Yes. The editor swaps the 7-stop default ramp for any of 27 preset ramps, a Lospec palette or your own hex stops, resampling it to the same number of steps so the shading survives. Save the palettes you like, then apply one to a whole batch of effects at once.
What does the export panel produce?
A transparent PNG sheet with an Aseprite-style JSON sidecar (frame rectangles, durations, pivot), a GIF, a lossless APNG, a Godot 4 .tres, a Phaser 3 atlas, a Unity slice spec, the effect's JavaScript source and a matching sound effect — all rendered in the browser from the same frames shown on this page.
Barrel explosion
300 × 240 · 157 frames · one-shot
Big explosion
360 × 300 · 217 frames · one-shot
Cartoon POW
184 × 144 · 33 frames · one-shot
Firework burst
240 × 248 · 109 frames · one-shot
Firework rocket
300 × 300 · 115 frames · one-shot
Grenade
300 × 200 · 127 frames · one-shot