Spriteria
EN English
Download

Spriteria user guide

Everything you need to know to use Spriteria, from the first canvas to the export into your game engine. Search for a word on the side or jump to the section you need.

Up to date with Spriteria 1.4.0

Getting started#

Spriteria is a pixel art editor for 64-bit Windows 10 and 11. Get it from the Download page: the installer adds the Start menu shortcut and associates .spriteria files; the portable version is a zip you extract wherever you like, with nothing to install. A .spriteria file opened from File Explorer while Spriteria is already running goes into a new tab of that window.

  1. Start Spriteria: an empty 32 × 32 pixel document opens with a 16-colour palette.
  2. Pick a colour in the Palette panel (click for the primary, right click for the secondary).
  3. Draw with the Pencil (B): left button for the primary, right for the secondary. Every stroke undoes with Ctrl+Z.
  4. Zoom with the mouse wheel and move the view holding the space bar.
  5. Save the project with Ctrl+S (.spriteria format) and export a PNG with Ctrl+E.

To try the program straight away use ? → Open a sample…: it copies 15 ready-made projects into the Documents\Spriteria\Samples folder (an animated slime, the slime with hitboxes and directions, palette variants, an autotiling tileset, a ring for the effects, a car to rotate, a parallax background, a nine-slice panel, a bitmap font and more) and opens the one you choose. The originals stay in the samples folder next to Spriteria.exe.

The interface#

The Spriteria window with four documents in tabs
The Spriteria window with four documents in tabs
  • Menus at the top: File, Edit, View, Layer, Animation, Effects, Sheet, Tileset, Palette, Script, Window and ?.
  • Options bar under the menus: the options of the active tool (size, shape, mode…), remembered between sessions.
  • Toolbox on the left, split into groups. Isometric tools appear only in isometric mode, tileset tools only in tilesets, the Game data tool only in static and animation documents.
  • Document tabs above the work area, and in tilesets the Tileset and Test map tabs.
  • Canvas in the middle: the zoomed canvas, with grids, selection and previews on top.
  • Panels on the right: Preview at real size, Colours and, depending on the document, Terrains, Tile, Frame data, Layers, Palette and Groups. A click on the title collapses or reopens them; dragging the title moves them (Preview and Colours stay at the top among themselves, the others in the scrolling part). With a panel focused (Tab) Space collapses or opens it and Ctrl+↑ / Ctrl+↓ move it. Order and collapsed panels are remembered; Window → Reset panel layout goes back to the initial order with every panel open.
  • When reopened the window comes back as you left it: position, size and, if you closed it maximized, maximized (on a monitor that is no longer there it opens centred).
  • Animation strip at the bottom: playback, frame thumbnails with their durations, tags and the layer timeline.
  • Status bar: cursor position, size, zoom, frame and the program's messages.

Documents and files#

File → New (Ctrl+N) creates five kinds of document, chosen with the tabs at the top of the dialog:

KindWhat for
StaticA single image: an item, an icon, a background.
AnimationSeveral frames of the same size, with durations and tags: characters, effects.
SpritesheetA hand-drawn sheet split into cells (sprite size × columns × rows, with spacing and margin).
TilesetA tile atlas for maps, with terrains, collisions, data and a test map; it starts from a template (empty, Corners 16, Sides 16, Blob 47 or pieces for the generator).
Bitmap fontA font drawn letter by letter: one cell per character, with baseline, advances and kerning; it exports to BMFont.

In the same window you choose the size (also from the Presets) and the starting palette (the library palettes or a Template). Projects are saved as .spriteria (Ctrl+S, Save as Ctrl+Shift+S), a file that keeps layers, frames, tags, palette, grids, tileset, game data and export targets. File → Open (Ctrl+O) and the recent files list reopen them.

To work on existing images, the File → Import menu:

  • PNG image (Ctrl+I): a new document from the PNG; its colours become a new palette or are brought to the current palette (nearest colour).
  • PNG as spritesheet: the image stays whole and becomes a sheet, given the cell size or rows and columns with spacing and margin.
  • Spritesheet into an animation: splits a sheet into the frames of an animation (transparent cells can be skipped).
  • PNG sequence: one frame per file.
  • Level as tileset: from a level screenshot it cuts the unique tiles and rebuilds the map.

If something goes wrong. A damaged file never closes Spriteria: a message says what is wrong. If the preferences are damaged they are set aside as preferences.bad.json and Spriteria starts again from the defaults. If an unexpected error happens, Spriteria immediately saves a recovery copy of the modified documents and writes the details to a file in the logs folder (next to the preferences): the Open the log folder button shows it, so you can send the file to the developer.

Reporting a bug. ? → Report a bug… opens a two-step form. First write the exact steps to repeat the bug (one per line, from opening the program or the document), what happened and what you expected. Prepare the text adds the version, system, language, the active document, the last command and, if there is one, the latest error log from the logs folder. The form sends nothing: Copy the text and send it to support@spriteria.app, or Write the e-mail opens your mail program. If you can, attach the document and a picture of the bug.

The File menu also has: Exit.

Several documents in tabs#

Every document opens in its own tab, with its own undo history, zoom, active layer and frame, colours and other working settings: going back to a tab you find everything as it was. The clipboard is shared, so you can copy between documents.

  • Ctrl+Tab and Ctrl+Shift+Tab go to the next and previous tab, Ctrl+W closes the active one; the middle mouse button on a tab closes it.
  • The Window menu lists the open documents and has Close others and Close all.
  • Opening a file that is already open activates its tab; an untouched "Untitled" document is replaced by the first file you open.
  • Closing Spriteria with several modified documents, a single window asks which ones to save.
  • In Preferences, Reopen the documents of the last session reopens at startup the files that were open.

The Window menu also has: Next tab, Previous tab.

Project folder#

Window → Project folder opens a panel to the left of the work area with a folder's files: subfolders first, then the files Spriteria opens (.spriteria, .png, .aseprite, .ase, .gpl, .hex), each with its thumbnail. Choose it with Choose folder (which remembers the last five), go up by clicking the folders in the path, and the field at the top filters by name. Drag the right edge to widen it; the button next to Refresh switches between grid and list.

  • Double-click: opens a project or Aseprite file in a tab (or goes to the tab that already has it), a PNG as File → Import → PNG image; a .gpl palette is linked to the active document and a .hex one applied, after a confirmation.
  • Right-click: Open, Re-export the targets (also of closed projects, without opening them), Link the palette to the active document, Show in the system folder. Ctrl and Shift select several files.
  • A coloured dot marks files open in a tab, an asterisk after the name those modified and not saved.

Outline and batch operations#

Edit → Outline draws a one-pixel outline in the primary colour: outside (on the transparent pixels next to the content) or inside (on the edge of the content), with 4 neighbours (sides only) or 8 (diagonals too). The content is the active layer or all visible layers; the outline goes on the active layer or on a new “Outline” layer below it, in the current frame, the frames selected in the film strip or all of them. It respects the selection and is a single undo step.

Edit → Array… repeats the selected content of the active layer: in a row (how many copies and the X and Y step in pixels, also diagonal or backwards), in a grid (columns, rows, step and offset of odd rows, for bricks) or in a circle (how many items in all, centre, arc in degrees, rotated or upright copies, optionally with RotSprite). Copies write only filled pixels, on the same layer or on a new layer; the original can stay or go. The preview shows the result; a single Ctrl+Z undoes everything and the window remembers your last choices.

File → Batch operations → Run applies one operation to many .spriteria projects: add them with Add files, Add folder or, from the project folder, by right-clicking the selected files.

  • Outline, with the options above on all frames; the colour is the primary colour (the nearest entry in each document) and in closed files the active layer is the top one.
  • Change palette: a preset or a file, with Nearest colour or Same indices; optionally the documents are linked to the .gpl file.
  • Canvas size: width, height and anchor; sheets and tilesets are skipped.
  • Re-export the active targets; the other operations also have the Re-export after the operation box.

Run works file by file, with a progress bar and Stop; the result appears next to each file. A closed file is rewritten after its original is copied; a file open in a tab is changed there, as one undo step, and is not saved.

Canvas and view#

  • Zoom with the wheel, with + and − or with the Zoom tool (Z); always by whole factors, so every pixel stays a crisp square. Fit to window Ctrl+0.
  • Moving the view: hold the space bar, use the middle mouse button or the Hand tool (H).
  • Pixel grid Ctrl+G: it appears at the higher zoom levels; its opacity and the transparency checkerboard (the theme's own, medium, light) are in Preferences.
  • The Preview panel shows the document at real size, also while the animation plays.
  • The status bar shows the position of the pixel under the cursor and, in sheets and tilesets, the cell.
  • On the right of the status bar you see the chosen tool's keys, as key: action (for example Shift: square or circle · Ctrl: from the centre · Alt: eyedropper); with snapping on there is also S: no snapping.
  • The cursor takes the shape of the tool's brush: with the pencil, the eraser or a round line of thickness 5 you see exactly the pixels a click will change. With symmetry on, the mirrored copy appears too, fainter.
  • View → Rulers Ctrl+Alt+R: rulers at the top and on the left, in document pixels, with the pointer position; the choice is kept after a restart.
  • Guides: drag from the top ruler for a horizontal guide, from the left one for a vertical guide; drag them to move them, drop them back on the ruler to remove them, double-click to type their position. They always sit on the edge between two pixels, are saved in the document, are undone with Ctrl+Z and never end up in exports. Show guides, Lock guides and Clear all guides are in the View menu.
  • Snap to guides: moving the selection (the edges of the content), shapes (line, rectangle, ellipse, curve, polygon), rectangle and ellipse selections and the pivot of Rotate and Skew snap to nearby guides; freehand tools (pencil, eraser, shade, stamp…) never do.

The View menu also has: Zoom in, Zoom out.

Colours and palette#

In Spriteria every pixel is a palette index (up to 255 colours plus transparent, index 0). There are no colours outside the palette: if you change an entry, every pixel using it changes, in every layer and frame. It is the way old consoles and computers worked, and it makes colour variants easy to try.

  • Click an entry: primary colour (left button); right click: secondary (right button). X swaps them; , and . step through the primary, ; and : through the secondary.
  • Double click an entry to edit it; the panel buttons add, duplicate, edit and remove colours. Dragging an entry moves it: the pixels follow.
  • Groups are colour ramps from darkest to lightest: they are created from the primary to the secondary and are used by the Darken and lighten tool, by isometric faces and to keep colours in order.
  • Palette properties: name, colour limit and bits per channel (for example 5 bits as on 16-bit consoles: every added or edited colour is rounded); a locked palette cannot be changed by mistake.
  • Palette library (Ctrl+L): Game Boy, NES, Master System, Commodore 64, ZX Spectrum, EGA, PICO-8, SNES, Mega Drive, Amiga (Workbench, OCS, EHB) and your own, saved with Save to library.
  • Import and export palettes as .gpl (GIMP), .hex and PNG; Extract from an image takes the colours of an image (reducing them if there are too many).
  • The panel shows which entries are used in the document.

Variants: alternative colours for the same indices, for example the red, blue and elite enemy, or night. The drawing does not change: only the colours do.

  • In the Palette panel the Variant list picks the base or a variant; the buttons next to it (or the Palette menu) create a variant from the shown colours, rename it and delete it.
  • With a variant chosen, canvas, preview, frame strip and colour buttons show it; editing a colour changes it only in that variant. You keep drawing with the same indices.
  • A colour you add takes the base colour in every variant; moving or removing colours, the variants follow. The shown variant is not saved and is not an undo step; creating, editing and deleting variants are.

Linked palette: several documents can use the same .gpl file (for example the palette of the whole game). Palette → Linked file → Link to a palette file (or the chain button in the panel header) picks the file; if it exists and differs, you choose whether the file's colours or the document's win.

  • The document always keeps its own copy of the colours, so it opens even without the file. The file name shows under the variants, with the button to unlink it.
  • On save the palette is also written to the file; the other tabs that use the same file reload it at once, as an undo step. The file is also reloaded when you open the document, switch tabs or come back to Spriteria, so changes made with other programs arrive by themselves.
  • If the file was changed by someone else while the document's colours differ too, before saving you choose whether to overwrite it, use the file or unlink the document.
  • Documents share the file index by index, so in a linked palette colours cannot be removed, moved or inserted in the middle: you change colours, names, groups and variants and add colours at the end. Applying a palette from the library or a file unlinks the document.
  • If the file is missing or has too few colours for the drawing, the link is marked broken and the document's colours are used. Variants live in the file, so they are the same for every linked document.

The Palette menu also has: Add colour, Duplicate colour, Edit colour, Rename colour, Remove colour, New group from primary to secondary, Rename group, Sort group from dark to light, Delete group, Palette locked, New variant, Rename variant, Delete variant, Reload palette from file, Unlink palette, Import palette, Export palette.

Drawing and shape tools#

Rules shared by every tool: left button = primary colour, right = secondary; while you draw you see a preview and the document changes only when you release, so a whole stroke is a single undo step. Tools write only on the active layer and frame, never on a hidden or locked layer (the status bar says so), and only inside the selection if there is one.

ToolKeyWhat it does
PencilBDraws pixels following the mouse, with no gaps between samples. With Shift a click draws a straight line from the last point. Pixel-perfect removes the L-shaped double corners of freehand lines; Only on filled pixels paints only where there is already colour (handy for shading inside a shape).Options: Size · Shape: Square, Round · Pixel-perfect · Write: Overwrite, Only on filled pixels
EraserETurns pixels back to transparent (palette index 0).Options: Size · Shape: Square, Round
Dither brushUPaints alternating the primary and secondary colour with a checkerboard or a Bayer matrix pattern; the density sets how much each of the two weighs.Options: Size · Shape: Square, Round · Pattern: Checkerboard, Bayer 2×2, Bayer 4×4, Bayer 8×8 · Density
BucketGFills the area of the same colour. With Contiguous off it colours every pixel of that colour in the layer; tolerance joins colours that are close in the palette; the sample can be the active layer or the composed image.Options: Contiguous · Tolerance · Sample: Layer, Image
Dithered gradientFDrag to fill the selection (or the layer) with a dithered blend from primary to secondary, linear or radial, without creating new colours.Options: Shape: Linear, Radial · Matrix: Bayer 2×2, Bayer 4×4, Bayer 8×8
EyedropperILeft click picks the primary colour, right click the secondary; on a transparent pixel it picks transparency. Holding Alt turns any tool into the eyedropper for a moment.Options: Sample: Layer, Image
Replace colourKClick a pixel: every pixel of that colour becomes the primary colour, in the layer, the frame or all frames.Options: Scope: Layer, Frame, All frames
Darken and lightenDMoving over pixels shifts them one or more steps along the palette ramp (group) they belong to: darkens or lightens while staying in the ramp's colours. Pixels outside every group do not change.Options: Size · Shape: Square, Round · Direction: Darken, Lighten · Steps
Clone stampNSelect an area and choose the stamp: the brush becomes the selection's content on the active layer (empty pixels stay transparent); Ctrl+click the button to take everything visible, from all layers. The cursor shows the brush, a click stamps it even outside the selection and dragging stamps side-by-side copies; each stroke is one undo step. Letter N (in isometric mode N cycles the drawing plane). Custom stamps: with a selection, Edit → Stamps → Create custom stamp… saves the brush under a name (tick From all visible layers to take them all); Edit → Stamps → Use a custom stamp… shows every saved stamp with its thumbnail and name, renames them, deletes them and opens their folder; Use (or a double click) picks the Clone stamp with that brush. A stamp keeps its colours: colours missing from the palette are added at the end (one undo step), or the nearest ones are used if the palette is full, locked or linked.
LineLDrag for a pixel-perfect line; Shift constrains it to horizontal, vertical or 45°.Options: Thickness
RectangleRDrag for a rectangle; Shift makes a square, Ctrl draws it from the centre. Outline and fill uses the primary for the border and the secondary for the inside.Options: Mode: Outline, Filled, Outline and fill · Thickness
EllipseODrag for a symmetric ellipse with no stray pixels; Shift makes a circle, Ctrl draws it from the centre.Options: Mode: Outline, Filled, Outline and fill · Thickness
PolygonPClick each vertex; Enter, double click or a click on the first vertex closes the shape, Esc cancels.Options: Mode: Outline, Filled
CurveCClick the control points with a preview of the curve; Enter or double click confirms.Options: Thickness

Selections, clipboard and transforms#

ToolKeyWhat it does
Rectangular selectionMSelects a rectangle; Shift for a square, Ctrl from the centre. The mode decides whether to replace, add to, subtract from or intersect the existing selection.Options: Mode: Replace, Add, Subtract, Intersect
Elliptical selectionJSelects an ellipse; Shift for a circle, Ctrl from the centre.Options: Mode: Replace, Add, Subtract, Intersect
LassoQSelects a freehand outline.Options: Mode: Replace, Add, Subtract, Intersect
Polygonal selectionYSelects a polygon: click the vertices, Enter or double click to close.Options: Mode: Replace, Add, Subtract, Intersect
Magic wandWSelects pixels of the same colour, contiguous or in the whole layer, with tolerance.Options: Mode: Replace, Add, Subtract, Intersect · Contiguous · Tolerance · Sample: Layer, Image
MoveVMoves the selected content (or the whole layer, without a selection) by dragging or with the arrow keys, one pixel at a time; Ctrl at the start copies instead of moving. Wrap (No, Horizontal, Vertical, Both) brings back on the other side what goes out, on the chosen axis: without a selection the whole layer scrolls, with a selection the content wraps. Keep outside the canvas keeps the content lifted between drags, so the part that leaves the canvas is not lost and comes back whole when you bring it back in; it is cut only when you confirm with Enter or change tool. Esc cancels. The edges of the content snap to guides.Options: Wrap: No, Horizontal, Vertical, Both · Keep outside the canvas
RotateTRotates the selection (or the whole layer) by any angle around the pivot, with a crisp pixel preview (no blur); Shift snaps to 15°, and with the RotSprite option rotated outlines stay cleaner. The pivot starts from the Pivot option (centre, edges or corners of the content, shared by Rotate and Skew), shows as a crosshair and moves by dragging it or with Ctrl+click; moving it does not move what you have already rotated. Enter confirms, Esc cancels. Flips, 90° rotations and integer scaling are in Edit → Transform.Options: Pivot: Centre, Top left, Top, Top right, Left, Right, Bottom left, Bottom, Bottom right · RotSprite
Skew horizontally—Skews the selection horizontally: each row slides by a whole number of pixels, more the farther it is from the pivot, so no new colours appear. Drag horizontally: the row you grabbed follows the pointer. Shift snaps to the clean slopes 1:2, 1:1 and 2:1 (2:1 is the isometric slope). Pivot, Enter and Esc as in Rotate.Options: Pivot: Centre, Top left, Top, Top right, Left, Right, Bottom left, Bottom, Bottom right
Skew vertically—Skews the selection vertically: each column slides up or down by a whole number of pixels, in proportion to its distance from the pivot. Drag vertically; Shift snaps to 1:2, 1:1 and 2:1. Pivot, Enter and Esc as in Rotate.Options: Pivot: Centre, Top left, Top, Top right, Left, Right, Bottom left, Bottom, Bottom right
  • Select all Ctrl+A, Deselect Ctrl+D, Invert selection Ctrl+Shift+I; Del clears the selected content.
  • Copy Ctrl+C, Cut Ctrl+X, Paste Ctrl+V (pasted content stays floating and moves with the Move tool; Enter confirms) and Paste into a new layer Ctrl+Shift+V. Images copied from other programs paste too, brought to the palette.
  • Edit → Transform: Flip horizontally Shift+H and vertically Shift+V, Rotate 90° Shift+R, −90° and 180°, Scale… (factor ×2, ×3, ×4, ×1.5, ½, ⅓, ¼ and method, as in Resize document; the top-left corner stays put) and Wrap-around scroll. They act on the selection or, without a selection, on the active layer.
  • The arrow keys move the selection or the content you are moving by one pixel.
  • Edit → Canvas size changes the canvas size choosing the anchor; it applies to every frame.
  • Edit → Resize document changes the size of the drawing without new colours. You choose the size of the document (linked proportions or not, ready-made factors ×2, ×3, ×4, ½, ⅓), of the cell in a spritesheet or font, of the tile in a tileset (each cell or tile is scaled on its own; spacing and margin scale with it or stay). Method: Automatic picks the best; MMPX (×2, ×4) and Scale2x/Scale3x enlarge while smoothing diagonal steps without inventing colours; Block reduction (½, ⅓, ¼) keeps outlines and dark details; Nearest neighbour works for any factor; Rebuild the grid brings a drawing enlarged elsewhere back to its true size. Non-whole factors are done by enlarging and then reducing. Game data, pivot, nine-slice, grids, font metrics, collisions and remembered effects scale with the drawing; tiles stay seamless. Before/after preview, a single undo step; from the command line SpriteriaCli resize.

The Edit menu also has: Redo, Clear.

The Edit → Transform menu also has: Flip vertically, Rotate 90° clockwise, Rotate 90° counter-clockwise, Rotate 180°.

Symmetry#

View → Symmetry chooses a vertical axis, a horizontal one or both: everything you draw is mirrored, and the preview already shows the reflected pixels. The axis position puts them on the centre of a pixel or between two pixels, for shapes of even or odd width. In isometric mode isometric symmetry also swaps the left and right face colours.

The View menu also has: Isometric → Symmetry (swap faces).

The View → Symmetry menu also has: Vertical axis (left and right), Horizontal axis (top and bottom), Both axes.

Layers#

  • The Layers panel lists layers from top to bottom: the eye hides them, the padlock locks them, a double click on the name renames it, dragging reorders them.
  • Under the list: layer opacity and blend (Normal, Multiply, Screen). Compositing is computed by the program, identical on every computer, and never adds colours to the palette: it applies to the view and to exports.
  • Layer menu: New Ctrl+Shift+N, Duplicate, Delete, Rename, Move up and down, Merge down, Merge visible layers, Flatten.
  • In animations every layer has a cel per frame: the timeline at the bottom shows which cels contain pixels.
  • Reference layer: an image to trace over (a sketch, a photo, a game screenshot). Layer → Reference → New reference layer from file (PNG, JPG, BMP, GIF) or from the clipboard: the image is centred and scaled down to fit the canvas, at 50% opacity. It only shows on the canvas: it never goes into exports, thumbnails, the preview or the onion skin.
  • You cannot draw on a reference layer. The Move tool moves the image, Layer → Reference → Reference position and scale sets an exact position and scale (or fits it to the canvas), and the Eyedropper picks the palette colour nearest to the image. Merging and flattening layers leave references alone.

The Layer menu also has: Duplicate layer, Delete layer, Rename layer, Move down.

Readability check#

A sprite has to read well in the game. View → Check only changes how colours look on the canvas, in the preview, the film strip and the palette swatches; exports and the document colours do not change.

  • Values (greyscale) Ctrl+Alt+V: the lightness of each colour. Shapes must work without colour too; in the palette you see which colours share the same value. The same key goes back to normal colours.
  • Silhouette: every filled pixel in a single colour, to check that the shape is recognisable.
  • Protanopia, Deuteranopia, Tritanopia, Achromatopsia: how people with a kind of colour blindness see the colours (simulation by Machado, Oliveira and Fernandes).
  • View → Isolated pixels outlines in red the pixels that have no neighbour of the same colour, and the status bar counts them: it helps to find noise left while drawing. Intended pixels (a star, a highlight) stay marked: it is a check, not a rule.

The View → Check menu also has: Normal colours.

The Layer menu also has: New reference layer from the clipboard.

Normal maps for 2D lighting#

A normal map tells, for every pixel, which way the surface faces: Godot's 2D lights use it to light the sprite. In pixel art it is drawn by hand, with a few directions.

  • Layer → Normals → New normal layer adds a layer holding directions instead of colours. It shows in normal map colours, never enters the colour composition and does not change with the palette.
  • With the normal layer active the Colours panel becomes Normals: a disc with the flat direction in the middle and three rings of 16 directions. Left button = primary, right = secondary. Every drawing tool writes the direction as it would write a colour; the eyedropper reads it; shade, replace colour and isometric tools stop.
  • Layer → Normals → Fill flat (normals) puts the flat normal wherever there are colours: then you only draw the slanted edges.
  • Flipping or rotating a normal layer turns the directions too, and the mirrored directions of a multi-direction sprite get mirrored normals.
  • View → Test light lights the canvas from one of 8 directions, to check the result without leaving the editor.
  • In exports (spritesheet, PNG, sequence, Godot SpriteFrames and, with an export target, Godot TileSet) the Normal map option writes name_n.png with the same layout, with y up (Godot) or down. For Godot the atlas becomes a CanvasTexture with colours and normals: just add a 2D light to the scene.

The View → Test light menu also has: Off, From the north, From the north-east, From the east, From the south-east, From the south, From the south-west, From the west, From the north-west.

Animation#

An animation with the frame strip, tags and onion skin
An animation with the frame strip, tags and onion skin
  • Play / stop Ctrl+P, with speed, loop and range (all frames or a tag) in the animation bar. Alt+← and Alt+→ go to the previous and next frame.
  • New frame Alt+N (with New as copy it copies the current frame), Duplicate Alt+D, Delete, Move earlier/later; in the strip drag a frame to move it and use Shift+click to select several.
  • The duration of every frame in milliseconds, from the box in the bar or from Animation → Duration for all the selected frames.
  • Copy/Paste frames also between documents, Copy previous frame here Alt+C, and Ctrl+Alt+arrows to shift the whole frame content by one pixel.
  • Flip frames horizontally or vertically: every layer of the selected frames together with their game data (to get the left walk from the right one).
  • Record frames Shift+F9 (also from the red button at the bottom of the toolbox) helps you put an animation together quickly, especially an ambient one: move or rotate layers, then Create frame F9 copies the current frame into a new frame, at the end or after the current frame, and moves to it; the previous frame stays as it was. A static document becomes an animation at the first shot. Layers you did not touch between one frame and the next become linked cels, the new frame takes the duration of the current one, a tag ending there grows, and onion skin is on while recording. Each shot is one undo step; Shift+F9 or the button stops recording.
  • Linked cels: the same drawing shared by several frames of the same layer (a head that stays still while the legs walk). In the timeline choose the cels with Shift+click, then right-click → Link the chosen cels: they all take the drawing of the active cel. A stroke on one changes all of them, in a single undo step; Unlink gives the cel its own copy.
  • A bar under the timeline cels joins the linked ones (blue for the group of the active cel). Animation → Duplicate selected frames linked (also from the right-click in the timeline) makes frames whose cels are all linked to the originals; Duplicate makes independent copies instead. Flipping or outlining some frames changes the linked frames too, and the status bar says so.
  • Tags: named frame ranges with a colour and a direction (forward, reverse, ping-pong), for example walk, idle, jump. They become the animations in exports.
  • 4- and 8-direction sprites: an animation is a name and each direction is a tag with that name and a facing (in the tag window). Animation → Directions → Set up directions picks 4 or 8 directions, the drawn side (directions on the other side are mirrored: with 8 directions you draw 5), how they go into exports and the naming convention (walk_se, walk_down_right or walk_7). Recognise directions from tag names derives them from tags such as walk_down (handy after an Aseprite import).
  • The Directions panel shows the rose of the chosen animation: clicking a drawn direction goes to its frames, a mirrored one plays it flipped in the preview, a missing one creates its empty frames at the end. In exports mirrored directions become flipped frames (with game data and pivot mirrored) or just names with flipH in the JSON and metadata/mirrors for Godot, if the game flips them itself.
  • Pre-rendered rotations: Animation → Directions → Generate rotations… rotates the active frame, the selected frames or a tag to N angles (2–64, clockwise or counterclockwise, from a first angle of your choice) for vehicles, turrets, bullets and top-down games. The RotSprite method enlarges the drawing with Scale2x before rotating it: outlines stay continuous and no new colours appear; at right angles the rotation is exact. It rotates around the pivot if there is one, otherwise around the centre of the selection or of the canvas; the canvas grows if the rotated drawing does not fit. The result is one tag per angle (name_000, name_045…) or, from a single frame, one tag with a frame per angle; with 4 or 8 angles and directions on, the tags get their facing. The preview shows every angle; it all undoes in one step.
  • Onion skin Ctrl+Shift+O: previous frames in red and next ones in blue; in its settings you choose how many, the opacity, active layer only and loop.
  • A static document becomes an animation with Convert to animation.

The View menu also has: Onion skin settings.

The Animation menu also has: First frame, Previous frame, Next frame, Last frame, Duplicate selected frames, Delete selected frames, Move later, Copy selected frames, Paste frames, Flip frames horizontally, Flip frames vertically, New tag from selected frames, Edit tag, Delete tag.

Effects#

Effects draw on the document starting from what is already there: select a part (for example the gem of a ring), choose an effect from the Effects menu, and a window offers its settings with a live preview. Static effects add a layer above the active one and draw in it; animated effects add a layer and the frames of the animation. Your drawing doesn't change, and everything undoes in a single step. In the menu the effects are grouped by kind and family: Static: Light, Static: Surface, Animated: Motion, Animated: Action and so on.

  • Area and shape: the selection (or the whole canvas) says which shape to start from: the pixels of the active layer, or with Shape from all visible layers what you see. The effect also draws around it, outside the selection: the reflection under the object, the shadow on the ground, the glow all around. With Draw only inside the selection it stays inside.
  • Glow (static): a halo around the shape that fades with distance. Radius, number of tones, intensity, transition between tones (dithered, banded, solid), veil over the shape, colour near the shape and outer colour.
  • Rim light (static): the edge pixels facing the light take a light colour, and optionally those on the opposite side a shadow colour. Light from starts from the light direction of isometric mode; Inside the dark outline keeps a one-pixel outline as it is and puts the light just inside it; Inner edges too also lights the holes of the shape.
  • Highlights (static): small touches of light on the shape, near the outer edge on the side facing the light, even on thin shapes like a wedding ring. Number, size, shape (dot, straight stroke, curved stroke that follows the edge), minimum distance and colour; the dark outline stays as it is.
  • Sparkle (static and animated): cross, diagonal cross, 8-pointed star or diamond sparkles, on the shape, on its brightest pixels or anywhere in the area, with minimum and maximum size, minimum distance, centre and ray colours. In the animated version each sparkle appears, grows, shines and fades: Life says for how many frames, Rhythm whether in random order or in sequence.
  • Pulse (animated): a glow that grows and shrinks, the shape brightening towards the colour near the shape, or both. Minimum and maximum radius, tones, curve (wave, double beat, sawtooth), brightening and colours.
  • Points: some effects start from a point (the smoke origin, the flame base, the sparks' contact point) or from two (start and end of the particle line). In the preview they are blue rings: drag them where you want, and Swap points swaps the two. They start on the shape (above, below or at its centre) or, without a shape, at the bottom of the area.
  • Particles (animated): an emitter (a point, a line, the whole area or the edge of the shape) throws particles (pixel, 2 × 2, cross, spark, small ring) with speed, direction, spread and gravity; the colour goes from the start colour to the end colour, and the size can stay the same, grow or shrink.
  • Smoke (static and animated): puffs that rise from the origin, sway, widen and thin out, with light and shadow. Puffs, starting size, growth, height reached, density; in static smoke Moment picks the instant of the animation.
  • Friction sparks (static): a fan of sparks from the contact point, with a bright head and a darker tail; direction, spread, number, streak length, distance, gravity and embers.
  • Fire (animated): fire rising from the base, with width, height, wind, turbulence, style (soft tongues or blocky), tones from the core to the outside, embers and smoke on top: the same puffs as Smoke, rising from the tip and bent by the wind, with number of puffs, height, size, density and two colours (the smoke controls turn on with the checkbox).
  • Cast shadow (static): the silhouette laid on the ground on the side away from the light, slanted, an ellipse under the shape, or the silhouette offset by a few pixels. Ground line (point), light, length, slant, dithered density (25–100%), fading with distance and colour. The shadow never covers the shape.
  • Mirror reflection (static): the shape upside down under the water line, like in a puddle. Distance from the line, reflection height, colours (tinted towards the water colour, darker along the palette ramp, or the same) and amount, waves, ripples (dashed rows in the ripple colour) and fading towards the bottom.
  • Hit flash (animated): the silhouette in a single colour (white at first) in some frames: one flash, two flashes or alternating, with an optional outline around it.
  • Dissolve (animated): the shape disappears or appears with dithering, grains, a sweep from one side, or disintegrating with the pixels flying away in the chosen direction.
  • Shake (animated): the shape shakes by 1–4 pixels horizontally, vertically or both, randomly or regularly, and can settle down.
  • Bounce (animated): the shape jumps and falls with gravity, squashes on the ground and stretches when taking off and landing; height, bounces per cycle, squash, pause on the ground and a ground shadow that shrinks as it rises.
  • Hole (static): a hole in the surface, with a centre you can drag. Shape (circle, ellipse, irregular, rectangle, star crack), width, height, roughness, view (from above or three-quarter, with the far wall visible), depth in tones from the wall to the bottom, light, lip (raised or broken, in the surface colour lightened towards the light and darkened on the other side) and debris. Inside: in shadow, or empty: the active layer's pixels inside the hole are removed and you see what is underneath.
  • Hole opening and Hole closing (animated): the same settings as the hole; the hole widens from the centre, or the cracks open first and then it collapses, with debris flying away; the closing one ends with the whole surface (with an empty inside the pixels come back).
  • Magnifying glass (static): a circle that magnifies what is underneath (all visible layers) 2, 3 or 4 times, flat or bubble-shaped, with a rim (thin, or thick with the handle in the chosen direction) and a glint on the glass.
  • Flowing water (animated): a current, stream or waterfall over the whole selection or on the shape, in the chosen direction: light streaks moving 1–8 pixels per frame over two or three water tones, ripples and foam flickering at the edges. The loop is exact: the pattern repeats after speed × frames pixels.
  • Fountain (animated): a jet of water from the outlet point to the landing point (both draggable, with Swap points), on a parabola as high as you choose. One or more jets in a fan, thickness, continuous or drop-by-drop jet, splash and rings widening where the water lands.
  • Lightning (animated): a bolt from the start to the end (at first from the top of the area to the top of the shape), with roughness, branches, core thickness and glow. Each strike lasts two frames (full, then a flicker) and after the last one there is a pause; optionally a new shape for each strike and a flash that brightens the shape.
  • Auto shading (static): gives volume to a flat shape. Each pixel near the edge moves up or down its palette group's ramp (or to the nearest lighter or darker palette colour) according to the light: strength in ramp steps, shadow and light width, dithered or banded transition, inside the dark outline.
  • Outline anti-aliasing (static): adds in-between pixels in the notches of diagonal and curved steps, in long steps only or in all of them, outside or inside the outline, with the colour halfway between outline and fill (the nearest in the palette) or a chosen one. Straight lines and 45-degree diagonals stay as they are.
  • Fill with a material (static): the terrain generator's textures (dirt, cobblestones, bricks, wood, metal…) on the shape or, with no shape, across the whole selection: base colour, contrast, detail, light and edge (none, shadow, outline).
  • Wear (static): scratches with a light side toward the light, cracks starting from the edge, stains, rust in the chosen colour and chipped edges, each with its own amount.
  • Build-up (static): snow, moss, sand or dew on the edges facing one side (the top at first), with thickness, irregularity and hanging drips.
  • Contact shadow (static): the dithered dark veil where the object touches the ground, below the active layer: width relative to the base, height, density, fading at the sides and a draggable ground line.
  • Ice (static): a cold tint on the shape, diagonal blade-like glints and small crystals on the edges.
  • Grass tufts on the edge (static): blades, tufts and little flowers along the shape's upper edge (platforms, terrain), with density, height, colours and light.
  • Emboss and engrave (static): a crisp bevel along the edge of the shape, taken from the active layer or the selection. Raised lightens the side facing the light and darkens the other, Sunken does the opposite, like an engraving. Depth 1 to 3 pixels (past the first, the tone fades inwards), Strength 1 or 2 ramp steps, Light from as in the other effects. Outer edge too also changes the background around the shape: the cast shadow when raised, the rim of the plate when sunken; it is the look of letters and symbols on stone or metal (draw the symbol on a layer above the plate, even in the same colour). Palette colours only.
  • Starry sky, Pixel clouds and Sky gradient (static, Backgrounds family): fill the selection or the whole canvas, no shape needed, in a layer below the active one. Stars of one or two pixels and crosses; clouds with coverage, size, light and two or three tones; a gradient of 2–5 colours from top to bottom, dithered, clustered or banded.
  • Procedural animations (animated, Motion family): they move the shape onto the effect layer without mixing colours and loop exactly; those with a Curve (linear, smooth, bounce, elastic) use it both ways.
  • Spinning coin: the shape narrows down to a line and widens again around the vertical or horizontal axis; the back face is mirrored and darker, in a chosen colour, or just mirrored; turns per cycle and edge thickness.
  • Float: a smooth up-and-down, with amplitude and curve, and a ground shadow that shrinks as the shape rises.
  • Breathing: a slight cyclic squash from the base, vertical only or in width too.
  • Swing: a pendulum around the Pivot (draggable, above the shape at first), with maximum angle and damping; the rotation picks the nearest shape pixel for every pixel, so the indices stay the same.
  • Recoil: a fast push in the chosen direction and a return with the curve, with a slight squash.
  • Flag in the wind: a wave travelling away from the fixed side, wider toward the free edge, with light and dark folds.
  • Heat or underwater distortion: rows (or columns) wave sideways; heat is stronger at the top and keeps the base still.
  • Colour cycling (animated, Colours and signals family): the colours of a palette group cycle over the pixels that use them (water, lava, signs), in one direction, with a step per frame, even on part of the group only; with group 0 (automatic) the palette group the shape uses most cycles; with no groups the shape's colours cycle from darkest to lightest, except the darkest (usually the outline, which stays still). Only the pixels in those colours move to the effect layer. The loop is exact when the frame count is a multiple of the ramp length.
  • Shine sweep: a band of light crosses the shape at the chosen angle and width, in the chosen colour or lightening along the ramp, then rests for the remaining frames; once, twice or three times per cycle.
  • Bubbles: bubbles rising from the Origin (or from the whole bottom of the area), swaying, growing a little and popping.
  • Dripping: drops swelling under the lowest point of the shape, falling faster and faster and splashing.
  • Emote: rising hearts, Zzz, a jumping exclamation mark or a sweat drop at the chosen Position, at 1× or 2× size.
  • Animated outline: an outline around the shape that pulses, or marching ants.
  • Weather (animated, Backgrounds family, above the active layer): rain with splashes on the Ground line, snow, falling leaves or fireflies across the selection; density, wind and speed; the loop is exact.
  • Trail (animated): dithered, faded copies behind the shape, opposite to the direction it moves, in a layer below the active one; chosen or original colour. With On every frame on the existing frames and Follows the movement between frames, the copies trail the shape's real movement from one frame to the next; otherwise they go in the chosen direction.
  • Invulnerability blink (animated): the shape switches off on alternate frames (vanishes, dithered or coloured), with the chosen rhythm.
  • Explosion, Shockwave and dust, Teleport and Slash (animated, Action family, not looping): flash, fireball, smoke and debris around the Centre; a flattened ring that widens and thins out, with dust at the sides; the shape vanishing (or appearing) in columns of pixels with a flash; the arc of a blow from the start angle to the end angle, with a bright core, a coloured edge and sparks at the tip.
  • Effects that move the shape (dissolve, shake, bounce): the pixels move from the active layer to the effect layer in the effect's frames, so the original doesn't stay still underneath; the effect layer takes the opacity and blend mode of the active layer. With Shape from all visible layers everything you see moves (for example a body and a crown on different layers). If part of it goes outside the canvas (or the selection, with Draw only inside the selection) the window says so.
  • Frames: an animated effect adds frames after the active one (a static document becomes an animation) with the chosen duration, plus a tag named after the effect. In the new frames the other layers have linked cels pointing to the active frame: touch up the drawing and it changes in all of them. With On the existing frames the effect goes on the active frame and the ones after it, without a tag; missing frames are appended at the end, linked to the last one and with its duration, and a tag that ended on the last frame grows to include them. When there are frames after the active one the dialog proposes this mode by itself (with saved values your last choice wins), and below the preview it says how many frames it writes and how many it adds. Repeating animations loop seamlessly. Animated effects aren't available in sheets, tilesets and fonts.
  • On every frame (in animations; on at first when the active frame is inside a tag): the effect follows the shape of each frame. A static effect is computed for every chosen frame (Frame: the active frame's tag, all of them, or those selected in the strip) with that frame's shape, in the same new layer: a glow follows the jumping slime. An animated effect on the existing frames uses, at each step, the shape of the frame that receives it. Points stay where they are; with Points follow the shape they move with the centre of the shape, frame by frame. The seed is the same in every frame, so a sparkle doesn't jump around while the shape stands still.
  • Colours: missing colours are added at the end of the palette (the preview says how many); with Use only the palette colours, or with a locked or linked palette, each colour takes the nearest one. Seed and New seed change the arrangement: the same settings and seed always give the same result.
  • Layers that remember their effect: a layer created by an effect remembers the effect, its values (points, colours and seed too), the selection, and the layer and frame it started from. In the Layers panel it shows the effects icon: double-click the icon, or use Layer → Effect → Edit effect…, to reopen the window with those values, and Apply redraws the layer on the same frames in a single step (effects that move content first put the pixels back where they were).
  • If you change the frame count of an animated effect, frames are added or removed at the end of its own, together with the tag; if another layer uses those frames differently from the linked starting drawing, the window says so and offers to apply the effect in a new layer. A layer retouched by hand after the effect shows a dimmed icon, and redrawing it asks for confirmation because the retouches are lost. Layer → Effect → Forget the effect turns it into a normal layer.
  • Combinations: several effects applied together in a single step, one layer per effect, stacked, on the same frames (the first animated effect decides them; static ones go on each of those frames). Effects → Apply a combination lists them; Effects → Combinations… shows them with an animated preview, applies them and creates new ones from the last applied effect or from the document's effect layers, which you can rename and delete. Built in: Lit torch (flame with smoke plus glow), Pickup item (float, shine sweep and sparkle), Hit (hit flash, shake and shockwave), Magic (particles, pulse and animated outline). After an effect that moves the shape, the following ones take it from that effect's layer, frame by frame. Personal combinations live in effect-combinations.json in the preferences folder.

Hand-drawn spritesheets#

A hand-drawn sheet of items split into cells
A hand-drawn sheet of items split into cells

A Spritesheet document is a single canvas split into cells: useful for items, icons or poses you prefer to draw side by side. Cells have an outline that is always visible, spacing and margin are shaded and the cell under the cursor is highlighted.

  • Sheet → Sheet layout: cell, columns, rows, spacing and margin; any static document can become a sheet too (the drawing is cell 0).
  • Select cell under cursor Ctrl+Alt+A: then copy, transforms and tools work only there.
  • Convert sheet to animation (one cell per frame) and Arrange frames in a sheet.
  • Export sheet with JSON: the PNG as it is (with the scale) and a JSON with one entry per cell.

Frame game data#

Hitboxes, hurtboxes, anchor points and events are drawn right on the frames and end up in the exports, so your game code does not have to know them by heart. They work in static and animation documents.

  1. In the Frame data panel press + and create a type: name (for example hitbox), kind (box, point or event) and colour.
  2. Choose the type in the list and take the Game data tool.
  3. Boxes: drag to create them, drag from inside to move them or from a corner pixel to resize them. Points: click to place or move them. Events: click the canvas, or the box in the panel, to switch them on or off in the frame.
  4. The panel shows how many boxes the frame has, the point coordinates or the event box; below you can fix the numbers of the chosen box or point.
  5. Copy data from previous frame or to the selected frames with the panel buttons.
ToolKeyWhat it does
Game data—Draws the frame's game data with the type chosen in the Frame data panel: boxes (drag; Shift square; drag from inside to move or from a corner to resize), points (click or drag) and events (click to switch them on or off). Right click removes the point or box under the cursor.
  • Data follow the frames when you duplicate, move, paste or flip them or resize the canvas.
  • Events show as coloured diamonds on the thumbnails of the frame strip; with onion skin the boxes of the previous frame are dashed.
  • View → Show game data hides or shows the overlay.
  • Coordinates are in pixels of the whole frame, on the edges between pixels like the pivot; in exports they are multiplied by the scale.

Nine-slice for panels and buttons#

You draw a panel or a button once, small, and the game enlarges it: the corners stay fixed, the edges stretch (or repeat) in one direction only, the centre in both. The four cuts of the nine-slice say where corners and edges end.

  • In static documents and animations the nine-slice applies to the whole document (the frames are the button states: normal, hover, pressed); in a sheet every cell has its own, because an interface sheet holds different panels. Tilesets have none.
  • The Nine-slice tool: a click where there is no nine-slice yet creates one with the cuts at a third; dragging moves the nearest cut (one undo step); the right button removes it. The options bar has Active, the four margins and the horizontal and vertical mode: Stretch, Tile or Fit (repeats a whole number of times, like Godot's axis_stretch).
  • View → Nine-slice shows the cuts as dashed lines with the other tools too.
  • Edit → Nine-slice preview shows the current frame (or the last clicked cell) enlarged to a test width and height, with zoom, computed with the same rules as Godot; margins and modes can be changed there too.
ToolKeyWhat it does
Nine-slice—Marks the nine-slice margins of the document or of the sheet cell: click to create one with the cuts at a third, drag to move the nearest cut, right-click to remove it; margins and modes from the options bar too.Options: On · Left · Top · Right · Bottom · Horizontal: Stretch, Redo, Fit · Vertical: Stretch, Redo, Fit

File → Export for Godot → Nine-slice StyleBox writes the PNG and a StyleBoxTexture .tres with margins, modes and region (one per frame for an animation, name_0.tres…; one per cell with a nine-slice for a sheet, name_column_row.tres), plus optionally name-test.tscn with three NinePatchRect nodes of different sizes. It is also an export target kind and a SpriteriaCli format (--format=godot-stylebox). The spritesheet and sheet JSON carry nineSlice (left, top, right, bottom, h, v) for every frame or cell, in scaled pixels.

Bitmap fonts#

A bitmap font is drawn letter by letter, like a spritesheet: every cell is a character. You export it in BMFont format (.fnt and PNG), which Godot and many other engines read as a font.

  • File → New → Bitmap font: cell size (the largest letter), baseline (rows from the top of the cell), columns and characters: printable ASCII, ASCII plus the accented letters of European languages, or the characters of a text you type. The rows follow the number of characters.
  • On the canvas every cell shows the baseline in orange and its character in the corner; the status bar shows the character under the cursor and its code (U+00E0).
  • The Font panel writes a test text with the document's glyphs while you draw (\n starts a new line). Below are the metrics: baseline, line height, spacing between letters, space width and Monospaced (every letter advances by one cell).
  • Click a cell to choose its character: the panel shows the advance (automatic = rightmost column + 1 + spacing, or a value of your own) and the kerning: type the following character and the correction in pixels (for example AV −1).
  • The panel buttons add characters (new cells at the end, the sheet grows) and remove the chosen one (the following cells move back). Empty glyphs, except the space, are listed in red.

File → Export → BMFont font writes name.png with the glyphs cropped and packed (in colour, as drawn) and name.fnt in text BMFont with characters, advances, kerning, baseline and line height, all at the chosen scale. In Godot the .fnt imports as a FontFile: assign it to a Label with size = cell height × scale and the Nearest filter. It is also an export target kind and the bmfont format of SpriteriaCli.

Export#

CommandWhat it writes
Export PNG Ctrl+EThe current frame composed, at real size.
Export indexed PNG Ctrl+Shift+EA palette PNG with the same indices as the document (useful for palette-swap shaders).
Export spritesheetA PNG with every frame (or a tag) in a row, column, grid or packed, with spacing, margin, extrusion, trimming of transparent areas and whole scale, plus a JSON in the Aseprite "array" format.
Export animated GIFThe GIF with the frame durations.
Export PNG sequenceOne file per frame: name_000.png, name_001.png…
Export for Godot (SpriteFrames)A Godot 4 .tres resource with the spritesheet next to it (see the Godot section).
File → Export → Sheet with JSONThe sheet as it is with one JSON entry per cell.
File → Export for Godot → Tileset / File → Export → Test map as PNGTileSet, map scene and PNG of the test map.

For every frame the spritesheet JSON contains its position in the sheet, trimming, duration, pivot and, if present, the game data (data with boxes, points, events); meta holds the tags (frameTags), the scale, the data types (dataTypes) and, in isometric mode, the tile geometry. It is UTF-8 without BOM and reads with the importers of the Aseprite format.

Palette variants: the spritesheet, the Godot export and export targets have the Palette variants option: base only, base and all variants (the same files with the variant name at the end: slime.png, slime_blue.png…), a single variant, or the base with the palette swap table: slime_palette.png (row 0 the base, row n variant n, column i colour i) and slime_indices.png, the image with the colour index in the red channel, for a shader that picks the colour from the table. The spritesheet JSON lists the variants in meta.paletteVariants.

Automatic export and command line#

A document can remember where and how to export itself: the export targets. When you save, exports update by themselves.

  • In the export windows with options, tick Update on every save: the export you just made becomes a target.
  • File → Export targets lists the targets with the box to enable them, the files they write, the options and the result of the last export; from here you add (PNG, GIF and sequences too), edit, delete or export at once.
  • On every Save the enabled targets run: each writes all its files or none (first in a temporary folder, then it moves them), and an error does not stop the save. The status bar tells how it went; a click on the error message opens the targets.
  • File → Re-export all redoes the exports without saving. Automatic backups never export.
  • Paths are saved relative to the project: if you move the project folder and the game folder together they keep working. The output folder must exist.

For build scripts there is SpriteriaCli.exe, next to Spriteria.exe: it exports without opening any window and writes the same files as the app, byte for byte.

SpriteriaCli export hero.spriteria
SpriteriaCli export hero.spriteria --target=1,gif --out=build --scale=2
SpriteriaCli export hero.spriteria --format=godot-frames --out=build
SpriteriaCli list hero.spriteria
SpriteriaCli resize hero.spriteria --factor=2 --out=hero-x2.spriteria
SpriteriaCli help
OptionMeaning
export without --formatRuns the enabled targets of every file given.
--target=n|kindOnly the given targets, by number (from 1) or kind, several separated by commas and also when disabled.
--out=folderWrites there instead of the target's folder (created if missing).
--scale=nOverrides the scale.
--variant=name|all|basePalette variants to export: one by name, all the base and all of them, base the base only.
--format=kindExport with the default options, even without targets: png, sheet, gif, sequence, sheet-doc, godot-frames, godot-tileset, map-png (with --tag=name for the range).
--format=script:idExport with a script (see Scripts): --format=script:sheet-json; --param=name=value sets a script parameter (may repeat), --script-dir=folder adds a script folder.
listLists the targets and the files they would write.
--lang=it|en|fr|es|deLanguage of the messages (English by default).

Exit codes: 0 success, 1 at least one export failed (or no enabled target), 2 wrong arguments or unreadable file. Written files go to standard output, errors to standard error.

Scripts#

Scripts are small Lua files (.lua) that export the document to formats Spriteria does not know. Spriteria includes a few; yours go in the personal folder %APPDATA%\Spriteria\scripts, and one of yours with the same file name replaces the built-in one.

  • File → Export → With a script… picks the script, then its parameters, the scale and the palette variants; with Update on every save the export becomes a target.
  • In File → Export targets every export script appears as the type Script: name, with the Script parameters… button.
  • From the command line: SpriteriaCli export hero.spriteria --format=script:sheet-json --out=build; --script-dir=folder adds a script folder.
  • Scripts cannot open files, start programs or go online: they read the document and write only into the export folder. If a script stops with an error it writes nothing, and the message gives the script name and line.

A script returns a table that describes it, with the function that exports. doc is the document (frames, layers, tags, palette, game data…), out writes the files, params has the declared parameters plus scale, fileName and baseName:

-- %APPDATA%\Spriteria\scripts\frames-txt.lua
return {
  name = "Frames as text",
  kind = "exporter",
  extension = ".txt",
  documents = { "animation" },
  params = { { id = "prefix", kind = "text", default = "frame" } },
  export = function(doc, out, params)
    local lines = {}
    for i, f in ipairs(doc.frames) do
      lines[#lines + 1] = params.prefix .. " " .. i .. ": " .. f.duration .. " ms"
    end
    out:text(params.fileName, table.concat(lines, "\n") .. "\n")
  end,
}

Commands. A script with kind = "command" has the function run(doc, params) and appears in the Script menu. Parameters are asked in a dialog before it starts and remembered for next time. Everything the command changes becomes a single undo step, named after the script. If it takes more than a second a window with Stop appears; an error or a stop leaves the document as it was. doc.activeLayer, doc.activeFrame, doc.primaryColor and doc.secondaryColor tell where you are and with which colours. Lines written with print appear in a window at the end.

-- %APPDATA%\Spriteria\scripts\border.lua
return {
  name = "Frame border",
  kind = "command",
  params = { { id = "color", kind = "color", default = 1, min = 1, max = 255 } },
  run = function(doc, params)
    local l, f = doc.activeLayer, doc.activeFrame
    for x = 0, doc.width - 1 do
      doc:setPixel(l, f, x, 0, params.color)
      doc:setPixel(l, f, x, doc.height - 1, params.color)
    end
  end,
}
MethodWhat it does
doc:setPixel(l, f, x, y, i), doc:setCel(l, f, img [, x, y])Pixels of a cel (layer and frame from 1, x and y from 0, palette index).
doc:addLayer(name [, pos]), deleteLayer, duplicateLayer, moveLayer, setLayer(l, {...})Layers: name, visible, locked, opacity, blend.
doc:addFrame([pos, duration]), duplicateFrame, deleteFrame, moveFrame, setDuration(f, ms)Frames and durations.
doc:addTag(name, from, to [, direction]), deleteTag(t)Animation tags.
doc:addColor(r, g, b [, a]), doc:setColor(i, r, g, b [, a])Palette (not when it is locked).
doc:select(x, y, w, h), selectAll(), deselect(), isSelected(x, y)Selection.

Script → Script editor (Ctrl+Shift+L, or Edit in the editor in Manage scripts) is a window next to the image editor for writing, checking and running a script without leaving Spriteria. New starts from a working template (exporter, command, effect); Open lists the library scripts or opens any .lua file. Built-in scripts open read-only: to change one, save it under another name in the personal folder. Saving reloads the scripts: the Script menu, exports and effects update at once.

  • Text is coloured for keywords, Lua functions, the Spriteria API, numbers, strings and comments; line numbers, current line and matching bracket. Tab and Shift+Tab indent several lines too, Enter keeps the indent (and adds one after then, do, function…), Ctrl+/ comments lines, Ctrl+F and F3 find, Ctrl+G goes to a line.
  • Completion: after . or : (spriteria., doc:, input:, out:, img:…) or after two letters, and with Ctrl+Space, a list appears with the signature and a line of explanation; Enter or Tab inserts, Esc closes. It also knows the fields of the table that describes the script and the names already used in the file.
  • Check (F7): the text is checked by itself half a second after the last keystroke; a syntax error marks the line in red and shows at the bottom. F7 also checks the describing table, as the library does.
  • Run (F5) saves and tries the script on the active document: a command as from the Script menu (one undo step), an effect tests frame 0 and opens its window, an exporter writes into a temporary folder and opens it. Lines from print and errors (with their line) go to the Output panel: a click on an error moves the cursor there. F1 opens this guide at the reference.

The Script menu also has: Manage scripts (every script, built-in and personal, with its description or error and buttons to edit it in the editor and to open the file), Open the scripts folder, Reload scripts (after adding or changing a file).

Scripts: reference#

This section is the complete reference for writing scripts. Scripts are written in Lua 5.4, the same language as Aseprite scripts: a small language you can learn in an afternoon. The fullest examples are the built-in scripts (sheet-json, unity, gamemaker, inbetween): open the scripts folder next to Spriteria.exe, or use Script → Manage scripts and Open the file.

Lua in brief. The lines below show almost everything you need. Lists and positions (frames, layers, tags, colours) count from 1; pixel coordinates from 0, as in images. An error stops the script: error("message", 0) shows only the message, without the code location.

-- a comment runs to the end of the line
local n = 3                      -- local variable (always use local)
local nome = "eroe" .. n         -- .. joins texts: "eroe3"
local lista = { 10, 20, 30 }     -- lists start at 1: lista[1] == 10
local punto = { x = 4, y = 7 }   -- table with fields: punto.x == 4
print(#lista)                    -- # is the length: 3

for i = 1, #lista do             -- from 1 to 3 inclusive
  if lista[i] ~= 20 then         -- ~= means "not equal"
    print(i, lista[i])
  end
end
for i, v in ipairs(lista) do end -- the same, with index and value
for k, v in pairs(punto) do end  -- every field (in any order)

local function doppio(v)         -- function
  return v * 2
end
local a, b = 7 // 2, 7 % 2       -- integer division 3 and remainder 1; 7 / 2 = 3.5
if not punto.z then error("manca z", 0) end  -- nil when the field is missing

The table that describes the script. Every .lua file ends with return { ... }. Spriteria reads the table at start-up (and on Reload) to build menus and lists: the top-level code should only define functions and data.

FieldMeaning
nameName shown. A text or a table of languages: { it = "…", en = "…" } (without the interface language, English is used).
descriptionDescription, like name.
kind"exporter" (exports), "command" (changes the document) or "effect" (an effect in the Effects menu).
documentsAllowed document types: "static", "animation", "sheet", "tileset", "font"; without it, all.
extensionExporters only: extension of the main file (default .png).
minVersionMinimum Spriteria version, for example "1.1".
paramsList of parameters (see below).
export(doc, out, params)Exporter: writes the files with out.
run(doc, params)Command: changes doc with its methods; everything becomes a single undo step.

Parameters. Each one is a table with id (its name in params), kind, label (text or a table of languages), default and, depending on the kind, min, max and choices. Spriteria builds the dialog and keeps values within the limits. In exporters params also has scale (the chosen scale), fileName and baseName (main file name with and without extension).

KindValue in params
text, file, folderText (with a browse button for files and folders).
integer, numberInteger or decimal number, between min and max.
booleantrue or false (a check box).
choiceOne of the ids of choices = { { id = "a", label = … }, … } (or choices = { "a", "b" }).
colorPalette index (integer).
layer, tagName of a layer or tag of the document ("" = all frames).
pointEffects only: a point to drag in the preview, starting from anchor ("shapeCenter", "shapeTop", "shapeBottom", "zoneCenter", "zoneBottom", "zoneTop", "zoneLeft", "zoneRight", "zoneBottomRight"). In effects color is a "#rrggbb" colour, not an index.

Effects. A script with kind = "effect" appears in the Effects → Static: Script or Animated: Script submenu, with the same window as the built-in effects: parameters, preview, draggable points, remembered values, a new layer that remembers the effect, a single undo step. render(input, frame, out) draws one frame in the area (coordinates from 0); colours are requested with inks(values) and used with input:ink(i). Each frame gets at most 2 seconds: beyond that, the preview stops with a message. Included example: Moving stripes (stripes.lua).

-- %APPDATA%\Spriteria\scripts\dots.lua
return {
  name = "Dots",
  kind = "effect",
  animated = true, frames = 4,
  params = {
    { id = "step", kind = "integer", min = 2, max = 8, default = 3 },
    { id = "color", kind = "color", default = "#ffffff" },
  },
  inks = function(values) return { values.color } end,
  render = function(input, frame, out)
    local step = input:value("step")
    for y = 0, input.height - 1 do
      for x = 0, input.width - 1 do
        if input:shape(x, y) and (x + y + frame) % step == 0 then
          out:paint(x, y, input:ink(1))
        end
      end
    end
  end,
}
FieldMeaning
animated, cyclicAnimated effect (new frames or existing frames) and looping (the frame after the last is the first).
frames, durationSuggested frame count and frame duration (ms).
movesContentPixels marked with out:remove move from the active layer to the effect layer.
needsShapeA shape is needed in the area (default true).
inks(values)Optional: the "#rrggbb" colours the effect uses, given the values (parameter ids, colours as text).
render(input, frame, out)Draws frame frame (from 0; 0 in static effects).
NameWhat it does
input.width, input.height, input.frames, input.seedArea, frame count and seed.
input:shape(x, y), input:area(x, y), input:source(x, y)Shape pixel, selection pixel, palette index of the shape.
input:distance(x, y), input:luma(x, y)Distance from the shape (0 on the shape) and 0..1 brightness of the colour.
input:point(id), input:value(id), input:ink(i)A point (x, y), a parameter value, the index of colour i (from 1) requested by inks.
input:rand(a, b, c)A deterministic 0..1 number for a, b, c and the seed: the same as the built-in effects.
out:paint(x, y, i), out:remove(x, y)Draws index i (an index outside the palette is an error) and removes a pixel from the active layer.

The spriteria module.

NameWhat it does
spriteria.version, spriteria.languageProgram version and interface language ("it", "en"…).
spriteria.image(w, h [, "indexed"|"rgba"])New transparent image (RGBA by default).
spriteria.toHex(r, g, b [, a]), spriteria.fromHex("#RRGGBB")Colours as text and back (fromHex returns r, g, b, a).
spriteria.json.encode(v [, rientro])JSON like the built-in exports; with an indent, on several lines.
spriteria.json.decode(testo)From JSON to tables (objects keep the key order).
spriteria.json.object(), json.array(), json.nullAn object that writes keys in the order you set them, a list (also empty) and the null value. A plain table is a list when it is a sequence or empty, otherwise an object with keys in alphabetical order.

Images. An image is indexed (one palette index per pixel) or RGBA. Images read from the document are copies.

NameWhat it does
img.width, img.height, img.kindSize and kind ("indexed" or "rgba").
img:get(x, y), img:set(x, y, …)One pixel: the index, or r, g, b, a. Outside the image get gives 0 and set does nothing.
img:row(y)One row as a byte string (1 per pixel, or 4: R G B A), fast to read with string.byte.
img:sub(x, y, w, h), img:clone(), img:scaled(n), img:flipped("h"|"v")New images: a rectangle, a copy, enlarged by an integer, flipped.
img:rotated(gradi)Indexed only: rotated clockwise with the editor's rotation; also returns the offset dx, dy.
img:put(src, x, y), img:paste(src, x, y)Copies src (same kind) starting at x, y; paste skips transparent pixels.

The document: fields. They are read when needed and are up to date after every change. In a long loop keep what you read often in a local variable (local frames = doc.frames).

NameWhat it does
doc.kind, doc.width, doc.heightKind (static, animation, sheet, tileset, font) and size in pixels.
doc.palettecount, colors[i] (r, g, b, a, hex, name, as shown with the current variant), groups[i] (name, entries), variants, activeVariant.
doc.layers[i]name, kind (normal, reference, normals), visible, locked, opacity (0–255), blend (normal, multiply, screen); 1 is the bottom layer.
doc.frames[i]duration (ms), mirrored, data (boxes, points, events of the game data).
doc.tags[i]name, from, to, direction (forward, reverse, pingpong), color, facing, mirrorExport.
doc.frameDataTypes, doc.directions, doc.nineSlicesGame data types, direction settings, nine-slices (no cell = the whole document).
doc.pivot, doc.iso, doc.sheet, doc.fontPivot (x, y), isometric grid, sheet (cells) and bitmap font; sheet and font are nil when the document is not one.
doc.selectionRectangle around the selection (x, y, w, h), nil when there is none; for the exact shape doc:isSelected(x, y).
doc.activeLayer, doc.activeFrame, doc.primaryColor, doc.secondaryColorCommands only: where you are and with which colours.

The document: read methods. Call them with a colon: doc:cel(1, 1).

NameWhat it does
doc:cel(livello, frame)The cel as an indexed image (with the palette colours).
doc:compose(frame [, {scale, trim}])The frame composed as in exports (visible layers, no references), RGBA; with trim also the offset x, y.
doc:packSheet({…})The spritesheet as the built-in export. Options: layout (horizontal, vertical, grid, pack), columns, spacing, border, extrude, trim, scale, from, to, normalMap, normalYDown. Returns image, normalImage, width, height and frames[i] with frame, x, y, w, h, cropX, cropY, cropW, cropH, sourceW, sourceH.
doc:isSelected(x, y)True when the pixel is selected (or there is no selection).

Exporter output. Names are relative to the export folder and may contain subfolders (a/b.png); a name that leaves the folder (.., absolute path) is an error. Files go through a temporary folder: if the script stops, nothing is left half-written.

NameWhat it does
out:png(nome, img)PNG with the same encoder as the built-in exports (indexed or RGBA like the image).
out:text(nome, testo)UTF-8 text without BOM, as it is (use \n for new lines).
out:bytes(nome, dati)Any bytes (a Lua string used as a buffer).

Rules and limits. Available libraries are string, table, math, utf8, coroutine and, from os, only clock, time, date, difftime; load accepts text only. There is no io, os.execute, debug, package or dofile: a script cannot open files, start programs or go online. require("lib.ids") loads a module from the script's folder (here lib/ids.lua, used by the built-in scripts for stable GUIDs and UUIDs). Each script has at most 256 MB of memory; a script that takes too long is stopped with Stop. print writes lines shown at the end.

Built-in scriptWhat it does
sheet-jsonExporter: recreates the built-in spritesheet with JSON, byte for byte. The starting point for a new format.
unityExporter: spritesheet with a ready-sliced .meta (pivot, Point filter, pixels per unit) and one .anim per tag; stable GUIDs, so a new export updates the same assets. Export into the project's Assets folder.
gamemakerExporter: writes the sprite straight into a GameMaker project. Choose the project's .yyp as the output file and name the sprite: the script writes sprites/<name>/ (one image per frame, origin from the pivot, durations) and adds the sprite to the resource list. With GameMaker open, the IDE asks to reload the project.
inbetweenCommand In-between frames from the selection: select a part in the active frame and create the frames in which it moves and rotates to the final pose. It is a draft: rotated pixels usually need touching up.

Taking everything into Godot 4#

Animations → SpriteFrames (File → Export for Godot → SpriteFrames): a .tres resource with the spritesheet PNG next to it. Every tag becomes an animation (reverse lists the frames backwards, ping-pong becomes A B C B), with exact durations; trimming of transparent areas becomes the texture margin. Assign it to an AnimatedSprite2D (with the texture filter set to Nearest for crisp pixels).

The game data are in the resource metadata:

var data = $AnimatedSprite2D.sprite_frames.get_meta("frame_data")
var frame = data[$AnimatedSprite2D.animation][$AnimatedSprite2D.frame]
for box in frame["boxes"]:
    print(box["type"], box["rect"])      # Rect2
print(frame["points"].get("hand"))         # Vector2
if &"step" in frame["events"]:
    play_footstep()
var pivot = $AnimatedSprite2D.sprite_frames.get_meta("pivot")

Animations with hitboxes (File → Export for Godot → Animations with hitboxes…): besides the SpriteFrames it writes an AnimationLibrary (name-anims.tres) and, only the first time, the scene name.tscn with the script name.gd: after that they are yours, and each export rewrites only the SpriteFrames and the animations (the Rewrite the scene too box remakes it). An AnimationPlayer drives the AnimatedSprite2D frame by frame with exact durations; optionally boxes become Area2D nodes with their CollisionShape2D (position, size and enabling per frame), points become Marker2D and events the frame_event signal. The scene origin is the pivot. Mirrored directions written as names play the source animation with flip_h and mirrored boxes and points.

func _ready() -> void:
	frame_event.connect(_on_frame_event)
	$Boxes/hitbox.area_entered.connect(_on_hit)

func _on_frame_event(event_name: StringName) -> void:
	print(event_name)  # step, hit…

func _on_hit(area: Area2D) -> void:
	print(area.name)  # a hit that lands

Tilesets → TileSet (File → Export for Godot → Tileset): the PNG atlas, a TileSet resource with terrain sets, terrains and bits of every tile, probability, collisions per physics layer, data layers and animated tiles, plus optionally a .tscn scene with the test map in a TileMapLayer. Godot's terrain painting picks the same tiles as Spriteria.

Palette shader (File → Export for Godot → Palette shader…): Spriteria works only with indexed colours, so it can export the index image (the index in the red channel) instead of the colours, a palette texture with one row for the base and one per variant and the shader spriteria_palette.gdshader, plus a ShaderMaterial for the base and for each chosen variant and, optionally, a demo scene. In Godot you just give the material to the sprite: palette_row picks the variant (teams, elite enemies, day and night), flash_color and flash_amount make the hit flash, and colour cycles rotate the colours of a palette group (water, lava, screens) without extra frames. The SpriteFrames and TileSet exports give the same files with the Colours: palette shader box: the PNG becomes the index image and the map scene uses the material.

var mat: ShaderMaterial = $Sprite2D.material
mat.set_shader_parameter("palette_row", 1)      # the first variant
mat.set_shader_parameter("flash_amount", 1.0)   # hit flash
create_tween().tween_method(func(a): mat.set_shader_parameter("flash_amount", a), 1.0, 0.0, 0.2)

2D light occluders: the shadows of Godot's PointLight2D and DirectionalLight2D come from occluders. In the Godot tileset export, Light occlusion adds an occlusion layer with one OccluderPolygon2D per tile, taken from collisions or from transparency (the outer outline of the filled pixels, holes covered); in animations with hitboxes the Light occluders box adds one LightOccluder2D per part of the drawing, with the polygon of each frame. Simplify (px) removes vertices that deviate less than that many pixels (0 = exact, stepped outline). View → Show occluders draws on the canvas, dashed, the polygons the export would write. Nothing new is saved in the project: they are computed at export.

Parallax backgrounds: each layer of the document becomes a plane that scrolls at its own speed. Layer → Parallax… sets the horizontal and vertical scroll factor (100% moves with the camera, 0% stays still on screen, distant backgrounds go below 100%), whether the layer repeats horizontally or vertically, whether it scrolls by itself (clouds, water) and its offset; the drawing does not change. File → Export for Godot → Parallax background… writes one PNG per visible layer and a .tscn scene with one Parallax2D per layer, bottom to top, plus a Camera2D to try it; in an animation each layer is an AnimatedSprite2D with its durations.

View → Parallax preview… moves a fake camera over the layers (by itself, at the chosen speed, or by dragging) and marks in yellow the edge pixels of repeating layers that do not join: filled on one side and empty on the other, where a cut would show. View → Wrapped drawing (Off, Horizontal, Vertical, Both directions) brings back in from the opposite side whatever you draw past the edge, so seams close as you draw; in sheets and tilesets the tile wrapped drawing applies.

Tilesets for Tiled#

File → Export → Tileset for Tiled writes, for Tiled 1.10 and later, the PNG atlas, an external .tsx tileset and, optionally, the .tmx test map that uses it with a relative path. The window is the same as the Godot export: folder, file name, scale, map and Update on every save.

SpriteriaIn Tiled
Terrain setsWang set Set N: corners and sides = mixed, corners = corner, sides = edge; one Wang colour per terrain, with name and colour. Godot's centre terrain does not exist in Tiled.
ProbabilityTile probability.
CollisionsPolygons in the tile's object group, with the physics_layer property (the physics layer number).
Data layersTile properties with the same name and type (bool, int, float, string).
Animated tilesAnimation with the frame durations.
Test mapCSV tile layer; flips and transposes in the high bits of the IDs, as Tiled uses them.

Projects for LDtk#

File → Export → Tileset for LDtk writes the PNG atlas and a .ldtk project (LDtk 1.5.3 format) that opens directly in LDtk. If something is lost or approximated, a summary says so before the export window (folder, name, scale, Update on every save).

  • The tileset with grid, spacing and margin; tile data goes into LDtk's custom data, one JSON object per tile ({"cost":2}).
  • For each corners and sides or sides terrain set, an IntGrid layer Set N with one value per terrain (name and colour) and the autotiling rules: one 3 × 3 rule per tile, derived from its bits, the way Spriteria picks tiles (a corner counts only if both neighbouring sides have the same terrain). Tiles with the same bits share a rule and LDtk picks one at random.
  • A level with the test map: the IntGrid values of the cells and the tiles Spriteria already chose; hand-painted cells go into a Tiles tile layer.

RPG Maker tilesets#

File → Import → RPG Maker tileset converts RPG Maker MV, MZ, VX and VX Ace tilesets in bulk (and the same layout at 16 px that many packs include): for each file it writes a ready-to-use Godot TileSet resource and a Spriteria tileset document, with autotiling terrains, animated water and a test map. The files are not opened: open them when you need them.

  1. Add files or Add folder (with Include subfolders). Each file shows the recognised type, cell and art upscaling, or why it is skipped.
  2. If needed, set Format (MV/MZ 48 px, VX/VX Ace 32 px, 16 px) and Type for the selected file: A1 and A2 have the same size, so if the name does not say which one it is, you choose.
  3. Choose the Destination (it cannot lie inside a folder being imported), the tile size and which files to write, then Import. The outcome appears next to each file; Stop interrupts between one file and the next.
TypeBecomes
A1Animated water (4 frames, 0 1 2 1, 500 ms) and decorations: "corners and sides" terrains; waterfalls: "sides" terrains.
A2Floors: 47 tiles per autotile, "corners and sides" terrains (Match corners and sides in Godot).
A3Roofs and walls: 16 tiles per autotile, "sides" terrains (Match sides), without rotating the quarters: bricks and windows stay upright.
A4Roofs as floors (47 tiles) and walls as walls (16 tiles), in two terrain sets.
A5, B–EPlain tiles, in the same grid as the file.
  • The type is read from the file name (TileA2_…, Outside_A4, World_B…) and checked against the size; the cell comes from the size.
  • Size of the art: the art is often drawn at 16 px and upscaled ×2 or ×3; the import notices and, if you want, brings it back to its original size without loss. With RPG Maker cell the tiles stay 32 or 48 px.
  • Skip duplicates: the MV, VX Ace and 16 px versions of the same pack, brought back to the art size, are identical; only the first is written, and the outcome says which file it duplicates.
  • Outputs keep the source subfolders: <destination>/<subfolder>/<name>.png, .tres, .spriteria and, optionally, -map.tscn with the test map.
  • The Godot resource uses the original pixels, including semi-transparent shadows and more than 255 colours. The Spriteria document is indexed: beyond 255 colours they are reduced and partial alpha becomes opaque or transparent (the outcome says so).
  • Passability and other flags (they live in the RPG Maker project database), character sheets ($, !) and the RPG Maker XP and 2000/2003 formats are not imported.

The same import from the command line (options: --recursive, --format=auto|48|32|16, --type=A1…A5|B…E, --size=art|cell, --no-godot, --no-spriteria, --scene, --keep-duplicates):

SpriteriaCli import-rpgmaker "Tile Pack" --out=godot/tiles --recursive
SpriteriaCli import-rpgmaker World_A2.png --out=godot/tiles --size=cell --scene

Aseprite files#

File → Open also reads Aseprite files (.aseprite, .ase, from version 1.2), as does a file passed on the command line: the document opens in a new untitled tab, so Save creates a .spriteria project and the Aseprite file stays as it is. A single frame gives a static sprite, several frames an animation.

AsepriteIn Spriteria
IndexedSame palette, with colour names, and same indices (the file's transparent index becomes 0).
RGB and greyscalePalette taken from the colours (up to 255); alpha below 128 = transparent, the rest opaque.
GroupsRemoved: layers are named group/layer and take the group's visibility and opacity.
Tilemap layers, linked celsNormal layers with the tiles drawn; linked cels become copies.
Blend modesNormal, Multiply and Screen stay; the others become Normal.
TagsTags with direction and colour; reverse ping-pong becomes ping-pong.
SlicesGame data boxes named after the slice, in the frames where the slice is visible.
GridFirst rectangular grid, turned off.

Whatever has no equivalent (cel opacity and z-index, slice centre and pivot, external files, tag repeats…) is listed in a summary after opening.

File → Export → Aseprite writes an indexed file: palette with colour names, layers with visibility, lock, opacity and blend mode, frames with their durations, tags with their colours. Game data boxes become slices (hitbox, hitbox 2…): reopening the file in Spriteria gives back boxes of the same type. Before exporting, a summary says what is not written: points and events, pivot, grids after the first, palette variants and groups, sheet layout and tileset data (these become a static image).

Grids and snap#

View → Grids and snap manages the document's rectangular grids: as many as you like, each with a name, cell, offset, colour and style (solid line, dashed, dots at the crossings). They are overlays only: they never end up in exports.

  • Snap Ctrl+Shift+G: tools snap to the pixel, the cell centre or the vertices of a grid (or of the isometric grid). Hold S to suspend it for a moment.
  • Show grids hides them all at once without losing them.

Isometric mode#

A block drawn in isometric mode, with planes and levels
A block drawn in isometric mode, with planes and levels

View → Isometric → Isometric mode turns on the diamond grid: 2:1 or 1:1 projection, tile width, height of a level, origin and light direction (from the 32 × 16, 64 × 32, 16 × 8 or 32 × 32 presets). The isometric algorithms are pixel-perfect: lines follow the projection's regular pattern and tiles fit together with no gaps.

  • Drawing plane (ISOMETRIC bar, N cycles through them): where the isometric line, rectangle, ellipse, polygon, tile and fill draw; Top is the ground, Left and Right are vertical walls. Block, cylinder, stairs, selection, move and shadow always work on the ground: with them the field is grey. With Left or Right, the wall grid appears under the cursor, with the cursor's cell highlighted. Level (Page Up and Page Down): the height above the ground you draw at, in levels; grid and snapping rise with it, and above level 0 the dashed ground cell and a vertical line show how high you are drawing.
  • The three face colours (light, middle, dark) come from a palette group or are picked by hand in the isometric bar.
  • Isometric guide axes show the x, y and z axes for the cell under the cursor; Tiling preview repeats the tile to check the seams.
  • The pivot goes into the JSON (with the tile geometry) to sort objects by depth in the game.

Solids: block, cylinder, ramp and stairs each have their own button; the others (half block, slab, wall, pillar, L block, corner step and corner tower, corner ramp, triangular prism) are in a drop-down. The drop-down button shows the last solid chosen: a click uses it, the small triangle in the corner or the right mouse button opens the list. All of them stand on the active level, take the face colours, have a Height in levels (up and down arrows while dragging) and an optional Outline; those with a direction have Facing (↘ ↖ ↙ ↗). Solid preview (ISOMETRIC bar): before you click, the solid appears under the cursor, as large as the last one drawn, In colour (as it will come out) or Outline only (dashed, the drawing below stays visible), or None; nothing is written until you drag, and the choice is kept when Spriteria closes.

ToolKeyWhat it does
Isometric line—Line along the isometric grid axes, with snap; Shift constrains it to the nearest axis.Options: Thickness
Isometric rectangle—Diamond on the top plane or parallelogram on the side planes, sized in cells.Options: Mode: Outline, Filled, Outline and fill
Isometric polygon—Polygon with its vertices snapped to the grid of the active plane.Options: Mode: Outline, Filled
Isometric ellipse—Ellipse projected on the active plane; Shift for a circle.Options: Mode: Outline, Filled
Base tile—Fills a cell (or an area of cells) of the chosen plane: a solid diamond on the top plane, a wall panel on the left and right planes; optional outline.Options: Outline
Face fill—Fills the face under the cursor; with automatic shading it uses the face colour (top, left, right) according to the light.Options: Tolerance · Auto shading
Block—Box: drag for width and depth, the height is in the options. The three faces take the three face colours.Options: Height · Outline
Cylinder—Column with an elliptic base and a shaded side.Options: Height
Ramp—Ramp: a wedge on the dragged area that rises by Height levels towards the direction chosen in Facing.Options: Height · Facing: ↘, ↖, ↙, ↗ · Outline
Stairs—Stairs of N steps (Steps option) rising towards one of the four directions of the projection (Facing option).Options: Steps · Height · Facing: ↘, ↖, ↙, ↗ · Outline
Half block—Half block: a box half the Height tall.Options: Height · Outline
Slab—Slab: a box a quarter of the Height tall, for raised floors and thin covers.Options: Height · Outline
Wall—Wall: the half of the area on the side chosen in Facing, the full Height tall.Options: Height · Facing: ↘, ↖, ↙, ↗ · Outline
Pillar—Pillar: a square column in the middle of the area, a quarter of the area wide.Options: Height · Outline
L block—L block: a block missing one quarter; Facing chooses the missing corner.Options: Height · Facing: ↘, ↖, ↙, ↗ · Outline
Corner step—Corner step: a block with one quarter half as tall; Facing chooses the corner.Options: Height · Facing: ↘, ↖, ↙, ↗ · Outline
Corner tower—Corner tower: a half-height base with one quarter the full Height tall; Facing chooses the corner.Options: Height · Facing: ↘, ↖, ↙, ↗ · Outline
Corner ramp—Corner ramp: rises towards one corner from two sides at once, for the outer corners of ramps and roofs; Facing chooses the corner.Options: Height · Facing: ↘, ↖, ↙, ↗ · Outline
Triangular prism—Triangular prism: half of the area cut along a diagonal; Facing chooses the half that stays.Options: Height · Facing: ↘, ↖, ↙, ↗ · Outline
Cast shadow—Shadow cast on the ground according to the document's light direction.Options: Length
Diamond selection—Selects a cell or an area of cells as a diamond, to cut and copy tiles.Options: Mode: Replace, Add, Subtract, Intersect
Face selection—Magic wand limited to the face under the cursor.Options: Mode: Replace, Add, Subtract, Intersect · Tolerance
Isometric move—Moves the selection (or the whole layer) by a step of cells: left and right arrows along x, up and down along y, Shift+↑ and Shift+↓ along the vertical z; dragging snaps to cells too.Options: Step (cells)
Pivot—Sets the document's anchor point (shown as a crosshair), written into the JSON and the Godot resources; Esc goes back to the default, the centre of the tile's base.

Tilesets and terrains#

A Blob 47 tileset with the terrain bits
A Blob 47 tileset with the terrain bits

A tileset is an atlas of tiles of the same size. Besides drawing them, you tell how they join each other with terrains, so autotiling (in Spriteria and in Godot) picks by itself the right tile for every cell.

ModeWhat decides the tileTiles with one terrain
Corners (Match Corners)The 4 corners16
Sides (Match Sides)The 4 sides16
Blob (Match Corners and Sides)Sides and corners; a corner counts only if both nearby sides do47
  • The Corners 16, Sides 16 and Blob 47 templates create the atlas with the bits already set: on tiles still empty the overlay shows the shape to draw.
  • Terrains panel: the current terrain set and its terrains (colour and name); the Tileset menu creates them, changes their mode and deletes them.
  • Wrap drawing inside the tile: what goes out of an edge comes back from the opposite side, for seamless repeating tiles.
  • Generate → Tiles from pieces: Blob 47 from five drawn tiles, Corners 16 and Sides 16 by rotation; a starting point to retouch.
  • Check seams marks the edges that do not match with a red strip; Combination coverage lists the missing combinations and creates them with a click, and reports duplicates and tiles without bits.
  • Collisions: physics layers (layer and mask), polygons with the Collision tool or Collisions from transparency. Data layers (yes/no, integer, decimal, text) with the values in the Tile panel.
  • Tile panel: the current tile repeated or in its context, probability, frames and durations of animated tiles, collisions and data. Transformed copy copies a tile rotated or mirrored with its bits and collisions.
ToolKeyWhat it does
Terrain bits—Click the zones of a tile (centre, sides, corners) to assign the current terrain; right click to clear them; dragging paints several tiles.
Collision—Draws the tile's collision polygons for the chosen physics layer: a dragged rectangle or a polygon by clicks. Pressing on a vertex drags it, a right click inside a polygon removes it.Options: Shape: Rectangle, Polygon · Physics layer
Properties brush—Right click a source tile, then click or drag over the others: copies probability, data, collisions, animation or everything.Options: Copy: Probability, Data, Collisions, Animation, Everything

The Tileset menu also has: Tileset layout, Show terrains (Hidden, coloured Filled zones or Outline only of the zones, a choice that is remembered), New terrain set, Terrain set mode, Delete terrain set, New terrain, Edit terrain, Delete terrain, Show collisions, New physics layer, Delete a physics layer, New data layer, Delete a data layer.

Terrain generator#

In tilesets, Tileset → Generate → Procedural terrain… rebuilds the tileset from scratch, like a new document, and draws all its tiles: choose the template (Blob 47, Corners 16, Sides 16) and the terrain name; the previous pixels, bits, terrains, collisions, data and test map are deleted (Undo brings them back). Seams match by construction: a starting point in a few seconds to retouch by hand.

  • Types (37): natural terrains — dry dirt, desert, beach, grass on dirt, grass on dark grass, dirt with curb, grass with curb, flower meadow, forest floor, autumn lawn, moss, snow, ice, water, swamp, mud, lava, rock, gravel, ploughed field, wheat field — and pavings — bricks, cobblestones, slabs, asphalt, sidewalk, herringbone bricks, basket-weave bricks, hexagonal tiles, wooden planks, terracotta, marble, checkered floor, crazy paving, metal plate, concrete, setts. Each type comes with a fitting outside (water on sand, lava on rock, fields on grass) that you can swap for any material.
  • Walls (20): wall faces seen from the front, for platformers and room walls. The whole terrain area is wall face with the material texture; a coping on top, a plinth at the bottom (a skirting board indoors), darker corners at the sides, and autotiling closes corners and openings. Exterior: brick, red brick, concrete, ashlar, dry stone, clapboard, stucco, corrugated metal, logs, cinder blocks. Interior: striped, diamond and floral wallpaper, wood paneling, wainscoting, painted plaster, bathroom tiles, castle stone, whitewashed bricks, bookshelf. In the dialog choose the Category first (natural terrain, paving, exterior walls, interior walls), then the Type.
  • New types in 1.4 (35, with four more categories). Natural: tall grass tufts, clover, forest floor with roots, dry grass, mud with puddles, wet shore sand, snow with footprints, crystal cave, volcanic ground. Paving: cracked asphalt (with manholes), metal grating, framed concrete panels, industrial floor with a hazard-stripe border. Interior floors: diamond tiles, carpet with border, hospital tiles, dungeon floor. Sci-fi: panels and a wall with glowing lines. Walls: plank wall, stained concrete, cave wall (exterior), cracked plaster, mosaic, dungeon stone (interior).
  • Raised ground (dirt with rock face, grass on cliff, sand bank, block hedge, stone step): seen from above at three quarters, as in RPG packs. Below the terrain's south edge there is the face, about three eighths of the tile high and drawn inside the terrain area like wall faces, with a lit lip, a shadow under the lip and a few grass blades hanging down; the filled outside is the lower ground. Use Blob 47: seams match as for the other types.
  • Animated liquids (shallow water, deep water with a lighter band along the shore, sewer water, toxic slime with bubbles, lava flow): Animation frames (1 to 4, 4 by default) draws each tile several times, with the texture flowing and coming back the same after the last frame; the frames go in the cells next to the tile (the sheet gets wider) and last 250 ms. The Godot export writes them as animated tiles.
  • Slower or smoother animation: Animation frames goes up to 8 and Frame duration (ms) from 50 to 2000; more frames means smaller steps, a long duration a slow motion that never stops (for example 8 frames of 500 ms: a 4-second cycle). With an animated liquid the window's preview moves too, with the chosen duration.
  • Plain dirt and Plain grass (natural terrains) are the same textures without flowers, stones, tufts or cracks, so you can add details by hand where needed and the repeating pattern stands out less. On any type you get the same with Decorations at 0; Full tile variants alternate copies with different details.
  • Sci-fi, in addition: alien ground with pulsing glowing spores, circuits, an energy grid crossed by a wave of light, tech hexagons, a deck with vents, a wall with pipes, server racks with blinking lights. Alien ground, grid and servers are animated like the liquids.
  • Simple terrain (category Simple): a solid colour with the exact colours you choose, no ramps and no decorations. In place of the texture controls: Terrain edge with its colour and width in pixels (drawn only where the terrain ends, never at the seams between two terrain tiles), Noise in the terrain and Noise outside, each with its colour, frequency (how many patches along the tile side) and amount. The noise repeats identically in every tile, so the patches carry on across the seams; the seed changes the pattern. A filled outside is just a colour; the edge stays straight until you raise roughness and roundness.
  • Mood variants: Autumn, Night and Horror each add a variant to the palette, with the same pixels and other colours (greens turning yellow; everything darker and bluer; almost colourless); you pick them in the palette panel and export them like other variants. Ticking a box switches the preview to that mood (Test map: Autumn and the others). After generating, the document still shows the base colours: you see a mood by picking its variant in the Palette panel.
  • Parameters: base colour (the program derives a 5-tone ramp from it, with cooler shadows and warmer lights: the three middle tones, used by the texture, are close together, and strong contrast is kept for edges, joints and shadows), contrast, texture detail, decorations (flowers, tufts, stones, cracks; always away from edges and in small groups), wear (specks, stains, cracks near the edge and, outdoors, moss in the joints; it starts at 25 for paving and walls, at 0 for natural terrains), edge roughness, rounding, terrain extent, curb, light, seed and full tile variants. The grain is made of 1–2 pixel spots with no regular dither, elements (bricks, slabs, setts) have a bevel on the side away from the light, and lawns let a few grass blades stick out above the top edge.
  • Outside: transparent, or filled with a second terrain (type and colour) drawn around the first. With a filled outside the full outside tile goes into a free cell (or a new row of the sheet) without a terrain, and the test map starts covered with it: paint the terrain with the brush and the edges match. Bits outside the terrain stay empty, as in the template.
  • Colours: the palette starts from scratch too and holds only the terrain ramps; with Use only the palette colours (or with a locked or linked palette) it stays as it is and every tone takes the nearest colour.
  • The preview shows a test map filled by autotiling or the atlas, and tells how many colours are added. Generate writes into the active layer: a single undo step.

Tileset from a sample#

Tileset → Generate → New from sample… creates a new tileset, in a new tab, from an image you already have: a tile, a piece of ground drawn in a stage or by an artist, a photo. The open document does not change, so the command works with any document. Choose the PNG, adjust the window and press Create: the tileset already has tiles, terrain, bits, palette and a filled test map.

  • Cleaning: Spriteria finds the pixel pitch by itself, even when the pixel art is scaled by a non-integer factor or blurred. Then it reduces the image to one pixel per pixel and to a few colours, grouped into ramps from darkest to lightest. If it gets it wrong, type the pitch by hand. Side without a grid is the size to reduce images without a grid to (photos, ceramics), Colours the maximum number (0 = automatic); Remove the uniform frame cuts a border that is all one colour.
  • The sample shows: a fill (a single material), an island (terrain in the middle, outside around it), a hole (outside in the middle), a platform top (a band at the top, like grass or a curtain, over the body) or a wall seen from the front. Spriteria proposes it by reading the sample's materials; you can change it.
  • Edge from the sample: with an island or a hole the edges are the ones drawn in the sample (outline, shore, fringe). Sides are taken where the edge is straight (a curved edge is straightened), outer corners from the island and inner corners from the hole; missing ones are built from the sides. If the sample is not enough for the chosen tile, the window proposes generated edges.
  • Generated edges: for fills, or when you choose Generated, the edges are drawn with the terrain generator's shape and the sample's colours: outline (0–2 px, automatic or chosen colour), a light bevel on the side of the light, a shadow on a filled outside, edge roughness, rounding, terrain extent, fringe (pixels sticking out) and wear. Walls also get a light coping at the top and a dark plinth at the bottom; for a platform top the band read from the sample goes under every top edge. Lighter and darker tones follow the sample's ramps: colours are added only beyond the end of a ramp. The proposed shape follows the material: for man-made ones (ceramics and symmetric patterns, bricks, planks) the edge starts straight, with no roughness or rounding; for grass, rock and dirt it starts rough and rounded. You can always change it with Edge shape: Straight sets roughness, rounding, fringe and wear to zero, Natural restores the style's values, Custom appears when you set them by hand. Relief chooses between Raised (bevel lit on the light side, shadow on the outside) and Sunken (inverted bevel and shadow inside, like a floor lower than what surrounds it). Edge can be chosen only when the sample shows an island or a hole: a fill has no edge to take it from. In the preview the mouse wheel zooms in and out (100% to 1600%, also with the − and + buttons below) and dragging moves the view.
  • Template: Blob 47, Corners 16 or Sides 16 (for a wall, a border or a fence); tile side from 8 to 64 pixels; terrain name.
  • Outside: transparent, from the sample (the full outside tile fills the test map around the terrain) or a colour.
  • Second sample: a hole that completes an island (it gives the inner corners) or, with generated edges, the outside. Its colours are merged into the palette.
  • Full tile variants (0–4): more copies of the material sewn inside the full tile, with a lower probability, so the pattern repeats less. Only those with an invisible seam are kept (not in bricks or stripes). Seed changes the random choices.
  • The preview shows the test map, the atlas or the cleaned sample, and below it a line with the pitch found, the size, the colours, the type read and the resulting sheet.

Test map#

The test map filled at random with autotiling
The test map filled at random with autotiling

Every tileset has a test map (Test map tab, or Tileset → Test map → Show the map, Ctrl+M) to see the tiles at work. It is saved in the project and its changes undo like the others. The Tiles for the map panel picks the tile (or a rectangle of tiles as a pattern) and the terrains.

In the map tab the Preview panel shows the whole test map. Tiles for the map shows the atlas tiles (animated tiles once, without their frames): a click picks a tile, dragging picks a pattern. The Tile panel shows the chosen tile, repeated, with probability, frames, collisions and data; many Blob 47 edge tiles look alike, but each has different bits.

ToolKeyWhat it does
Map brushBPaints on the map the tile (or tile pattern) chosen in the Tiles for the map panel; it can flip, transpose or pick at random among several tiles.Options: Random · Scatter % · Flip ↔ · Flip ↕ · Transpose
Map eraserEClears map cells.
Map bucketGFills contiguous equal cells (or all of them) with the brush.Options: Contiguous · Random · Scatter %
Map pickerIPicks the tile of a cell, or of a dragged area as a pattern.
Map lineLLine of cells with the brush.Options: Random · Scatter %
Map rectangleRRectangle of cells with the brush.Options: Random · Scatter %
Map selectionMSelects cells: Copy, Cut, Paste and Delete in the Edit menu work on them, and the copy becomes the brush.
Terrain brushTPaints the current terrain: autotiling picks the right tiles. Connect joins the surrounding cells, Path only the stroke just painted.Options: Mode: Connect, Path
  • Fill map randomly creates a random terrain field and composes it with autotiling: cells with a missing combination get a red marker.
  • Map size, Clear map, Mark missing combinations, Play animations, Export map as PNG.
  • Right click erases with every map tool.

Preferences, language and shortcuts#

Edit → Preferences Ctrl+,:

  • Interface theme: Grafite (dark, neutral greys, the default and the best for judging palette colours), Light, Retro 16-bit (light greys and purple, with code colours taken from the four buttons of a console), Monokai (dark olive), Dracula (dark blue-purple, purple accent), Gruvbox (warm greys and cream, yellow accent) or One Dark (blue greys, blue accent): the last four follow the colour schemes of the same name, in the script code too; it changes at once, without restarting.
  • Fonts: one for the interface (Inter, the default, Source Sans 3, narrower, IBM Plex Sans or Atkinson Hyperlegible Next, with very distinct letters) and a fixed-width one for numbers and script code (JetBrains Mono, IBM Plex Mono or Source Code Pro); they come with the program. The list adds the system fonts it finds installed (for example Segoe UI, Cascadia Mono, Consolas, Menlo), marked "(system)". They change at once, without restarting.
  • Interface language: Italian, English, French, Spanish, German or the system one; it changes at once, with no restart.
  • Undo memory (in MB, per document).
  • Pixel grid visible and its opacity, document grids visible, transparency checkerboard the theme's own, medium or light.
  • Automatic backup copy and every how many minutes; Reopen the documents of the last session.

Edit → Keyboard shortcuts changes the shortcut of every menu command and the letter of every tool; you can go back to the defaults at any time. Preferences live in %APPDATA%\Spriteria.

Menus and keyboard shortcuts#

Every menu command with its default shortcut. Tool letters are in the tool tables above.

Without a mouse. Drawing on the canvas needs a mouse or a pen; everything else can also be done from the keyboard:

  • Alt or F10 open the menus: arrows to move, Enter to run, Esc to close.
  • Find a command (Ctrl+Shift+P, also in the ? menu) lists every command and tool: type part of the name (accents and case don't matter, and the Italian names work in any language), choose with the arrows and run with Enter.
  • F6 and Shift+F6 move between the areas of the window: options bar, tools, canvas, panels, frame strip. The area with the focus has a blue border.
  • In the tools the arrows choose the previous or next tool; in the layers up and down choose the layer, Space shows or hides it, L locks it, F2 renames it; in the palette the arrows choose the primary colour (with Shift the secondary) and Enter edits it; in the frame strip left, right, Home and End choose the frame.
  • In the panels Tab reaches the header: Space collapses or opens the panel, Ctrl+↑ / Ctrl+↓ move it.
  • In dialogs the first field already has the focus, Tab follows the reading order, Enter confirms and Esc cancels.
File
NewCtrl+N
OpenCtrl+O
Import › PNG imageCtrl+I
Import › PNG as spritesheet
Import › Spritesheet into an animation
Import › PNG sequence
Import › Level as tileset
Import › RPG Maker tileset
SaveCtrl+S
Save asCtrl+Shift+S
Export PNGCtrl+E
Export indexed PNGCtrl+Shift+E
Export › Spritesheet
Export › Animated GIF
Export › PNG sequence
Export › Sheet with JSON
Export › BMFont font
Export › Aseprite
Export › Tileset for Tiled
Export › Tileset for LDtk
Export › Test map as PNG
Export › With a script
Export for Godot › SpriteFrames
Export for Godot › Animations with hitboxes
Export for Godot › Nine-slice StyleBox
Export for Godot › Palette shader
Export for Godot › Parallax background
Export for Godot › Tileset
Export targets
Re-export all
Batch operations › Run
Batch operations › Undo the last one
Exit
Edit
UndoCtrl+Z
RedoCtrl+Y
CutCtrl+X
CopyCtrl+C
PasteCtrl+V
Paste into a new layerCtrl+Shift+V
Clear
Select allCtrl+A
DeselectCtrl+D
Invert selectionCtrl+Shift+I
Canvas size
Resize document
Outline
Array
Stamps › Create custom stamp
Stamps › Use a custom stamp
Nine-slice preview
PreferencesCtrl+,
Keyboard shortcuts
Transform › Flip horizontallyShift+H
Transform › Flip verticallyShift+V
Transform › Rotate 90° clockwiseShift+R
Transform › Rotate 90° counter-clockwise
Transform › Rotate 180°
Transform › Scale
Transform › Wrap-around scroll
View
Zoom in
Zoom out
Fit to windowCtrl+0
Pixel gridCtrl+G
Onion skinCtrl+Shift+O
Onion skin settings
Show game data
Nine-slice
Grids and snap
Show grids
RulersCtrl+Alt+R
Show guides
Lock guides
Snap to guides
Clear all guides
SnapCtrl+Shift+G
Check › Normal colours
Check › Values (greyscale)Ctrl+Alt+V
Check › Silhouette
Check › Protanopia
Check › Deuteranopia
Check › Tritanopia
Check › Achromatopsia
Show occluders
Isolated pixels
Test light › Off
Test light › From the north
Test light › From the north-east
Test light › From the east
Test light › From the south-east
Test light › From the south
Test light › From the south-west
Test light › From the west
Test light › From the north-west
Isometric › Isometric mode
Isometric › Guide axes
Isometric › Symmetry (swap faces)
Tiling preview
Parallax preview
Wrapped drawing › Off
Wrapped drawing › Horizontal
Wrapped drawing › Vertical
Wrapped drawing › Both directions
Symmetry › None
Symmetry › Vertical axis (left and right)
Symmetry › Horizontal axis (top and bottom)
Symmetry › Both axes
Symmetry › Axis position
Layer
New layerCtrl+Shift+N
Duplicate layer
Delete layer
Rename layer
Reference › New reference layer from file
Reference › New reference layer from the clipboard
Reference › Reference position and scale
Normals › New normal layer
Normals › Fill flat (normals)
Parallax
Effect › Edit effect
Effect › Forget the effect
Move up
Move down
Merge down
Merge visible layers
Flatten
Animation
Play / stopCtrl+P
Go to › First frame
Go to › Previous frame
Go to › Next frame
Go to › Last frame
New frameAlt+N
Duplicate selected framesAlt+D
Duplicate selected frames linked
Delete selected frames
Move earlier
Move later
Duration
Copy selected frames
Paste frames
Copy previous frame hereAlt+C
Flip frames horizontally
Flip frames vertically
Record framesShift+F9
Create frameF9
Tag › New tag from selected frames
Tag › Edit tag
Tag › Delete tag
Directions › Set up directions
Directions › Recognise directions from tag names
Directions › Generate rotations
Convert to animation
Effects
Statici: Luce › Glow
Statici: Luce › Sparkle
Statici: Luce › Rim light
Statici: Luce › Highlights
Statici: Particelle › Smoke
Statici: Particelle › Friction sparks
Statici: Trasformazioni › Cast shadow
Statici: Trasformazioni › Mirror reflection
Statici: Buchi e lente › Hole
Statici: Buchi e lente › Magnifying glass
Statici: Superficie › Auto shading
Statici: Superficie › Outline anti-aliasing
Statici: Superficie › Fill with a material
Statici: Superficie › Wear
Statici: Superficie › Build-up
Statici: Superficie › Contact shadow
Statici: Superficie › Ice
Statici: Superficie › Grass tufts on the edge
Statici: Superficie › Emboss and engrave
Statici: Sfondi › Starry sky
Statici: Sfondi › Pixel clouds
Statici: Sfondi › Sky gradient
Animati: Luce › Sparkle
Animati: Luce › Pulse
Animati: Particelle › Particles
Animati: Particelle › Smoke
Animati: Particelle › Fire
Animati: Trasformazioni › Hit flash
Animati: Trasformazioni › Dissolve
Animati: Trasformazioni › Shake
Animati: Trasformazioni › Bounce
Animati: Buchi e lente › Hole opening
Animati: Buchi e lente › Hole closing
Animati: Acqua ed energia › Flowing water
Animati: Acqua ed energia › Fountain
Animati: Acqua ed energia › Lightning
Animati: Sfondi › Weather
Animati: Movimento › Spinning coin
Animati: Movimento › Float
Animati: Movimento › Breathing
Animati: Movimento › Swing
Animati: Movimento › Recoil
Animati: Movimento › Flag in the wind
Animati: Movimento › Heat or underwater distortion
Animati: Movimento › Trail
Animati: Movimento › Invulnerability blink
Animati: Colori e segnali › Colour cycling
Animati: Colori e segnali › Shine sweep
Animati: Colori e segnali › Bubbles
Animati: Colori e segnali › Dripping
Animati: Colori e segnali › Emote
Animati: Colori e segnali › Animated outline
Animati: Azione › Explosion
Animati: Azione › Shockwave and dust
Animati: Azione › Teleport
Animati: Azione › Slash
Repeat last effect
Combinations
Sheet
Sheet layout
Select cell under cursorCtrl+Alt+A
Convert sheet to animation
Arrange frames in a sheet
Tileset
Tileset layout
Wrap drawing inside the tile
Show terrains › Hidden
Show terrains › Filled zones
Show terrains › Outline only
Show collisions
Terrains › New terrain set
Terrains › Terrain set mode
Terrains › Delete terrain set
Terrains › New terrain
Terrains › Edit terrain
Terrains › Delete terrain
Check seams
Combination coverage
Generate › New from sample
Generate › Procedural terrain
Generate › Tiles from pieces
Generate › Transformed copy
Collisions and data › Collisions from transparency
Collisions and data › New physics layer
Collisions and data › Delete a physics layer
Collisions and data › New data layer
Collisions and data › Delete a data layer
Test map › Show the mapCtrl+M
Test map › Map size
Test map › Fill map randomly
Test map › Clear map
Test map › Mark missing combinations
Test map › Play animations
Palette
Add colour
Duplicate colour
Edit colour
Rename colour
Remove colour
Group › New group from primary to secondary
Group › Rename group
Group › Sort group from dark to light
Group › Delete group
Palette properties
Palette locked
Variants › New variant
Variants › Rename variant
Variants › Delete variant
Linked file › Link to a palette file
Linked file › Reload palette from file
Linked file › Unlink palette
Palette libraryCtrl+L
Save to library
Palette files › Import palette
Palette files › Extract from an image
Palette files › Export palette
Script
Script editorCtrl+Shift+L
Manage scripts
Open the scripts folder
Reload scripts
Window
Project folder
Next tabCtrl+Tab
Previous tabCtrl+Shift+Tab
CloseCtrl+W
Close others
Close all
Reset panel layout
?
GuideF1
Find a commandCtrl+Shift+P
Open a sample
Report a bug
Buy me a beer
About Spriteria
Effects
Moving stripes
Script
In-between frames from the selection
Effects
Lit torch
Pickup item
Hit
Magic

Fixed keys, the same for every tool:

Space (held)Pan the view with the mouse
Middle buttonPans the view
Middle button on a tabCloses the document
WheelZooms in and out
+ −Zooms in and out
Alt (held)Temporary eyedropper
Right clickDraws with the secondary colour
XSwaps primary and secondary colours
, .Previous and next primary colour
; :Previous and next secondary colour
ShiftConstrains lines and shapes (angles, proportions)
Enter / EscConfirms or cancels the current operation
Double clickCloses polygons and curves (like Enter)
ArrowsMove the selection or the content being moved by one pixel
DelClears the selection
Alt+← Alt+→Previous and next frame
Ctrl+Alt+arrowsShift frame content
S (held)Suspends snapping
NChanges the isometric plane
Page Up / Page DownHigher or lower isometric level
Up / DownHeight of blocks and solids while dragging
Shift+Up / DownMoves vertically with the isometric move tool
Alt / F10Opens the menus: arrows to choose, Enter to run
F6 / Shift+F6Next or previous area of the window
Tab / Shift+TabNext or previous control
Arrows (tools)Previous or next tool
Up / Down (layers)Layer above or below; Space visibility, L lock, F2 rename
Arrows (palette)Primary colour; with Shift the secondary; Enter edits it
← → Home End (frames)Previous, next, first, last frame
Space / Ctrl+Up / Down (panels)Opens or collapses the panel; moves it

The ? menu also has: Buy me a beer, About Spriteria. The beer mug button at the right end of the options bar asks whether you want to support the developer with a donation and opens the donation page on the website only if you answer Yes.

File formats#

FormatUse
.spriteriaThe project: readable JSON with compressed pixels. Every version of Spriteria opens the projects of earlier versions.
PNGImport and export: RGBA or indexed; every kind of PNG is read, including interlaced and palette ones.
GIFAnimation export with frame durations.
JSONSpritesheet and sheet metadata in the Aseprite "array" format, with pivot, tags and game data.
.gpl, .hexGIMP palettes and hex colour lists; a PNG can be a palette too. In .gpl files Spriteria also keeps bits per channel, groups and variants (in comments other programs ignore).
.tres, .tscnGodot 4 resources and scenes: TileSet, SpriteFrames, test map.
.aseprite, .aseAseprite files: they open and export, with a summary of what the other format does not keep.
.tsx, .tmxTiled tilesets and maps (export).
.ldtkLDtk projects (export).
.luaSpriteria scripts (Lua 5.4): exporters used from the export dialogs, export targets and SpriteriaCli.