Files
2023-09-08 19:31:26 +02:00
..
2023-09-08 19:12:33 +02:00
2023-09-08 19:12:33 +02:00
2023-09-08 19:31:26 +02:00
2022-02-23 16:39:44 +03:00
2022-02-23 16:39:44 +03:00

ZIG Starter Project Template

This is a ZIG / TIC-80 starter template. To build it, ensure you have the latest stable Zig release (0.11) or the development release (0.12), then run:

zig build -Doptimize=ReleaseSmall

To import the resulting WASM to a cartridge:

tic80 --fs . --cmd 'load game.tic & import binary zig-out/lib/cart.wasm & save'

Or from the TIC-80 console:

load game.tic
import binary zig-out/lib/cart.wasm
save

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