
TIC-80 TINY COMPUTER — tic80.com
About
TIC-80 is a free and open source fantasy computer for making, playing and sharing tiny games.
With TIC-80 you get built-in tools for development: code, sprites, maps, sound editors and the command line, which is enough to create a mini retro game.
Games are packaged into a cartridge file, which can be easily distributed. TIC-80 works on all popular platforms. This means your cartridge can be played in any device.
To make a retro styled game, the whole process of creation and execution takes place under some technical limitations: 240x136 pixel display, 16 color palette, 256 8x8 color sprites, 4 channel sound, etc.

Features
- Multiple programming languages: Lua,
Moonscript,
YueScript,
Javascript,
Fennel,
Scheme,
Squirrel,
Ruby,
Wren,
Janet,
Python,
MiniScript,
Gravity, and
Forth, plus languages that compile to
WASM.
- Games can have mouse and keyboard as input
- Games can have up to 4 controllers as input (with up to 8 buttons, each)
- Built-in editors: for code, sprites, world maps, sound effects and music
- Memory banks: up to 8 banks in a cart (PRO) to swap assets while a game runs
- Native builds for Windows, Linux (x64/arm64), macOS (Apple Silicon/Intel), Android, FreeBSD, Raspberry Pi, Nintendo 3DS, Nintendo Switch, Tanmatsu and libretro; the web player runs through WebGL or WebGPU
- Moderated community
Binary Downloads
Free code signing provided by SignPath.io, certificate by SignPath Foundation. See the code signing policy.
Stable Builds
You can download compiled versions for the major operating systems directly from our Releases page.
Nightly Builds
Can be downloaded from official nightly.link page or from the Github Actions page.
Pro Version
To help support TIC-80 development, we have a PRO Version.
This version has a few additional features and binaries can only be downloaded on our itch.io page.
Users who can’t afford the program can easily build the pro version from the source code using the cmake .. -DBUILD_PRO=On command.
Pro Features
- Save/load cartridges as text projects, and create your game in any editor you want, also useful for version control systems.
- Even more memory banks: instead of having only 1 memory bank you have 8.
- Export your game without editors, and then publish it to app stores.
You can play and share games, tools and music at tic80.com/play.
The community also hangs out and discusses on Telegram or Discord.
Contributing
You can contribute by reporting a bug or requesting a new feature on our Issues page.
Keep in mind when engaging on a discussion to follow our Code of Conduct.
You can also contribute by reviewing or improving our Wiki.
The wiki holds TIC-80 documentation, code snippets and game development tutorials.
Build instructions
Windows
MSVC (Microsoft Visual C++)
Windows 10 / 11 64-bit (x64)
This guide assumes you’re running PowerShell with an elevated prompt.
winget install Git.Git Kitware.CMake Microsoft.VisualStudio.2022.BuildTools RubyInstallerTeam.RubyWithDevKit.2.7
- Install the necessary dependencies within VS2022:
- Launch “Visual Studio Installer”
- Click “Modify”
- Check “Desktop Development with C++”
- Make sure the following components are installed:
- Windows 10/11 SDK
- MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)
- Click “Modify”
- Run
ridk install with options 1,3 to set up MSYS2 and development toolchain
- Add MSYS2’s
gcc at C:\Ruby27-x64\msys64\mingw64\bin to your $PATH manually or with the following PowerShell command:
[Environment]::SetEnvironmentVariable('Path', $env:Path + ';C:\Ruby27-x64\msys64\mingw64\bin', [EnvironmentVariableTarget]::Machine)
- Open a new elevated prompt and run the following commands:
git clone --recursive https://github.com/nesbox/TIC-80 && cd .\TIC-80\build
cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release -DBUILD_WITH_ALL=On -DCMAKE_POLICY_VERSION_MINIMUM=3.5 ..
cmake --build . --config Release --parallel
You’ll find tic80.exe in TIC-80\build\bin.
The default system layer is sokol. To build the SDL version instead, add -DBUILD_SDL=On -DBUILD_SOKOL=Off -DBUILD_SDLGPU=On to the cmake line.
Windows XP / Windows 7 32-bit (x86)
This is a legacy target and is not exercised by CI. The build process was tested on Windows 11 64-bit (x64); it should run on Windows 7 SP1 32-bit (x86) as well. This guide assumes you’re running an elevated Command Prompt.
-
Install Git, CMake, Visual Studio 2019 Build Tools and Ruby+Devkit 2.7.8 x86
-
Install the necessary dependencies within VS2019:
- Launch “Visual Studio Installer”
- Click “Modify”
- Check “Desktop Development with C++”
- Go to “Individual components”
- Search for “v141”
- Install:
- C++ Windows XP Support for VS 2017 (v141) tools [Deprecated]
- MSVC v141 - VS 2017 C++ x64/x86 build tools (v14.16)
- Click “Modify”
-
Run ridk install with options 1,3 to set up MSYS2 and development toolchain
-
Add MSYS2’s gcc at C:\Ruby27\msys32\mingw32\bin to your $PATH (guide)
-
Open a new elevated Command Prompt and run the following commands:
git clone --recursive https://github.com/nesbox/TIC-80 && cd .\TIC-80\build
cmake -G "Visual Studio 16 2019" -A Win32 -T v141_xp -DCMAKE_BUILD_TYPE=Release -DBUILD_SDL=On -DBUILD_SOKOL=Off -DBUILD_WITH_ALL=On -DCMAKE_POLICY_VERSION_MINIMUM=3.5 ..
cmake --build . --config Release --parallel
You’ll find tic80.exe in TIC-80\build\bin.
MSYS2 / MINGW
Windows 10 / 11 64-bit (x64)
This guide assumes you’re running PowerShell with an elevated prompt.
winget install Git.Git Kitware.CMake RubyInstallerTeam.RubyWithDevKit.2.7
- Run
ridk install with options 1,3 to set up MSYS2 and development toolchain
- Add MSYS2’s
gcc at C:\Ruby27-x64\msys64\mingw64\bin to your $PATH manually or with the following PowerShell command:
[Environment]::SetEnvironmentVariable('Path', $env:Path + ';C:\Ruby27-x64\msys64\mingw64\bin', [EnvironmentVariableTarget]::Machine)
- Open a new elevated prompt and run the following commands:
git clone --recursive https://github.com/nesbox/TIC-80 && cd .\TIC-80\build
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DBUILD_WITH_ALL=On -DCMAKE_POLICY_VERSION_MINIMUM=3.5 ..
$numCPUs = [Environment]::ProcessorCount
mingw32-make "-j$numCPUs"
You’ll find tic80.exe in TIC-80\build\bin.
Linux
The commands below build with GLES (-DUSE_GLES2=On), as the release Linux binaries do: sokol then needs the X11/Xi/Xcursor, EGL/GLES and ALSA headers. Drop that flag on a machine that can provide an OpenGL 4.3 core context (the GL build uses GLX). Pulse/audio/samplerate are optional audio backends the package lists also carry. For the SDL build instead, configure with -DBUILD_SDL=On -DBUILD_SOKOL=Off (and -DBUILD_SDLGPU=On for the GPU renderer).
Ubuntu 22.04 / 24.04
Run the following commands from a terminal:
sudo apt update && sudo apt -y install build-essential cmake pkg-config git libx11-dev libxi-dev libxcursor-dev libegl1-mesa-dev libgles2-mesa-dev libasound2-dev libpulse-dev libaudio-dev libsamplerate0-dev libcurl4-openssl-dev ruby-dev rake
git clone --recursive https://github.com/nesbox/TIC-80 && cd TIC-80/build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_WITH_ALL=On -DUSE_GLES2=On -DCMAKE_POLICY_VERSION_MINIMUM=3.5 .. && cmake --build . --parallel
Install with Install Instructions
Arch
Run the following commands in the Terminal:
sudo pacman -S --needed base-devel cmake git ruby ruby-rake libx11 libxi libxcursor mesa libglvnd alsa-lib libpulse curl
git clone --recursive https://github.com/nesbox/TIC-80 && cd TIC-80/build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_WITH_ALL=On -DUSE_GLES2=On -DCMAKE_POLICY_VERSION_MINIMUM=3.5 .. && cmake --build . --parallel
Install with Install Instructions
Fedora 40+
Run the following commands from a terminal:
sudo dnf -y groupinstall "Development Tools"
sudo dnf -y install cmake git ruby ruby-devel rubygem-rake libX11-devel libXi-devel libXcursor-devel libglvnd-devel mesa-libEGL-devel alsa-lib-devel pulseaudio-libs-devel libcurl-devel
git clone --recursive https://github.com/nesbox/TIC-80 && cd TIC-80/build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_WITH_ALL=On -DUSE_GLES2=On -DCMAKE_POLICY_VERSION_MINIMUM=3.5 .. && cmake --build . --parallel
Install with Install Instructions
openSUSE
Run the following commands from a terminal:
sudo zypper refresh
sudo zypper install --no-confirm --type pattern devel_basis
sudo zypper install --no-confirm cmake git ruby ruby-devel rubygem-rake libX11-devel libXi-devel libXcursor-devel Mesa-libEGL-devel Mesa-libGLESv2-devel alsa-devel libpulse-devel libcurl-devel
git clone --recursive https://github.com/nesbox/TIC-80 && cd TIC-80/build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_WITH_ALL=On -DUSE_GLES2=On -DCMAKE_POLICY_VERSION_MINIMUM=3.5 .. && cmake --build . --parallel
Install with Install Instructions
Raspberry Pi OS (64-Bit)
Run the following commands from a terminal:
sudo apt update && sudo apt -y install build-essential cmake pkg-config git libx11-dev libxi-dev libxcursor-dev libegl1-mesa-dev libgles2-mesa-dev libasound2-dev libpulse-dev libaudio-dev libsamplerate0-dev libcurl4-openssl-dev ruby-dev rake
git clone --recursive https://github.com/nesbox/TIC-80 && cd TIC-80/build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_WITH_ALL=On -DUSE_GLES2=On -DCMAKE_POLICY_VERSION_MINIMUM=3.5 .. && cmake --build . --parallel 2
Install with Install Instructions
The bare-metal Raspberry Pi builds (Circle) live in src/system/baremetalpi and are produced by the rpi-baremetal jobs in the build workflow.
Mac
install Command Line Tools for Xcode and brew package manager
Standard build (sokol)
Run the following commands in the Terminal:
brew install git cmake
git clone --recursive https://github.com/nesbox/TIC-80 && cd TIC-80/build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_WITH_ALL=On -DCMAKE_POLICY_VERSION_MINIMUM=3.5 ..
cmake --build . --parallel
TIC-80 also includes an optional native Apple backend built with Metal, AppKit, AVFoundation, GameController, and Swift. It is a macOS backend; it does not build for iOS or tvOS. The -G Xcode generator needs a full Xcode installation, not only the Command Line Tools:
brew install git cmake
git clone --recursive https://github.com/nesbox/TIC-80 && cd TIC-80
cmake -G Xcode -B build -DBUILD_APPLE=ON -DBUILD_STATIC=ON -DBUILD_RENDER_CACHE=ON -DBUILD_WITH_ALL=ON -DCMAKE_POLICY_VERSION_MINIMUM=3.5
cmake --build build --config Release
To create an application icon for a development version, use the plist that the configure step generates and the icon shipped in build/macosx. The Xcode generator puts the binary in the Release configuration folder:
mkdir -p ~/Applications/tic80dev.app/Contents/{MacOS,Resources}
cp -f build/macosx/tic80.plist ~/Applications/tic80dev.app/Contents/Info.plist
cp -f build/macosx/tic80.icns ~/Applications/tic80dev.app/Contents/Resources
cat > ~/Applications/tic80dev.app/Contents/MacOS/tic80 <<EOF
#!/bin/sh
exec "$PWD/build/bin/Release/tic80" --skip >/dev/null
EOF
chmod +x ~/Applications/tic80dev.app/Contents/MacOS/tic80
FreeBSD
run the following commands in the Terminal
sudo pkg install gcc git cmake ruby libglvnd libglu freeglut mesa-devel mesa-dri alsa-lib
git clone --recursive https://github.com/nesbox/TIC-80 && cd TIC-80/build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_WITH_ALL=On -DCMAKE_POLICY_VERSION_MINIMUM=3.5 ..
cmake --build . --parallel
Mesa looks for swrast_dri.so from the wrong path, so also symlink it:
sudo ln -s /usr/local/lib/dri/swrast_dri.so /usr/local/lib/dri-devel/
- libretro: configure with
-DBUILD_LIBRETRO=On.
- Nintendo 3DS / Nintendo Switch: devkitPro toolchains; see the
nintendo-3ds and nintendo-switch jobs in .github/workflows/build.yml.
- Tanmatsu / Konsool: the ESP-IDF project in
src/system/tanmatsu and its README.
- Android: the SDL build is the Gradle project in
build/android, the sokol build is build/android-sokol with its apk.sh; see the android and sdl-android jobs in .github/workflows/build.yml.
Install instructions
Linux
- Build with
cmake --build . --parallel and locate the binary at TIC-80/build/bin/tic80.
- To install system-wide run
sudo cmake --install . from the build directory.
TIC-80 can now be run with tic80 (if installed) or ./tic80 (with no installation).
Legacy iOS / tvOS
There is no iOS or tvOS build in the releases; the native Apple backend is macOS only. These community forks were built from much older versions:
Android
You can find the compiled version ready download and install on F-Droid:

Credits
License
TIC-80 is released under the MIT License; see LICENSE. The vendored third-party components and their licenses are listed in THIRD_PARTY_LICENSES.md and the LICENSES folder.
评论