Pistol shots — Free Pixel Art Effect & Sprite Sheet

Three aimed shots: the gun kicks up each time and settles, tracers cross the floor, and the target staggers under each hit. 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.

Pistol shots pixel effect — four frames of the 378×76 sprite animation on its ground backdrop
Four frames of Pistol shots · 378 × 76 px · 79 frames · 30 fps · one-shot
Open in Recolor & Export Editor →

Swap the ramp, mirror or rotate, reroll the seed, pick a backdrop — then download. Nothing leaves your browser.

Specifications

Frame size
378 × 76 px
Total frames
79
Frame rate
30 fps (33 ms per frame)
Duration
2.6 s, final frame included
Playback
one-shot
Sprite sheet
1512 × 1520 px transparent PNG
Sheet grid
4 × 20 cells of 378 × 76 px
Empty cells
1 (padding at the end of the grid)
Pivot (origin)
(111, 72) px from the top-left corner
Category
Moves
Performance
0.36 s wind-up · 40 ms hit stop
Default ramp
Fixed colors (this move chains effects that each carry their own ramp)

Tags:movegunpistolprojectilerangedone-shot

Using Pistol shots in Godot 4, Phaser 3 and Unity

The export packs all 79 frames of 378 × 76 px row-major into a 1512 × 1520 px transparent PNG — 4 columns by 20 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 79 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 (2.6 s): animation_finished fires at the end — free the node or return to the idle animation there.

# pixjuice-moves-pistol-shots.tres: SpriteFrames with 79 AtlasTexture frames of 378x76, 30 fps, loop false
var anim := AnimatedSprite2D.new()
anim.sprite_frames = preload("res://fx/pistol-shots/pixjuice-moves-pistol-shots.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("pistol-shots", "pixjuice-moves-pistol-shots.png", "pixjuice-moves-pistol-shots.json");
// create(): the atlas names its frames frame_0000 … frame_0078
this.anims.create({
  key: "pistol-shots",
  frames: this.anims.generateFrameNames("pistol-shots", { prefix: "frame_", start: 0, end: 78, zeroPad: 4 }),
  frameRate: 30,
  repeat: 0,
});
this.add.sprite(x, y, "pistol-shots", 0).play("pistol-shots");

Unity

Slice the sheet with Grid By Cell Size and the numbers below; keep the first 79 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: 378 x 76  (4 columns x 20 rows)
// Keep sprites frame_0000 ... frame_0078  (1 empty cells at the end are padding)
// Pivot: 0.294, 0.053  (normalized, bottom-left origin)
// Filter Mode: Point   Compression: None   Max Size: 2048   Mesh: Full Rect

License: MIT, free for commercial use

Pistol shots 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.

Read the full MIT license text

FAQ

How many frames does the Pistol shots effect have?

79 frames at 30 fps — one-shot, 2.6 s, final frame included. The packed sprite sheet is 1512 × 1520 px, laid out as 4 × 20 cells of 378 × 76 px.

How long does Pistol shots play?

2.6 s in total: 79 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 Pistol shots free for commercial use?

Yes. pixelfx is MIT-licensed, so the 378 × 76 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 Pistol shots?

The palette dial does not reach this move: it chains 3 library effects that each carry their own ramp (Pistol shot, Bullet tracer, Hit spark). Open one of them to recolor it on its own page, or export the move as it is.

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.

← Back to the effects library