Pixel Pet Blink Frames: Fixed Face vs. Squash and Stretch
A practical way to choose blink frames for a photo-derived pixel pet: lock identity cues, test a 64×64 tabby, and know when squash is too costly.
The short answer: lock the face, move the lids
For a pixel pet made from a photo, keep the face fixed and animate only the eyelids. Squash and stretch is useful for the blink's timing—the closed frame can feel compressed—but stretching the whole head usually costs likeness. A photo carries identity in proportions, eye spacing, and marking placement. A blink is too short to rebuild those cues.
A worked example: 64×64 gray tabby
Inputs
- 64×64 canvas, pet centered, head about 30×26 px.
- Amber eyes, 4×3 px each, set 6 px apart.
- Dark M marking on the forehead; white muzzle patch.
- Three-frame blink: open, half-closed, closed. Hold closed for 120 ms.
Fixed-face result
Keep ear tips, head outline, eye sockets, muzzle patch, and forehead marking at the same coordinates. Change only the eyelid rows. The blink reads cleanly at 1× and the tabby still looks like the reference. The risk is stiffness: if the open and closed frames use identical timing, the blink can look mechanical.
Whole-head squash result
On the closed frame, lower the top of the head by 1 px and raise the chin by 1 px. The eye line moves, the M marking compresses, and the muzzle patch shifts. At 1× this often reads as a nod or a flinch, not a blink. If the idle animation also bobs, the two motions stack and the face appears to drift.
Hybrid that works
Lock the head outline and all markings. Compress only the brow-to-eyelid band by 1 px on the closed frame. Do not scale horizontally. This gives a small sense of pressure without moving identity cues.
Build order
- Draw open and closed frames first; confirm the pet is recognizable in both.
- Add the half-closed frame only if the eye is at least 3 px tall.
- Overlay the frames and check that ear tips, muzzle, and markings do not move.
- Preview at 1× on a mid-gray checkerboard, not zoomed in.
- Hold the closed frame long enough to read, then return to open.
The constraint: a marking within two pixels of the eye line
If a white blaze, dark mask, or stripe sits within 2 px of the eye line, any vertical squash moves the strongest likeness cue. In that case, skip squash entirely and use a fixed face with one closed-eye frame. The blink will be quieter, but it will stay your pet.
For timing, treat the blink as a short event inside the idle loop, not a separate performance; see how to plan idle animation states. When you export, keep frame order and registration consistent with the pixel pet sprite sheet checklist.