A game sprite sheet packs finished frames into one texture. If you already have the eight poses of a fox running, the task is to keep their order, position and timing consistent. Sign in to Oakgen’s free sprite sheet generator with the individual PNG or WebP frames.
Work out the expected sheet before exporting
Take eight 32 × 32 pixel source frames and choose 4 columns with 2 px padding. Each frame then occupies a 36 × 36 cell, including padding on both sides. Four cells across and two rows give a 144 × 72 atlas. With 12 fps, each frame’s duration in the JSON is approximately 83.33 milliseconds. These figures apply to this sample; another set of source dimensions produces a different atlas.
Name the frames run-01.png through run-08.png and select Filename A–Z. If the animator supplied a deliberately different sequence, select Upload order and arrange the frames accordingly. Use Bottom center for a character whose feet share a baseline. For an effect that expands from a fixed midpoint, try Center.
Import the texture and its map as a pair
Download both files. In the JSON, inspect the first rectangle’s x and y coordinates, width, height and frame duration. Padding sits outside the rectangle. An importer that consumes fixed cells will need to account for that spacing. A custom importer can read each rectangle directly.
Step through frames one at a time in the game engine. Inspect the feet at ground contact and the transition from the last frame back to the first. If the character jumps sideways while both feet are planted, check the transparent margins in those source frames before changing the playback rate.
Frequently asked questions
What does the sprite sheet generator export?
It exports a transparent PNG atlas and a JSON map. The map records the animation name, atlas dimensions, frame rectangles, pivot and frame duration.
Why does a sprite appear to jump when its frame sizes differ?
Frames share cells based on the largest source dimensions. Choose a consistent pivot and align the character’s contact point across the source drawings. Transparent margins inside a source can still change its apparent placement.




