Sprite animation for 2D gamesFrames cut, timedand already playing.
A drawn sheet is not an animation yet. Every frame has to be cut out, stood on the same ground line and played at the right speed. EvonX does that for each 2D character in your game, so you never slice a sheet or type a frame rate.
walk · frame 1 of 8 · 8.9 fps · loop
How it works
From a drawn sheet to a clip the game plays.
- Step 1
A clip is drawn as one picture
The walk is one picture with eight poses in two rows. Drawing the whole clip at once keeps the character the same from the first pose to the last.
- Step 2
Each pose is cut out on its own
The poses are cut out figure by figure, each one on its own. The glow and the background of the drawing are left behind.
- Step 3
Every frame stands on one ground line
Each cut pose is placed on a shared 768 px canvas with the body in the middle and the feet on the same line. That is what stops a character bobbing or sliding when a clip plays.
- Step 4
The clip gets its timing
Each clip is given its speed, whether it loops and a motion type: walk, run, in place or planted. A walk plays 8 frames at 8.9 a second, a run 8 frames at 16.
- Step 5
The game plays it
All the clips go into one sprite sheet and into the game's asset list. The game reads each clip's frames and timing from that list, so nothing is guessed from a clip's name.
Frame by frame
Step through a clip one frame at a time.
Sprite animation is easiest to judge when it stands still. The viewer here plays the knight's clips at their real speed, one after another, and any button takes over: step back, step forward, or drag the scrubber to a frame. The faint blue figure behind the knight is the previous frame, an onion skin, so you can see how far a hand or a foot travels between two poses. A big jump between neighbours reads as a stutter; small, even steps read as smooth movement.
The readout gives each frame two numbers, its place in the clip and its index on the whole 30-frame sheet, beside the clip's speed and how many milliseconds one frame stays up. This viewer exists for looking only. EvonX itself has no such editor; a clip gets changed in the chat.
Frame rate
The same walk, at three speeds.
In frame animation the drawings set the poses and the frame rate sets the feel. All three knights here play the same eight walk frames. The middle one runs at 8.9 frames a second, the speed written for the walk in the game's asset list, so one full step cycle lasts 0.90 seconds. On the left the same frames run at half that rate and the knight seems to wade through mud; on the right, at double, he scurries.
Under each knight a bar fills over one second and ticks every time a new frame appears, so the gap between ticks is how long each drawing stays on screen. The rate belongs to the clip, not the art: an idle at 2.5 frames a second and a run at 16 can come from the same character. Changing it does not touch a single drawing.
Alignment
Why every frame needs the same ground line.
When you animate a sprite sheet, cutting out the cells is only half the job. If each pose sits at a slightly different height inside its cell, the character bobs and slides while every single drawing looks fine. The left stage is the knight's walk as the game has it: each frame stood on one line, 688 pixels down a 768 pixel canvas, the body centred. Stack all eight frames and their feet meet in a single point on that line.
The right stage is an illustration, not a real clip: the same frames shifted up, down and sideways by hand. Played, the knight jitters; stacked, the feet scatter above and below the line. Before a clip is timed, EvonX finds each figure and stands it on the shared line, so your game gets the left stage.
feet meet on the line
feet scattered
In a real game
2D sprite animation in a game that plays.
This is the Survivor arena template recorded while it plays, and every figure moving on its streets is 2D sprite animation. The camera keeps the hero in the middle of the screen, so the loupe stays on him and redraws him larger from the live video: his walk is six frames at 10 a second, and you can catch the poses changing.
The channels beside it are the template's own clips, read from its asset list and played from its real frames: the hero's four-frame idle at 6 frames a second and walk at 10, the zombie's six-frame walk at 8, the hound and the rat at 12, the bug at 14. Every one runs on its own clock at the same moment. A character EvonX draws for your game gets an entry of the same kind.
Loupehero · walk · 6 · 10 fps
content/assets.json · 13 clips · 12 framed textures256 px frames, one row a character
What one character comes with
Six clips, each with its own timing.
The clips of the two sample characters on this site, as they were written into a game's asset list.
Idle: 4 frames, looping
2.5 frames a second, in place. Slow enough to read as breathing.
Walk and run: 8 frames each, looping
The walk plays at 8.9 frames a second and the run at 16, both with the feet on the ground line.
Attack: 4 frames, once
10 frames a second, planted: the character does not travel while it swings.
Hit and death: play once
Hit is 2 frames at 6.7 a second. Death is 4 frames at 4 a second and stops on its last frame.
Free tool, no sign-up
Have a sheet already? Cut it yourself.
The free sprite sheet cutter splits a sheet into frames by rows and columns, plays them at any speed and saves a PNG zip or a GIF. It runs in your browser and nothing is uploaded.
Open the sprite sheet cutterBefore you start
What it is and is not.
Not a timeline editor
There is no frame-by-frame editor or onion skin. You change an animation by asking in the chat: more frames, a slower walk, a new clip.
Frame animation, not bones
This page is about drawn frames. A character moved by a skeleton is a different technique with different strengths.
Two legs work best
Walk and run cycles are built for characters that stand on two legs. Four-legged and flying creatures have not been tested with them yet.
Small details can drift
A buckle or a feather can change slightly between frames. Ask to redraw the clip and watch it in the preview before you keep it.
Questions
Sprite animation FAQ
What is sprite animation?
It is frame animation for 2D games: a series of drawn frames shown one after another, fast enough that a character seems to move. The frames usually live in one picture, the sprite sheet, and the game shows one cell at a time.
How do I animate a sprite sheet?
Cut the sheet into equal cells by rows and columns, then show the cells in order at a set number of frames a second. The free sprite sheet cutter does that in your browser. In an EvonX game it is done for every character: each pose is cut out, stood on one ground line and timed.
How many frames per second should a sprite animation run at?
It depends on the motion. In EvonX's own characters an idle runs at 2.5 frames a second, a walk at 8.9, an attack at 10 and a run at 16. Slow, heavy moves want fewer frames a second than fast ones.
Why does my character jitter when the animation plays?
Usually the frames are not lined up: the feet sit at a different height or the body is off-centre from one frame to the next. EvonX places every frame on one canvas with the feet on one ground line to prevent that.
What is the difference between a looping clip and a one-shot?
A loop, such as idle, walk or run, starts again after its last frame. A one-shot, such as an attack, a hit or a death, plays once; a death stays on its last frame.
Is sprite animation in EvonX free?
You can build a character and play it in the preview on the free Starter plan. Drawing frames uses credits, and each frame counts as one picture.
See your character move.
Describe the character and the game. The frames, the cut and the timing are done for you.
Animate a character, free