-
-
Notifications
You must be signed in to change notification settings - Fork 488
Build instructions
- install Visual Studio 2015
- install GIT
- run following commands in
cmd
git clone --recursive https://github.com/nesbox/TIC-80
- open
TIC-80\build\windows\tic\tic.sln
and build - enjoy :)
follow the instructions in the tutorial https://matheuslessarodrigues.github.io/tic80-build-tutorial/ made by @matheuslessarodrigues
Run the following commands from terminal:
cd ~/Documents
git clone --recursive https://github.com/nesbox/TIC-80
cd TIC-80
make macosx
cd build/macosx
make
Download, install & configure emscripten as per your environment requires:
http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html
Run the following commands from terminal (tested on OSX, your mileage may vary):
git clone --recursive https://github.com/nesbox/TIC-80
cd TIC-80
make wasm
cd build/html
A nice small & fast WASM file awaits you :)
For Debian based systems (e.g. Ubuntu), run the following commands in your Terminal: run the following commands in the Terminal
sudo apt-get install git build-essential libgtk-3-dev libsdl2-dev lua5.3-dev zlib1g-dev
git clone --recursive https://github.com/nesbox/TIC-80
cd 3rd-party/wren-0.1.0/
make static
cd ../..
make linux
Exit to shell by press F4 and upgrade the system:
sudo apt-get update
sudo apt-get dist-upgrade
Add jessie-backports repo to /etc/apt/sources.list:
deb http://ftp.debian.org/debian jessie-backports main
then run apt-get update
(don't worry about GPG)
Install needed soft:
sudo apt-get install git build-essential libgtk-3-dev libsdl2-dev zlib1g-dev
Install liblua5.3-dev from jessie-backports:
sudo apt-get install -t jessie-backports liblua5.3-dev
Get fresh TIC-80 and compile
git clone --recursive https://github.com/nesbox/TIC-80
cd 3rd-party/wren-0.1.0/
make static
cd ../..
make linux
If you are using a normal Raspberry Pi image (not Retropie) you may not
have OpenGL drivers enabled. Run sudo raspi-config
, then select 7
for "Advanced Options", followed by 6 for "GL Drivers", and enable "GL
(Fake KMS) Desktop Driver". After changing this setting it needs to reboot.
run it: bin/tic
Enjoy!
Please see the AUR package, tic-80
.
Install devel packages needed to compile:
apt-get install git automake libgtk+3-devel libreadline-devel
We need to compile TIC and 3rd-party libs, precompiled libs are not suitable
mkdir tic
cd tic
git clone --recursive https://github.com/nesbox/TIC-80
Lets build 3rd-party libs:
cd 3rd-party
cd SDL2-2.0.7
sh autogen.sh && sh configure
make
Our lib here: ./build/.libs/libSDL2.a
cd giflib-5.1.4
sh autogen.sh && sh configure
make
Our lib here: /lib/.libs/libgif.a
cd lua-5.3.1
make linux
Our lib here: ./src/liblua.a
cd zlib-1.2.8
sh configure
make
Our lib here: ./libz.a
Copy compiled libs into /TIC-80/lib/linux directory and build TIC:
cd 3rd-party/wren-0.1.0/
make static
cd ../..
make linux
You can find iOS/tvOS version here https://github.com/CliffsDover/TIC-80
TIC-80 tiny computer https://tic80.com | Twitter | Telegram | Terms
Built-in Editors
Console
Platform
RAM & VRAM | Display | Palette | Bits per Pixel (BPP) |
.tic
Format | Supported Languages
Other
Tutorials | Code Snippets | Libraries | External Tools | FFT
API
- BDR (0.90)
- BOOT (1.0)
- MENU
- OVR (deprecated)
- SCN (deprecated)
- TIC
- btn & btnp
- circ & circb
- clip
- cls
- elli & ellib (0.90)
- exit
- fget & fset (0.80)
- font
- key & keyp
- line
- map
- memcpy & memset
- mget & mset
- mouse
- music
- peek, peek4
- peek1, peek2 (1.0)
- pix
- pmem
- poke, poke4
- poke1, poke2 (1.0)
- rect & rectb
- reset
- sfx
- spr
- sync
- ttri (1.0)
- time
- trace
- tri & trib (0.90)
- tstamp (0.80)
- vbank (1.0)