Draw and export a transparent pixel sprite
Admin ·
A sprite begins as a small grid of color and transparent cells. Edit the supplied eight-pixel owl to see which pixels belong to the sprite and which stay clear.
Edit the owl on the grid
Select Load example. The grid is 8 × 8 and the upper-left cell is transparent. Choose Paint and a color, then click that cell. With the grid focused, use the arrow keys to move one cell and Space to edit again.
Select Eraser and clear your first mark. Undo restores that cell as an opaque colored pixel. Redo clears it again. One continuous pointer stroke is one history step.
Fill a connected part of the sprite
On the example, select Fill and a different paint color, then choose a green pixel by the top of the owl. Fill spreads through touching green cells. The light eyes and transparent outside keep their current values because they are a different color.
Choose a size and New blank grid to start another drawing. Undo can recover the previous sprite in the current tab.
Save a source sprite and an enlarged copy
Keep the 8 × 8 grid and choose PNG scale 1×. Prepare PNG and download it. Set 4×, prepare again and save the 32 × 32 version. The checkerboard and editor lines are absent from both PNGs.
| Scale | PNG dimensions | Pixels per original cell |
|---|---|---|
| 1× | 8 × 8 | 1 |
| 2× | 16 × 16 | 4 |
| 4× | 32 × 32 | 16 |
Common questions
Can I keep editing after preparing the PNG?
Yes. Editing clears the prepared export so the next download always reflects the grid you prepared most recently.
How do I check which cell has focus?
Focus the grid and read the row, column and color shown below it. Use an arrow key to move to a neighboring cell.