How to Animate Pixel Art Pickups: a Spinning Coin, a Gem and a Beating Heart
October 14, 2026 · 5 min read · Updated November 20, 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.
A pickup has a fraction of a second to say what it is. The player is running, the camera is moving, and the coin has to look like a coin before the eye has settled on it. These three 32 × 32 pickups were drawn as a set, and each animation was built around one idea: the coin turns, the gem catches the light, the heart beats. Below is how each one works, with the frame widths and timings that make it read.

Three rules that make them a set
Three pickups in one game should look like they belong together, and each should be recognizable at 1×.

One light, one outline. All three are lit from the top-left: highlights sit on the upper left, shadows on the lower right. Each has a one-pixel outline in a dark version of its own hue (brown for the coin, deep indigo for the gem, wine for the heart) instead of black. That separates the sprite from the background without making it look heavy.
Hue-shifted ramps. Each material is a ramp from dark to light whose hue turns as it brightens: the coin from 30° (brown) to 50° (pale yellow), the gem from 244° (indigo) to 188° (pale cyan), the heart from 332° (wine) through red to 25° (warm white). Limited Color Palettes for Pixel Art explains why that reads better than darkening one color. The whole set uses 22 colors.
Shapes first. A round coin, a faceted gem and a heart are different even as flat silhouettes, so a player can tell them apart before any color registers. Inside each sprite, facets and shading are separated by value rather than by internal lines, which keeps a sprite at most 25 pixels across from looking busy.

The coin: widths that read as a turn
The coin's eight frames show half a turn: face-on, edge-on at frame 4, face-on again. Both faces are drawn alike, so the loop reads as a continuous spin.
The trick is in the widths. Across the eight frames the coin is 22, 21, 17, 10, 4, 10, 17 and 21 pixels wide. It barely changes near face-on and collapses quickly toward the edge, the way a real turning disc does. If you shrink the width by the same amount every frame instead, the coin looks like it is being squashed, not turned. The rim shows on one side as the coin turns away and on the other as it turns back.
The same coin is the test sheet in How to Find the Frame Size of a Sprite Sheet.
The gem: the light moves, not the gem
A gem that bobs or rotates competes with everything else on screen. A gem that catches the light now and then draws the eye without adding noise, so this one never moves. In frames 1 to 4 a diagonal band of light sweeps from its top-left corner to its bottom-right, brightening the pixels it crosses by up to two steps of the ramp. In frames 5 to 7 a four-pointed sparkle appears on the corner the light reached first, grows and fades.
The timing matters more than the drawing. Played at an even 10 fps, the shine repeats every 0.8 seconds and reads as flicker. Held on frame 0 for 0.6 to 1 second, it becomes an event. That hold is one long frame, not extra copies of frame 0 in the strip; How Fast Should Pixel Art Animate? shows where each engine sets a single frame's duration.
The heart: a beat, not a breath
The heart has six frames but only four drawings, 19, 21, 23 and 25 pixels wide. At rest it is 21. On frame 1 it jumps straight to 25, the beat, then eases back through 23 and 21, dips to 19 and settles at 21 again. Rising in one frame and falling over three is what makes it a thump rather than a slow breath.
Frames 5 and 0 are the same drawing, a short hold built into the strip. At 10 fps one beat takes 0.6 seconds, 100 beats per minute. Holding frame 0 for 0.3 seconds slows it to 0.8 seconds, 75 per minute.
Each size is drawn as its own shape, not scaled from one heart. Enlarging a 21-pixel heart to 25 is a factor of about 1.19, and scaling by fractions makes some pixels wider than others. All four sizes have odd widths and share one center column, so the heart grows evenly on both sides and never shifts.
The files
| File | Frames | Size | Timing used above |
|---|---|---|---|
| coin-spin-strip.png | 8 | 256 × 32 | 10 fps |
| gem-shine-strip.png | 8 | 256 × 32 | 10 fps, frame 0 held 0.6 to 1 s |
| heart-pulse-strip.png | 6 | 192 × 32 | 10 fps, frame 0 optionally held 0.3 s |
| sprite-sheet.png + sprite-sheet.json | 22 | 704 × 32 | all three, with an atlas file |
Every frame is 32 × 32 with no margin or spacing, and the art is centered, so a pivot in the middle works for all three. The combined sheet is a TexturePacker JSON (hash) atlas with frames named coin_00.png to heart_05.png and three animation tags (coin 0 to 7, gem 8 to 15, heart 16 to 21). It was made in SpritePilot: the frames were cut with Grid Slice in Sprite Detection, then exported from Export & Download as a Horizontal Strip with Trim, Padding and Extrude off, and it matches the three strips pixel for pixel.
All files are CC0 1.0: use them in any game, commercial ones included, with no credit needed. The same three, plus seven more pickups in this style at 16 and 32 px, are in the Pickups Pack.
To put them in an engine, follow the guide for yours: Godot 4, Unity (or Unity's own Create 2D sprite animations tutorial) or Phaser. To try other speeds first, load a strip in the Sprite Player and drag the speed while it plays.