Repository navigation
export
export [ win | linux | linuxarm | mac | macintel | html | binary | tiles | sprites | map | mapimg | sfx | music | screen | help] <outfile> [bank=0 vbank=0 id=0 alone=0]
Required:
-
<outfile>output file name, with no file extension (especially not .tic).
Options (choose 1):
-
win | linux | linuxarm | mac | macintelexport currently loaded cart as native build for the platform of your choice.linuxarmandmacintelcover the ARM Linux and Intel macOS players. -
htmlexport cart to HTML. -
binaryexport binary segment for WASM cartridges. -
tiles | sprites | mapimgexport tiles, sprites or map as png image. -
mapexport map as.mapfile. -
sfx | musicexport sfx or music as.wavfile. Setidoption to choose the sfx id or music track. See below. -
screenexport cover image as png image. -
helpexport help content in a markdown file with console commands, API functions and much more.
Fully optional:
-
bankChoose the bank from which you want to export. -
vbankChoose the VRAM bank from which you want to export. -
idto choose the sfx id or music track you want to export. -
aloneUsealone=1to export the game without the editors [PRO version]. Users won't be able to see/edit your code/sprites/map/sfx/music.
Export currently loaded cart to HTML or as a native build.
Export sprites, map or cover as image. Export sfx or music to wav files. Use import to import these files to another cart or use load to load data directly from a cart to another one.
Export the help content about API functions, console commands and more in a markdown file.
The menu bar offers the asset and game formats in its EXPORT submenu; binary and map (MAP DATA) are console-only.
NOTE: Do not export over your saved cart you could lose the data. Exported files don't need .tic file extension.
Use save <outfile>.png to export your cart as a png file that can be loaded by TIC-80.
When you export music, there is no command parameter to choose whether to sustain notes between frames; the sustain setting is the music editor's SUSTAIN toggle.

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