peterhellberg / tic-init

Initialize a Zig :zap: TIC-80 WASM cart project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tic-init ✨

This is a command line tool that acts as a companion to my tic module for Zig

tic-init is used to create a directory containing code that allows you to promptly get started coding on a cart for the lovely little fantasy console TIC-80.

The Zig build .target is declared as .{ .cpu_arch = .wasm32, .os_tag = .wasi } and .optimize is set to .ReleaseSmall

Important

No need to specify -Doptimize=ReleaseSmall

Installation

(Requires you to have Go installed)

go install github.com/peterhellberg/tic-init@latest

Usage

(Requires you to have an up to date (nightly) version of Zig installed, as well as the PRO version of TIC-80)

tic-init mycart
cd mycart
zig build run

Note

There is also a zig build spy command.

🌱

About

Initialize a Zig :zap: TIC-80 WASM cart project

License:Other


Languages

Language:Go 48.8%Language:Zig 33.7%Language:Makefile 17.5%