Repository navigation
load
load <cart> Load cartridge from the local filesystem.
load <cart> [ code | tiles | sprites | map | sfx | music | palette | flags | screen ] Load data (sprites, map, etc) from an external cart to the already loaded cart.
Required:
-
<cart>input cart name..ticextension will be added if no extension is used. You can also load.pngcarts and text/project carts (.lua,.py,.rb,.js,.moon,.yue,.fnl,.nut,.wren,.janet,.scm,.ms,.fth,.gravity,.wasmp) [PRO version].
Optional (1 max):
-
code | tiles | sprites | map | sfx | music | palette | flagsload code, tiles, sprites, map, sfx, music, palette, flags from input cart. -
screenload cover image from input cart.
Load a cartridge from the local filesystem or load the data of an external cartridge to the currently loaded cart.
A text/project cart keeps the resources in tagged sections (TILES, SPRITES, MAP, SFX, PATTERNS, TRACKS, SCREEN, PALETTE, LANG, ...) after the code; load reads them together with the code. See save.
To load a code or image from an external file, use import.
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