-
-
Notifications
You must be signed in to change notification settings - Fork 488
Build instructions
- Install
git
- Git for Windows - Run the following command:
git clone --recursive https://github.com/nesbox/TIC-80
- Install
Visual Studio 2019
with theDesktop Development C++
workload - Community edition is free. - Launch Visual Studio 2019
- Get Started > Open a Local Folder
- Select the
TIC-80
Git folder
- Wait for CMake to finish its work
- Solution Explorer > Right-Click CMakeList.txt > Build
Executables can be found in TIC-80\out\build\x64-Debug (default)\bin
- Tools > Command Line > Developer Command Prompt
- Run the following commands to generate project and solution files:
-
cd build
-
cmake -G "Visual Studio 16 2019" ..
- Back in Visual Studio: File > Open > Project/Solution
- Select
TIC-80\build\TIC-80.sln
- Build > Build Solution
Executables can be found in TIC-80\build\bin
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
Install required public keys:
gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
gpg -a --export 8B48AD6246925553 | sudo apt-key add -
gpg --keyserver pgpkeys.mit.edu --recv-key 7638D0442B90D010
gpg -a --export 7638D0442B90D010 | sudo apt-key add -
then run apt-get update
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
sudo apt-get install git
git clone --recursive https://github.com/nesbox/TIC-80
cd TIC-80/build
cmake ..
make
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:
make linux
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)