Skip to content
paul59 edited this page Jul 25, 2021 · 234 revisions

Logo TIC-80 tiny computer

TIC-80 is a FREE and OPEN SOURCE fantasy computer for making, playing and sharing tiny games. https://tic80.com

Built-in development tools include code, sprite, map, sound and music editors. Along with the command line tools this provides everything you need to create a mini retro game. Once your game is finished you can export it to a cartridge file, which can be stored and uploaded to the TIC-80 website. Alternatively, it can be packed into a stand-alone player that works on all popular platforms and can be distributed as you wish.

To make a retro styled game, the whole process of creation takes place under some technical limitations:

Specifications
Resolution 240x136 pixel display
Color 16 color palette (chosen from 24-bit colorspace)
Input 4 gamepads with 8 buttons / mouse / keyboard
Sprites 256 foreground sprites and 256 background tiles (8x8 pixel)
Map 240x136 tiles (ie, 1920x1088 pixels)
Sound 4 channels (with editable waveform envelopes)
Code Up to 64KB of compressed code
Memory 96kb of RAM (including 16KB of VRAM)
Bankswitching Up to 8 banks in cart (PRO version only)

Table of Contents

  1. Console
  2. Code Editor
  3. Sprite Editor
  4. Map Editor
  5. SFX Editor
  6. Music Editor
  7. Supported Platforms
  8. Forks

Console

Console Demo

The Console provides a command line interface to many common commands such as changing folders, creating and saving cartridges, etc. It's similar to Mac OS Terminal or Windows Command Prompt, but specifically tailored to TIC-80 development. Type help to get started or review the full list of commands.

  • For those operating systems that support it, tab completion and command history is available.

Learn more about the Console.

Code Editor

Code Editor Demo

TIC-80 includes a powerful built-in code editor to assist with game development. It's entirely possible to design, code, and maintain a game without ever leaving the TIC-80 environment.

TIC-80 Supports multiple scripting languages, including:

It's also easy to use an external editor such as VS Code, Atom, etc. if that is your preference.

Before getting started you may want to learn a bit more about the code or review our detailed API Reference.

Sprite Editor

Sprite Editor Demo

The Sprite Editor allows editing of two 128x128 pixel sprite sheets, one for the foreground and one for the background. The terms 'sprite' and 'tile' are sometimes used interchangeably, although 'tile' usually refers to background sprites that make up a game's map.

  • 256 foreground sprites and 256 background tiles (each 8x8 pixels)
  • Includes brush, select, move, fill, flip, rotate and other tools
  • Edit a 8x8, 16x16, 32x32, or 64x64 segment at once
  • Edit your game's starting palette colors

Sprite and tiles are usually rendered to the screen using the spr and map API functions.

Learn more about the Sprite Editor.

Map Editor

Map Editor Demo

Learn more about the Map Editor.

SFX Editor

SFX Editor Screen Capture

TIC-80 allows up to 64 sound effects which may also can be used as instruments in the Music Editor. The sfx API allows for playing individual sound effects.

Learn more about the SFX Editor.

Music Editor

Music Editor Screen Capture

TIC-80 allows up to 8 tracks that act like separate pieces of music. The music editor makes it easy to compose and editing your tracks.

Learn more about the music editor.

Supported Platforms

TIC is developed in pure C, with SDL and Lua libraries. It works on all popular platforms, including:

  • HTML5
  • Windows
  • Windows 10 UWP
  • Linux 32/64bit
  • Android
  • Mac OS
  • Raspberry Pi
  • Pocket CHIP
  • iOS (courtesy of CliffsDover and Bruno Philipe)
  • libretro

Native versions of TIC support command line arguments when called from the command line or other programs (such as an external editor).

You can find the iOS/tvOS versions here:

Forks

There is a fork of TIC-80 that supports game scripting with the Brainfuck language. See https://github.com/lolbot-iichan/TIC-80/wiki for details and samples.

There is a fork of TIC-80 that supports exercises within Lua (with multiple unit tests, progress save, and other features) to help with teaching programming and game development. This university project was renamed 'FEUP-8' and can be found here afonsojramos/feup-8.

Translators

Clone this wiki locally