How to use it#
- Choose a canvas size. 16 × 16 suits characters and items, 32 × 32 gives more detail.
- Pick a colour from the palette or the colour box, then draw with the pencil. Right-click erases.
- Use fill for large areas and pick to grab a colour from the drawing.
- Turn on Mirror X to draw symmetrical characters twice as fast.
- Choose an export scale and press Download PNG. The background stays transparent.
Keyboard: B pencil, E eraser, G fill, I picker, Ctrl+Z undo, Ctrl+Y redo. With the canvas focused, the arrow keys move a cursor and Space paints; hold Shift while moving to paint a line.
Your drawing is saved in this browser automatically. Use Open PNG to continue editing a small image (up to 64 pixels; larger images are scaled down).
Using your sprite in Pygame#
Export at 1× to keep the real pixel size, then scale in Pygame without blurring:
Python
image = pygame.image.load("sprite-16x16.png").convert_alpha()
image = pygame.transform.scale_by(image, 4) # crisp 64x64Or export at 4× or 8× and load it directly. The images and sprites tutorial shows how to put it in a Sprite class.
Tips for game pixel art#
- Limit your palette. Four to eight colours per sprite read better at small sizes than smooth gradients.
- Silhouette first. Fill the shape in one dark colour; if it's recognisable as a solid shape, the details will work.
- Light from one side. Use a lighter shade on the top-left and a darker one on the bottom-right of every shape.
- Draw animation frames separately, then combine them with the sprite sheet generator.
More on keeping pixel art sharp when scaling in pixel art in Pygame.