Sword slash — Free Pixel Art Effect & Sprite Sheet
A tilted crescent whips round in two frames, cools from white to deep blue as it trails off, glints at the tip and throws sparks. 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
- 136 × 104 px
- Total frames
- 24
- Frame rate
- 30 fps (33 ms per frame)
- Duration
- 0.75 s, final frame included
- Playback
- one-shot
- Sprite sheet
- 680 × 520 px transparent PNG
- Sheet grid
- 5 × 5 cells of 136 × 104 px
- Empty cells
- 1 (padding at the end of the grid)
- Pivot (origin)
- (44, 92) px from the top-left corner
- Category
- Melee
- Performance
- 0.55 s wind-up · 140 ms hit stop · 0.11 s recovery
- Default ramp
- #212f6b
- #2c58aa
- #3a8bd8
- #62c8f4
- #b8c9e8
- #e8f1ff
- #ffffff
Using Sword slash in Godot 4, Phaser 3 and Unity
The export packs all 24 frames of 136 × 104 px row-major into a 680 × 520 px transparent PNG — 5 columns by 5 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 24 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 (0.75 s): animation_finished fires at the end — free the node or return to the idle animation there.
# pixjuice-melee-sword-slash.tres: SpriteFrames with 24 AtlasTexture frames of 136x104, 30 fps, loop false
var anim := AnimatedSprite2D.new()
anim.sprite_frames = preload("res://fx/sword-slash/pixjuice-melee-sword-slash.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("sword-slash", "pixjuice-melee-sword-slash.png", "pixjuice-melee-sword-slash.json");
// create(): the atlas names its frames frame_0000 … frame_0023
this.anims.create({
key: "sword-slash",
frames: this.anims.generateFrameNames("sword-slash", { prefix: "frame_", start: 0, end: 23, zeroPad: 4 }),
frameRate: 30,
repeat: 0,
});
this.add.sprite(x, y, "sword-slash", 0).play("sword-slash");
Unity
Slice the sheet with Grid By Cell Size and the numbers below; keep the first 24 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: 136 x 104 (5 columns x 5 rows)
// Keep sprites frame_0000 ... frame_0023 (1 empty cells at the end are padding)
// Pivot: 0.324, 0.115 (normalized, bottom-left origin)
// Filter Mode: Point Compression: None Max Size: 1024 Mesh: Full Rect
License: MIT, free for commercial use
Sword slash 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 Sword slash effect have?
24 frames at 30 fps — one-shot, 0.75 s, final frame included. The packed sprite sheet is 680 × 520 px, laid out as 5 × 5 cells of 136 × 104 px.
How long does Sword slash play?
0.75 s in total: 24 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 Sword slash free for commercial use?
Yes. pixelfx is MIT-licensed, so the 136 × 104 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 Sword slash?
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.
Claw swipe
128 × 96 · 28 frames · one-shot
Dagger flurry
148 × 104 · 30 frames · one-shot
Double slash
164 × 108 · 25 frames · one-shot
Hammer smash
208 × 112 · 61 frames · one-shot
Heavy cleave
208 × 116 · 58 frames · one-shot
Scythe reap
184 × 116 · 64 frames · one-shot