← Pixel Art from Scratch Lesson 28 of 61 · 5 XP

Outlines, selout and manual anti-aliasing

Theory

Machine translation, not yet reviewed by a native speaker.

An outline separates a sprite from the background. The options:

  • black (or very dark) — the most readable, an NES classic;
  • coloured (selout, selective outline) — the outline is darker than the neighbouring colour: a red apple gets a dark maroon one. Softer and richer; this is how 16-bit games are drawn;
  • no outline — for backgrounds and tiles, so that they don't compete with the characters.

Anti-aliasing (AA) smooths the "staircase" on a curve: in the corners of the steps you place a pixel of an intermediate colour (between the line and the background). From a distance the curve looks smooth. In pixel art, AA is done by hand and sparingly:

  • only inside the sprite or against a known background;
  • not on the outer edge if the background changes in the game — otherwise there'll be light "dirt" around the sprite;
  • AA pixels go on long segments, not on every step.
without AA: the steps are visible
without AA: the steps are visible
with AA: orange pixels in the corners of the steps
with AA: orange pixels in the corners of the steps

Sign up for free to mark finished lessons and track your progress.