Home › Notes › Pixel angles and animation for our beetles
No 3D models: how I shaped the pixel angles and animations for 28 beetles
When our beetle game first came together, the cards showed photos of beetles. The photos looked great, but they didn't move. Two photos bumping into each other in a battle always felt like something was missing.
What I wanted was beetles that idle on their cards, walk, shove with their horns in a fight, and take off and land. All 28 species.
In the last post I wrote about getting the girls I drew to walk around in the game. This one is about the beetles, which came first, and which took a completely different approach.
The usual way: 3D first, then pixels
Before starting, I read up on how people do this. Most public tutorials, tools and research datasets point the same way: build a 3D model or skeletal animation first, then render it frame by frame into pixel art from fixed angles.
That makes sense. Once you have the 3D model, you can export any angle and any motion, and the angles always match each other.
For us, though, it had two problems:
- Every species needs a 3D model first. Our 28 beetles all have different horns, jaws and body shapes. Building a 3D model that can move for each one is a big project on its own.
- The rendered pixels usually need a lot of fixing. When a beetle shrinks down to a tiny sprite, which pixels to keep, whether a thin horn breaks apart, whether colors blur together: the conversion doesn't decide any of that for you, so you end up fixing pixel by pixel anyway.
So I wanted to try the other direction: skip 3D and start from pixels.
My way: pixels first, then motion
Here's the process:
- Build base views from reference images. For each species, gather a few reference images from different angles and use them to make two pixel bases: a top view looking straight down, and a side view.
- Mark the joints and body parts on the bases. Where each horn starts and where its tip is, the knee and foot of each leg, and which area is the head, the pronotum and the wing cases.
- Generate the animations from those marks. Parts move around their joints. Idle, walking, attacking, getting hurt and flying all come from the same set of marks.
- Fine-tune last. Wherever something looks off, go back to the base or the marks and fix it there.
The biggest benefit is that I'm fixing the pixels themselves, not the output of a conversion.
If a horn looks too thick in one frame, I just fix that pixel. That pixel belongs to the horn, so in every frame of every animation it moves with the horn. No need to fix each frame again. Fix it once and it's right everywhere.
Motion copied from real beetles
If animation means "parts move around their joints", then how the parts should move is something you can learn from real beetles.
When idle, a rhinoceros beetle only moves the horn on its head. These beetles have two horns: one on the head and one on the pronotum. The head can tilt up and down, but the pronotum is fixed to the body. So while idling, the head horn nods gently and the chest horn stays still.
Walking uses three legs at a time. Insects move the front-left, middle-right and back-left legs as one group and the other three as another, taking turns on the ground and swinging forward. There are always three legs holding the body up, like a tripod. Moving the legs this way keeps the beetle from looking like it's sliding.
Flying works the same way. To take off, a beetle first lifts its hard wing cases, then unfolds the hind wings tucked underneath and flaps them. After landing it reverses: the hind wings fold away first, then the wing cases close over them. Getting that order right is what makes it look like a beetle, not a flying box.
The angled view comes from the bases too
For the cards and the battle screen, I wanted a view from above at an angle, which feels more three-dimensional. But making an angled version of every species and every motion would double the work.
So the angled view isn't made separately. It's worked out from the top and side views: the top view says how wide each part is, the side view says how tall. Put the two together and you know the shape of the whole beetle, which you can then look at from above at an angle.
The first beetles that came out looked like boxes. The sides of the body were straight vertical walls, and the opened wing cases were like thick planks. Real beetle shells are rounded, so we changed it: the body now domes up, and each wing case is a thin curved shell.
The other decision was to use just two fixed angles (from above and behind, and from above and in front) instead of a freely rotating view. With fixed angles, I can go through each beetle and fix whatever looks wrong at those two angles by dragging joints and editing pixels.
Fine-tuning is where the time goes
Once the animations were generated, I went through all 28 species in batches, noted anything that looked off, and fixed them together. Things like:
- a few beetles' horns twitching for a frame mid-animation
- the heads of glossy beetles flickering while idle
- long thin horns breaking apart when shrunk to the small size used in the game
You only catch these by putting the beetles in the game and looking at them at their real size. Because the fixes go into the bases and marks, fixing one spot fixes every angle and every motion.
The two approaches side by side
| 3D to pixels | Our way | |
|---|---|---|
| Starting point | A 3D model for each species | Two pixel bases for each species |
| Changing one thing | Edit the model and re-render, then maybe fix the pixels again | Edit the pixels or joints directly, and every motion follows |
| Angles | As many as you like | A few fixed ones, each of which can be fixed by hand |
| Best for | Few characters, lots of motions and angles | Many species that look very different, with care for pixel detail |
Neither is simply better. Our game has lots of beetles that look nothing alike, and each one should be recognizable at a glance. That's why we started from pixels and put our effort into fine-tuning.
What I learned
- Decide what matters most, then pick the method. What mattered most to me was being able to tell which beetle is which even at a small size. So I chose being able to edit pixels directly over having the most angles.
- Fix it once, and it's right everywhere. Tie every pixel to a body part, and fixes follow the animation. Otherwise you fix one frame and the next one breaks.
- Look at real beetles for motion. The head horn nods, not the chest horn; the legs walk in two groups. I didn't invent any of that; it's how beetles are built. Follow it and the animation comes out right.
The beetles on the cards in the game and the ones shoving each other in battle were all made this way. If you'd like to see all 28 species move, the best way to support us is to give our beetle game a try🪲 It runs right in your phone's browser, no download needed: Beetle Arena