SpritePilot Blog
Practical articles on sprite sheets, pixel art animation and getting 2D art into a game engine, with code samples and examples made in SpritePilot. Subscribe with the RSS feed.
Most posts here start from a problem you hit while making a 2D game: frames that slide, a sheet that came with no notes on its frame size, thin lines between tiles, a character that jumps when it turns around. Each one explains why it happens, shows a fix you can test, and names the engine settings involved. Where a SpritePilot tool does part of the job, the post links to it.
They are written for people making their own games: solo developers, game jam teams, students, and artists who would rather draw than fight an import dialog. The basics need no particular engine, and the engine posts give the exact steps for the one you use.
Where to start
The reading paths below group the articles by the job in front of you, in the order we would read them. The full list, newest first, comes after them.
New to sprite sheets
Handed a sheet and not sure how it is laid out? Start here. These posts cover the numbers every engine asks for, the difference between a plain grid and a packed atlas, and how big one image can safely get before it causes trouble.
- How to Find the Frame Size of a Sprite Sheet
Count, divide, check: the first thing to work out for any sheet. - Sprite Sheet vs. Texture Atlas: What's the Difference?
Read this before you pick an export format, because the two need different loading code. - Find Swapped and Empty Frames in a Sprite Sheet Before You Import It
A test sheet with planted faults, and how to catch each one before import. - Trimming Transparent Pixels From Sprites: Smaller Sheets Without Jitter
Trimmed frames can wobble in place; these are the offsets that keep them still. - How Big Can a Sprite Sheet Be? Texture Size Limits, Memory and Power of Two
Texture limits and memory, for when one sheet keeps growing. - PNG, WebP or JPG for Game Sprites? File Size, Quality and Memory Compared
Measured file sizes, and why JPG is a poor home for pixel art.
Getting a sheet into your engine
Pick your engine and read its post first. Each one goes from a finished sheet to an animation that plays in that engine. Then read the pivot post: a pivot in the wrong place is what makes a character jump sideways when it flips or changes frames.
- Godot 4 Sprite Animation: AnimatedSprite2D or AnimationPlayer?
Godot 4: when to use AnimatedSprite2D or AnimationPlayer, and a SpriteFrames file you can drop straight in. - Unity 2D Sprite Sheet Animation: From Sheet to Animated Character
Unity 6: import settings, slicing in the Sprite Editor, clips, the Animator and a script, in that order. - Phaser: Loading Sprite Sheets and Texture Atlases (and Animating Them)
Phaser 3 and 4: frame numbers for a grid sheet, frame names for an atlas. - Import a Sprite Strip Into GameMaker and Play It
GameMaker: the strip naming convention, then the origin and collision checks. - RPG Maker MZ and MV Character Sheets: Layout and Filenames
RPG Maker MZ and MV: the three column character layout, and what the $ and ! in a filename each change. - Sprite Pivot Points Explained: Center, Feet and Flipping
Where the pivot goes in every engine above, and why it matters the moment a sprite flips.
Animating without an engine
Sometimes a sprite only needs to move on a web page or in a small Python game. These three posts do it with no engine at all, and each keeps the animation at a steady speed however fast the screen redraws.
- Animate a Sprite Sheet With CSS steps() Without Sliding or Skipped Frames
CSS steps(): the end value that stops frames sliding, and sheets with more than one row. - Sprite Sheet Animation in JavaScript With Canvas (No Engine)
A canvas in plain JavaScript: time picks the frame, pixels stay crisp, frames can come from an atlas file. - Sprite Sheet Animation in Pygame, Step by Step
Pygame: an Animation class that keeps time, and sprite groups to draw everything.
Making animation feel right
These posts are about the motion itself, not the file it ends up in. Read the frame rate post first: most pixel art plays at a fraction of the game's frame rate, which changes how many frames are worth drawing at all. The rest work in any order.
- How Fast Should Pixel Art Animate? Choosing a Frame Rate
Frame count, rate and duration, and when to hold one frame longer instead. - How Many Frames Does a Walk Cycle Need? 4, 6 and 8 Compared
Four, six or eight frames for a walk, and how to stop the feet sliding at your character's speed. - Make Sprite Animations Loop Without a Hitch
Find the hitch where a loop restarts: a doubled frame, ping-pong ends, easing in the wrong place. - Squash and Stretch for Sprite Animation (with a Bouncing Ball)
A bouncing ball drawn frame by frame, with the sums that keep its area the same. - Onion Skinning: Animate Pixel Art Without Guesswork
Key poses first, then the ghost of the last frame to check arcs and spacing.
Keeping pixel art crisp
Blurry sprites and seams between tiles usually have the same cause: something between your file and the screen is smoothing pixels it should leave alone. Settle the palette while you draw, then check scaling and tile edges before the art goes into the game.
- Limited Color Palettes for Pixel Art: Why They Help and How to Pick One
Small palettes, hue shifted ramps and a grayscale check, with DB32 as a place to start. - How to Scale Pixel Art Without Blurring It
Nearest neighbor and whole number scales, in CSS, on a canvas and in engines. - Why Lines Appear Between Your Tiles (and How to Get Rid of Them)
Four fixes for thin lines between tiles, from filtering to padding and extrusion.
Converting and cleaning up art
Art doesn't always arrive as a tidy sheet. It might be a GIF, a screen recording, or an old sheet on a magenta background with a checkerboard drawn into it. These posts show what each conversion keeps and what it loses.
- GIF to Sprite Sheet: Keep Uneven Frame Timing
Keep a GIF's uneven delays instead of flattening them to one frame rate. - MP4 to Sprite Sheet: Keep Fast Motion in the Sampled Frames
Choose a sampling rate that doesn't miss a quick hit in a video. - GIF or Video to Sprite Sheet Without a Huge File
The arithmetic behind enormous sheets, and the settings that bring them down. - Removing a Solid Background From Sprites Without a Halo
Where colored fringes come from, what tolerance and soft edges can and can't do, and what to try when a checkerboard is drawn into the sheet.
Free assets and how to use them
SpritePilot gives away sprites, sounds, a font and backgrounds under CC0, so you can put them in any game, commercial ones included, without credit. The packs themselves are on the Free Game Assets page; the posts here look at how some of those assets were drawn and how to use them in a level.
- How to Animate Pixel Art Pickups: a Spinning Coin, a Gem and a Beating Heart
How a spinning coin, a glinting gem and a beating heart were animated, frame by frame.
Every article, newest first
- Does Godot's AnimatedSprite2D Keep Uneven Frame Times? We Logged Every Tick · November 17, 2026
A 600 ms hold played for 500 ms at 60 FPS in Godot 4.7.2. We logged every tick at five frame rates, found the cause, and compared AnimationPlayer. - Do Padding and Extrude Stop Edge Bleeding in Godot 4? We Measured It · November 17, 2026
We rendered six SpritePilot exports in Godot 4.7 under Nearest, Linear and mipmaps, then counted every wrong pixel. Padding alone failed; extrude and Filter Clip worked. - What Does VRAM Compression Do to Pixel Art in Godot 4? Colors and Memory Measured · November 17, 2026
One 56 color sprite sheet, six Godot 4.7 import modes. We counted the colors, changed pixels, file sizes and texture memory each one produced. - RPG Maker MZ and MV Character Sheets: Layout and Filenames · November 17, 2026
The three-column, four-row character block, the sizes it gives, what the $ and ! filename prefixes each do, and how to repack loose frames into the layout. - Import a Sprite Strip Into GameMaker and Play It · November 14, 2026
Export an equal-cell PNG strip from SpritePilot, name it with GameMaker's _stripN convention, then set the frame speed, origin and collision mask. - GIF to Sprite Sheet: Keep Uneven Frame Timing · November 11, 2026
A GIF with delays of 100, 100, 500 and 100 ms, followed into the JSON, Aseprite JSON and Godot SpriteFrames, with a small function that plays the durations. - MP4 to Sprite Sheet: Keep Fast Motion in the Sampled Frames · November 8, 2026
A numbered test video shows why 6 FPS sampling misses a 33 ms impact, what 12 and 24 FPS catch, and why replaying the sheet faster can't bring a lost frame back. - Find Swapped and Empty Frames in a Sprite Sheet Before You Import It · October 30, 2026
A test sheet with three planted faults, how to spot each one by stepping through the frames, and why a grid with no leftover pixels can still be wrong. - How to Animate Pixel Art Pickups: a Spinning Coin, a Gem and a Beating Heart · October 14, 2026
How three 32 × 32 pickups were animated to read at a glance and match each other, frame by frame, with the strips free to download under CC0. - GIF or Video to Sprite Sheet Without a Huge File · October 14, 2026
Three seconds of 1080p video can need 746 MB as one sprite sheet. The math behind sheet size, the settings that shrink it, and measured results. - Onion Skinning: Animate Pixel Art Without Guesswork · October 14, 2026
What onion skinning shows, a key-poses-first workflow for pixel animation, how to check arcs and spacing against the ghost, and the mistakes it can cause. - Limited Color Palettes for Pixel Art: Why They Help and How to Pick One · October 14, 2026
Why a small palette makes pixel art read better, how to build hue-shifted color ramps, check them in grayscale, and start from palettes like DB32. - PNG, WebP or JPG for Game Sprites? File Size, Quality and Memory Compared · October 14, 2026
Which format to save sprite sheets in, with measured file sizes for PNG, lossless and lossy WebP and JPG, what JPG does to pixel art, and engine support. - Removing a Solid Background From Sprites Without a Halo · October 14, 2026
Why removing a magenta or white background leaves a colored fringe, what tolerance can't fix, how soft edges remove it, and when a baked-in checkerboard can be cleared. - How to Scale Pixel Art Without Blurring It · October 14, 2026
Why scaled pixel art turns blurry or lumpy, and how to keep it crisp with nearest-neighbor, whole-number scales, CSS, canvas and engine settings. - Make Sprite Animations Loop Without a Hitch · October 14, 2026
Why looping sprite animations stutter at the seam, from duplicated frames to ping-pong that repeats its ends and easing in the wrong place, and how to fix each. - Sprite Pivot Points Explained: Center, Feet and Flipping · October 14, 2026
Where a sprite's pivot belongs, why characters jump when they flip or change frames, and how to set it in Unity, Godot, Phaser and SpritePilot. - How Big Can a Sprite Sheet Be? Texture Size Limits, Memory and Power of Two · October 14, 2026
Maximum texture sizes on real devices, how much memory a sprite sheet takes, when to split it, and when power-of-two sizes still matter in WebGL, Unity and Godot. - Sprite Sheet vs. Texture Atlas: What's the Difference? · October 14, 2026
Both put many sprites in one image. How a grid sheet differs from a packed atlas, what the atlas data file holds, and when each is the better choice. - Squash and Stretch for Sprite Animation (with a Bouncing Ball) · October 14, 2026
Why squash and stretch make sprites feel heavy and fast, how to keep the volume right with simple arithmetic, and when to use it, frame by frame. - Trimming Transparent Pixels From Sprites: Smaller Sheets Without Jitter · October 14, 2026
Trimming cuts the empty border off every frame. How much it saves, the three numbers an atlas keeps so frames stay put, and which engines use them. - How Many Frames Does a Walk Cycle Need? 4, 6 and 8 Compared · October 14, 2026
What 4-, 6- and 8-frame walk cycles keep and lose, how sprite size changes the choice, and how to match a walk to movement speed so feet don't slide. - Sprite Sheet Animation in JavaScript With Canvas (No Engine) · October 13, 2026
Play a sprite sheet on a canvas in plain JavaScript, with time-based frames, the 9-argument drawImage, crisp pixel art, sharp high-DPI output and a JSON atlas. - Animate a Sprite Sheet With CSS steps() Without Sliding or Skipped Frames · October 12, 2026
Play a sprite sheet with background-position and steps(), get the end value right, stop on the last frame, handle multi-row sheets and scale pixel art crisply. - Sprite Sheet Animation in Pygame, Step by Step · October 11, 2026
Load a sprite sheet in pygame, cut it into frames, animate at the same speed at any frame rate, flip and scale pixel art crisply, and draw with sprite groups. - Phaser: Loading Sprite Sheets and Texture Atlases (and Animating Them) · October 10, 2026
load.spritesheet, load.atlas or load.aseprite? How each one names its frames in Phaser 3 and 4, how to build animations from them, and when to use which. - Unity 2D Sprite Sheet Animation: From Sheet to Animated Character · October 9, 2026
Import, slice and animate a sprite sheet in Unity 6, with crisp import settings, Sprite Editor slicing, clips, Animator transitions and a C# script. - Godot 4 Sprite Animation: AnimatedSprite2D or AnimationPlayer? · October 8, 2026
When to animate a sprite sheet with AnimatedSprite2D or AnimationPlayer in Godot 4, how to set up each, and the GDScript to play, switch and flip. - How Fast Should Pixel Art Animate? Choosing a Frame Rate · October 7, 2026
Pixel art usually animates far slower than the game runs. How to pick a frame rate, when to hold frames instead, and why some rates look uneven. - How to Find the Frame Size of a Sprite Sheet · October 6, 2026
A sprite sheet with no notes? Work out its frame size, margin and spacing in a minute, check them, and enter them in Unity, Godot or Phaser. - Why Lines Appear Between Your Tiles (and How to Get Rid of Them) · October 5, 2026
Thin lines between tiles come from texture filtering at tile edges. Here's why they appear and how to fix them in Unity, Godot and Phaser.