Skip to content
Tutorials

Animate a pixel art sprite in four frames

Draw a bouncing ball on a 16×16 canvas, set the timing for four frames in aukimi Pixel, then export your loop as a GIF.

aukimi2 min read
On this page

A four-frame bounce is a small way to learn pixel art animation. You’ll draw one ball, move it up and down by a few pixels, then give each pose its own duration. This tutorial uses the timeline in aukimi Pixel.

Draw a six-pixel ball

Create a 16×16 canvas in Sprite mode and keep the background transparent. Draw the ball on its own layer with a one-pixel brush at full opacity. The circle below takes up six columns and six rows. Start at column 6, row 8, counting from the top left of the canvas. Paint C in coral (#FF6B35) and L in peach (#FFDFBF). Leave the dots transparent.

..CC..
.CLLC.
CLCCCC
CCCCCC
.CCCC.
..CC..

If this is your first sprite, the 16×16 pixel art heart tutorial explains how to read a pixel grid row by row.

Build the bounce in four frames

Use the timeline at the bottom of Pixel to duplicate the drawing three times. On each copy, use Move Layer (M) to drag the ball vertically. Keep its left edge in column 6 so the ball travels straight up and down. Turn on Onion to see neighbouring frames behind the current one.

FramePoseTop rowDuration
1Contact8140 ms
2Rising670 ms
3Peak4120 ms
4Falling670 ms

Enter the durations in the timeline and play the animation forwards. At 400 ms per loop, the contact and peak stay on screen longer than the two in-between poses. Frame 4 returns to frame 1 on the next repeat. If you spot a sideways jump, check that the sprite still starts in column 6 in all four frames.

Export the loop as an animated GIF

Open the export dialog and choose GIF (animated, 4 frames). At 1×, the GIF is 16×16 pixels. Choose 8× for a 128×128 version that is easier to see when you share it. Open the finished GIF in a browser to check that it loops and the hold at the peak still feels right.

For practice, shorten only the contact frame to 90 ms and preview the result. You’ll see how a single timing change makes the same drawing feel springier. The Pixel Editor documentation covers the timeline and other export formats.

  • #pixel-art
  • #sprite-animation
  • #gif
  • #beginner

Enjoyed this article?

ShareHN

Related Articles

Help Build the Future of Creative Software

Support aukimi development and get exclusive early access to the complete creative suite.

Back the Project