Repository navigation
Sprite Editor
![]()
You can define two 128x128 sprite sheets in the game, one for foreground objects and the other for backgrounds. The terms 'sprite' and 'tile' are used interchangeably as they are essentially the same thing although 'tile' is usually used when referring to sprites that make up the game map (if any).
The editor is driven from the menu bar: the SPRITE menu carries TILES/SPRITES (TAB), TOOLS, TILESET, PALETTE, CANVAS and BRUSH. The canvas shows the selected sprite and the sheet; the +/β buttons under the canvas change the canvas size.
TOOLS holds the tool set, and the number keys select the same tools directly:
-
Brush (
1) draws on the selected tile. -
Picker (
2) chooses the color under the pointer. -
Select (
3) selects part of the canvas; the selection can be moved, copied, cut or pasted. -
Fill (
4) fills a mono-colored area with the current color. -
Flip Horizontal (
5) and Flip Vertical (6) flip the tile in either axis. -
Rotate (
7) rotates a tile 90 degrees clockwise. -
Erase (
8/DELETE) clears the entire tile. - FLAGS opens the per-sprite flag editor.
The brush size is 1β4 pixels; BRUSH in the menu or -/= changes it, and the marker under the brush icon shows the current size. SYM H (H) and SYM V (V) mirror the brush across the canvas.
CANVAS edits a 8x8, 16x16, 32x32 or 64x64 segment at once. TILES/SPRITES switches between the background and foreground sheets. The sheet is paged with CTRL+SHIFT+β/β at lower bit depths; CTRL+ARROWS moves the cursor by a whole canvas.
PALETTE selects VBANK0/VBANK1 and toggles the palette editor (COLORS). With the palette open, CTRL+C/CTRL+V copy and paste a palette, and the presets replace it with SWEETIE 16, PICO-8, DB16, ENDESGA 16, C64, PASTEL POP, WOODSPARK or SHINY 16. Starting the system or a new cart initializes the palette to the default palette.
TILESET selects 4BPP, 2BPP or 1BPP, and one of the four 1bpp pages (or two 2bpp pages) through PAGE 1β4. Lowering the bit depth reduces the number of colors but extends the sprite and tile area. See Bits Per Pixel and Blit Segment.
PRO version allows to use 8 memory banks to draw more sprites and tiles. This is different from the two palettes (VBANK0/VBANK1) that are accessible without the PRO version.
TAB Switch tiles/sprites.
CTRL+SHIFT+LEFT/RIGHT Switch sheet page.
CTRL+ARROWS Move the cursor by the canvas size.
CTRL+RIGHT CLICK Pick the color under the pointer (brush tool).
CTRL+C/X/V Copy, cut or paste the selection; the right-click color stays empty.
[] Choose previous/next palette color.
-/= Change brush size.
SCROLL Change the canvas size (8x8, 16x16, 32x32, 64x64).
1 Select brush.
2 Select color picker.
3 Select selection tool.
4 Select filling tool.
5 Flip horizontally.
6 Flip vertically.
7 Rotate.
8/DELETE Erase.
H Toggle horizontal symmetry.
V Toggle vertical symmetry.
The general hotkeys are available in the sprite editor too.
TIC-80 tiny computer https://tic80.com | Twitter | Telegram | Terms
Built-in Editors
Console
saveΒ | exportΒ | loadΒ | importΒ | menuΒ | configΒ | surfΒ | shelfΒ | demoΒ | evalΒ
Platform
RAMΒ | VRAMΒ | DisplayΒ | PaletteΒ | Bits per Pixel (BPP)Β |
.ticFormatΒ | Supported Languages
Other
TutorialsΒ | Code SnippetsΒ | LibrariesΒ | External ToolsΒ | FFT
API
Callbacks
Input
Drawing
circΒ | circbΒ | clipΒ | clsΒ | elliΒ | ellibΒ | fontΒ | lineΒ | mapΒ | paintΒ | pixΒ | printΒ | rectΒ | rectbΒ | rrectΒ | rrectbΒ | sprΒ | triΒ | tribΒ | ttriΒ | fill patterns
- textri (deprecated)
Sound
Memory
memcpyΒ | memsetΒ | mgetΒ | msetΒ | peekΒ | pokeΒ | pmemΒ | syncΒ | vbank
System