Skip to content
Game Art

Watch: sorting sprites in a tile engine

Draw order, explained with a camera that tilts.

Game artists have a name for the pixel-art version of isometric: two-to-one. Lines climb one pixel for every two across, which gives clean, stair-stepped edges instead of jagged ones. The angle is about 26.6 degrees rather than 30, and almost nobody notices, which is a nice reminder that looking right beats being exact.

Tokens that survive a redesign

We prototype every scene on paper first. A sheet of triangle-grid paper, a soft pencil and ten minutes are enough to find out whether a composition works. It is far cheaper to erase a pencil line than to rewrite a dozen nested transforms, and the sketch doubles as documentation when someone asks why a block sits where it does.

Hover effects on isometric blocks work best when they follow the same rules as the static scene. Lift a block along its vertical axis, deepen its shadow on the floor, and leave the other blocks alone. Moving a block sideways, or changing its angle, breaks the projection and makes the scene feel unstable.

Motion adds a lot to isometric scenes, and it is also the fastest way to make someone feel unwell. Wrap every animation in a prefers-reduced-motion query. For readers who ask for less motion we keep the scene still and use a small colour change on hover instead, which keeps the interface responsive without any movement.

Edges and highlights

Edge lines deserve more attention than they usually get. A thin, slightly darker line along the bottom edges grounds each block, and a lighter line on the top edge suggests a highlight. Using currentColor for those lines means a single colour change on the wrapper restyles every outline in the scene.

Share

Written by

Priya Raman

Priya covers accessibility and tooling. She reviews every illustration on the site with a screen reader before it ships.

All 18 posts by Priya Raman

6 comments

  1. Quinn Adler

    I tried this on an old iPad and one of the faces flickers on hover. Any idea why?

    Reply to Quinn Adler
  2. Mateo Rossi

    This finally made the order of rotations click for me. I had them the wrong way round for weeks.

    Reply to Mateo Rossi
    1. Priya RamanAuthor

      Fixed now, thanks for spotting it.

      Reply to Priya Raman
  3. Eli Novak

    Thanks for covering reduced motion. It is so often an afterthought.

    Reply to Eli Novak
  4. Omar Haddad

    We used the grid background on our docs site and it looks great with a dark theme too.

    Reply to Omar Haddad
    1. Priya RamanAuthor

      Thanks! A follow-up is already in the drafts.

      Reply to Priya Raman

Leave a comment

Your email address won’t be published. Required fields are marked.