Ant Pixel Puzzle › Dev log › From 24×24 to 36×36: why we redrew the pictures

From 24×24 to 36×36: why we redrew the pictures

Every level in Ant Pixel Puzzle is a hand-drawn pixel picture. Half of what makes a level fun is the tray; the other half is the picture, because its layers decide what gets eaten first and what last.

Keep what makes a dish recognizable

When drawing a dish I try to keep the one thing that makes it unmistakable. Lanzhou beef noodles need their five colors: clear broth, white radish, red chili oil, green coriander, yellow noodles. Soup dumplings with crab roe come with a straw stuck in; Dongpo pork is tied with a straw string; Yunnan crossing-the-bridge noodles slide from a side plate over the rim of the bowl.

Those details are not only decoration; they are the level. The soup dumpling's straw starts outside the picture and ends in the middle of the dumpling. It is the only path from the edge straight to the heart of that level, and when you slurp it decides how the last few moves go. The crossing-the-bridge noodles start on the side plate, so eating them digs from the plate all the way into the bowl.

In the bug chapter, each bug sits where it lives: the grasshopper in grass at the edge of a field, the cicada on bark, fireflies in summer-night grass, the mole cricket in its own tunnel. The stick insect is drawn to be hard to spot on purpose: on its bamboo stem it looks like a twig.

Why bigger

After the game reached 100 levels, a long-time player wrote: a level takes a few minutes and he finished everything in half an hour. He blamed small pictures and low difficulty.

He had a point. A 24×24 picture has 576 cells, with only a few colors in each of the outer ring, the middle and the heart, and a tray of forty to fifty boxes. There are only so many orders you can build from that.

So chapters 4 and 5, forty levels in all, were enlarged: the pictures went from 24×24 to 36×36, more than twice the cells; each tray grew from forty-odd boxes to between 57 and 84; and the difficulty went up a notch across the board. From chapter 6 on, every new chapter is drawn at 36×36.

Bigger does not mean stretched

The lazy way to enlarge is to blow every pixel up by 1.5. The picture looks the same, but the cell count stays the same and so does the puzzle.

Instead each dish was redrawn from its original design, and the extra cells went into detail. The Buddha Jumps Over the Wall jar gained a blue-and-white pattern and a red cord at the neck, and you can make out abalone, sea cucumber, fish maw and golden threads inside. More detail means more color layers, and more layers give the tray more to work with.

Colors you can tell apart

Early on a friend said that black and navy looked the same in one level. In this game, if you cannot tell two colors apart you cannot choose which ants to send, so that is a real bug.

Now every pair of colors in a level is checked with a color-difference formula (distance in CIELAB space), and pairs that are too close get pushed apart. A later rule added that dark colors must be distinct from each other as well; fourteen palettes in chapters 14 and 15 were changed for it. The check is part of the deploy: a palette that fails it stops the website from being published.

The color names in the level guides, like “dark brown” or “sky”, are worked out in the same color space by finding the nearest named color, so the name you read matches what you see in the picture.

How long a picture takes

A 36×36 picture usually goes through several rounds: outline, then palette, then into the game to see whether the outside-in eating order feels right, then back to the drawing. Sometimes a redrawn picture means the tray has to be picked again, because the layers changed and the old winning line may no longer work; then the level is verified in the real game once more.

To browse the pictures, open the level list: every level has its picture and its guide.

Play now

More from the dev log