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

What pixel art is

Theory

Machine translation, not yet reviewed by a native speaker.

Pixel art is a picture in which every pixel is placed by hand and means something. That's how games were drawn for the NES, Game Boy, Sega and SNES: the screens were small (256×240 on the NES), and there was enough memory for 4–16 colours per sprite. The limitations became a style: today games like Celeste, Stardew Valley, Terraria and Dead Cells are made this way.

The main rules:

  • a small canvas — a hero sprite is often 16×16 or 32×32. Every pixel counts;
  • few colours — 3–8 per item. The fewer the colours, the cleaner and more "readable" the picture;
  • no blurring — pixels are enlarged exactly 2, 3, 4… times, otherwise the edges smear. That's why the "×1" export is for a game engine, and "×8" is for showing to people;
  • transparency — the background behind a sprite is empty (a checkerboard in the editor); the game puts the level underneath by itself.
8×8 pixels and 3 colours — it's already clear this is a heart
8×8 pixels and 3 colours — it's already clear this is a heart

The editor. On the left are the tools, in the centre the canvas, on the right the colour, the palette, the layers and the export. The left mouse button draws with the main colour, the right one with the second colour (at first it's transparent, so the right button erases). Ctrl + mouse wheel zooms, Space + mouse or two fingers move the canvas, Ctrl+Z undoes. Under the hood the picture is an array of numbers, 32 bits per pixel: 8 bits each for red, green, blue and transparency.

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