Angluca / tic80-zig-template

zig language template for TIC-80

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZIG Starter Project Template

This is a ZIG / TIC-80 starter template. To build it, ensure you have the latest development release (0.12.0-dev.2727+fad5e7a99 or newer), then run:

zig build --release=small

To import the resulting WASM to a cartridge:

tic80 --fs . --cmd 'load cart.wasmp & import binary zig-out/bin/cart.wasm & save'

Or from the TIC-80 console:

tic80 --fs .

load zig-out/bin/cart.wasmp
import binary cart.wasm
save

This is assuming you've run TIC-80 with --fs . inside your project directory.

Or easy call it :)

sh run.sh

About

zig language template for TIC-80


Languages

Language:Zig 99.5%Language:Shell 0.5%