Pixel art basics
I'm no expert: this is what I've picked up from Pixel Art Academy, Lospec's tutorials and looking at Pixel Joint a lot. Just enough to get started without the usual mistakes.
What pixel art is
Pixel art is drawing by placing every dot by hand, on a small canvas with few colours. It was born out of necessity: the consoles and computers of the eighties couldn't do more. Today people do it by choice, because those limits make you think about every pixel.
A shrunk photo isn't pixel art, even if it looks like it. The difference is that nothing here is random: if a pixel is there, someone decided to put it there.
Small canvas, whole-number scale
Start really small: 16×16 or 32×32. With few pixels each one counts and you learn fast. Small Mario from Super Mario Bros. fits in 16×16.
To show it off, always scale by whole numbers (×2, ×3, ×4) with no smoothing. Scale it to 150% and some pixels come out fatter than others, and it shows.
Clean lines and jaggies
A line of pixels is a staircase. It looks clean when the segments follow a pattern: 1-1-1, 2-2-2, 3-3-3, or grow and shrink gradually (1-2-3). If the segments jump around (1-3-1-2) you get jaggies: teeth that break the line.
The other thing to watch is doubles: pixels touching side by side at a corner where touching diagonally was enough. They fatten the line at that spot. Remove them.
Few colours and ramps
Sticking to a palette is the best help there is: with 4, 8 or 16 colours everything goes together and you don't get lost. Start with a ready-made one, like PICO-8 or Sweetie 16, before inventing your own.
A ramp is a row of colours from dark to light for painting one material. The trick is not to just darken: in the shadows shift the hue towards blue or purple, and in the light towards yellow. It's called hue shifting and it's what brings good palettes to life.
Light and shading
Decide first where the light comes from, and don't change it. That side is light, the other dark, plus a small highlight where it hits full on.
The classic mistake is pillow shading: darkening the whole edge evenly and lightening the middle. It looks like a cushion and the drawing loses its volume.
Anti-aliasing by hand
On a curve, the steps are softened by putting an in-between colour (between the line and the background) in the corner. By hand and sparingly: one or two pixels per step.
Don't put it on the outer edge of a sprite that will move over different backgrounds: the in-between colour only works on the background you drew it on.
Dithering, and when not to
Dithering alternates two colours in a pattern, like a chessboard, to fake one you don't have or to blend from one to another. It was how machines with few colours got more.
Use it for large gradients and textures (stone, cloth). On small, moving sprites it usually looks noisy: at 16×16, one more solid colour is better.
Outline and selout
A dark outline separates the sprite from the background and reads well from afar. But black all round is heavy.
Selout (selective outlining) swaps the outline for a dark version of the colour inside, and lightens it on the lit side. The drawing gets softer without losing its shape.
Animating with few frames
Pixel art is animated with very few frames, and it works. A walk cycle can be four: step, passing, the other step, passing. Move the head up a pixel on the passing frames and it already looks like walking.
Two ideas from classic animation that really show here: squash & stretch (it squashes on impact and stretches when moving fast) and the smear, a stretched frame that acts as motion blur on a hit or a jump.
- Draw the key poses first (a step and a passing pose).
- Use onion skin to see the previous frame so you keep the size.
- Try 8–12 frames per second before adding more.
What to draw with
Anything will do to start. These are the most recommended:
- Aseprite
- The standard: layers, animation, palettes, sprite sheets. Paid, or free if you build it.
- LibreSprite
- The free version of Aseprite. Free and nearly the same.
- Piskel
- In the browser, free, with animation. Good for a first go.
- Pixilart
- In the browser, with a community to show your work.
- This workshop's editor
- Pencil, bucket, mirror, frames and the classic palettes, nothing to install.
Where to learn
What helped me most: Matej Jan's free Pixel Art Academy content, which starts from zero; Lospec's tutorials and palettes; looking a lot at Pixel Joint and at game sprites on The Spriters Resource; and, for fighting game characters, 2D Will Never Die.
And copying. Copying a sprite you like pixel by pixel is the fastest way to understand how it's made (to learn, not to post it as yours).
All the free content from Pixel Art Academy ↗Lospec ↗Pixel Joint ↗The Spriters Resource ↗2D Will Never Die ↗
Glossary
The words that come up in every tutorial.
- Sprite
- A drawing that moves over the background: the character, a coin, a bullet.
- Tile
- A square (8×8, 16×16) repeated to build the background, like a floor tile.
- Jaggy
- A tooth in a line: a segment that breaks the rhythm of the rest.
- Double
- A spare pixel at a corner that fattens the line.
- Ramp
- A material's colours, from dark to light.
- Hue shifting
- Rotating the hue along the ramp: cool shadows, warm lights.
- Pillow shading
- Shading the whole edge evenly. Avoid it.
- Banding
- Parallel colour bands that show the steps instead of the shape.
- Anti-aliasing (AA)
- In-between colours placed by hand to soften steps.
- Dithering
- A pattern alternating two colours to fake a third.
- Selout
- Selective outline: the inside colour, darker.
- Sub-pixel
- Moving something "less than a pixel" by changing edge colours instead of shifting it.
- Onion skin
- Seeing the previous frame faintly while drawing the next.
- Sprite sheet
- All the frames in one image, side by side.