Pixel art for games is created by manually placing colored pixels on a grid to form characters, objects, or backgrounds—ideal for retro-style or indie games. It’s achievable with free tools and basic drawing knowledge, and doesn’t require advanced art skills. You’ll need a grid-based editor, reference images (optional), and patience to build up detail one pixel at a time.
What You’ll Need
- A pixel art editor (free options include Aseprite trial, Piskel, or Pyxel Edit)
- A simple graphics editor like Microsoft Paint (for basic experimentation)
- Graph paper and pencil (for sketching ideas offline)
- A reference image or concept sketch (highly recommended for beginners)
- A computer or tablet with a pointing device (mouse or stylus)
Step-by-Step
- Choose your canvas size and grid settings: Open your pixel art software and create a new project. Set the canvas to a small resolution—common game sprite sizes are 16×16, 32×32, or 64×64 pixels. Enable the grid view so each pixel aligns with a grid cell. In Piskel, go to Settings > Grid Size and choose 1px; in Aseprite, press Ctrl+G (or Cmd+G on Mac) to toggle the grid.
- Sketch a simple shape using 2–3 colors: Start with a basic form like a square character or a tree. Use a light gray or white color for your initial sketch—this acts as a guide. Draw only outlines at this stage, keeping strokes aligned to the grid. Avoid anti-aliasing or soft edges; every stroke must be jagged and pixel-perfect.
- Pick your color palette: Limit yourself to 8–16 colors total for a cohesive look. Choose a base color (e.g., #5D4037 for brown), a shadow color (e.g., #3E2723), a highlight color (e.g., #8D6E63), and an outline color (e.g., #212121). Use online tools like Coolors.co or the Palettes tab in Piskel to find retro palettes (e.g., GameBoy, NES, or GameCube styles).
- Flood-fill the base color: Use the bucket tool to fill the interior of your sketch shape with the base color. Make sure the fill doesn’t overflow—zoom in (Ctrl++ or Cmd++) and use the eraser or pencil tool to clean up stray pixels before filling.
- Draw outlines with the pencil tool: Switch to your outline color. Zoom to 800% or higher. Draw one-pixel-wide lines along the outer edge of your shape. Keep outlines consistent in thickness (usually 1px or 2px). For smoother curves, use “stair-stepping”: alternate pixels diagonally (e.g., down-right, down-right, right-down) to approximate a curve.
- Add shading and highlights: Place shadow colors just inside the outline on the side opposite your light source (usually top-left). Place highlights along the top and left edges of raised features. Use 1px or 2px strokes only—avoid blending; each highlight/shadow pixel should sit beside a base pixel. For a 32×32 character, use no more than 3–4 shadow pixels per feature.
- Refine with dithering (optional): To simulate gradients on limited palettes, use dithering: alternate two colors in a checkerboard or line pattern (e.g., #FFFFFF and #CCCCCC for a light gray). Use a dithering brush in Aseprite or manually paint with the pencil tool in Piskel. Keep patterns small (4×4 or smaller) to avoid visual noise.
- Test in a game engine: Export your sprite as a PNG. Import it into Unity, Godot, or GameMaker. Place it in a simple scene and move it around. If it looks jagged or misaligned, zoom in to your art and adjust pixel placements. Rotate or scale it in-engine—if it blurs, ensure your texture import settings use “Point (no filter)” instead of Bilinear.
Common Mistakes
- Using too many colors: Beginners often add every shade they see in a reference, resulting in a muddy or overly complex sprite. Stick to 8–12 colors per sprite to keep the style clean and retro.
- Ignoring the grid: Drawing diagonals with uneven pixel steps (e.g., 3 down, 1 right) creates wobbly lines. Always count pixels and test diagonals on graph paper first.
- Over-detailing: Adding too many small pixels (e.g., 1px eyes on a 16×16 head) makes the sprite unreadable. Simplify features—eyes can be two 2×2 blocks on a 16×16 canvas.
- Inconsistent lighting: Shadows and highlights placed without a clear light source confuse the eye. Decide early: light comes from top-left for most 2D games.
- Skipping the export check: Not testing the sprite in-engine can miss scaling or anti-aliasing issues. Always export and preview at actual game size (e.g., 100% zoom in Unity’s Scene view).
Tips
- Work at 400–800% zoom: Drawing at 100% makes pixel placement hard. Zoom in close, draw a few strokes, then zoom out to check the big picture.
- Use onion skinning: In Aseprite or Piskel, enable onion skinning to see the previous frame when animating. Place your base sprite on frame 1, duplicate it, and nudge pixels slightly to create movement.
- Save layers for animation: Draw separate layers for body, eyes, and mouth. This lets you animate just the mouth without redrawing the whole face.
- Flip and rotate tools: Draw one side of a face, then use the horizontal flip tool (Ctrl+H in Aseprite) to mirror it. This ensures symmetry.
- Study retro games: Play games like Celeste, Stardew Valley, or Hollow Knight. Pause and zoom in to see how pixel artists solve problems (e.g., expressive eyes with just 2–3 pixels).
- Start small: Make a 16×16 mushroom before attempting a 64×64 hero. Small projects build confidence and reveal core principles faster.
Troubleshooting
If your pixel art looks blurry when imported into your game engine: First, verify the texture import settings. In Unity, select the sprite in the Project window, set Filter Mode to “Point (no filter)”, and Compression to “None”. In Godot, open the texture in the import tab and set Filter to “Off”. If the sprite appears stretched, check the import scale—many engines assume 1 pixel = 1 world unit by default, but some assets need a “Pixels to Units” setting (Unity: 64 for 32×32 sprites).
If colors look wrong: Ensure your software isn’t applying gamma correction or dithering during export. In Piskel, go to File > Export As > PNG and uncheck “Dither”. In Aseprite, export with “Dithering: None”.
If outlines are uneven: Redraw them at higher zoom. Use the “Line” tool (available in Aseprite and Piskel) to draw straight 1px lines between two grid points. If the outline gaps, fill the gap with the pencil tool—don’t use the eraser to “fix” the gap, as that removes base color.
If colors don’t match your palette: Recreate the palette in your software. In Pyxel Edit, go to Palette > Edit Palette and replace colors one by one. In Piskel, paste your hex codes into the color picker.
If the sprite is too large or small in-game: Resize it in your art software before exporting. In Aseprite, use Sprite > Resize to change canvas or sprite dimensions (avoid upscaling; use nearest-neighbor interpolation). In Piskel, go to Canvas > Resize and set the new width/height in pixels.