Skip to content

ShadowCurse/slingshot

Repository files navigation

Slingshot

Screenshots

Setup

Update submodules:

$ git submodule update --init --recursive

Apply raylib patch:

$ cd raylib
$ git apply ../raylib.diff

Switch flecs version:

$ cd flecs
$ git checkout v3.2.7

Build

Desktop:

$ zig build
# for wayland version
$ ./zig-out/bin/slingshot
# for x11 version
$ ./zig-out/bin/slingshot_x11

Wasm:

$ zig build -Dtarget=wasm32-emscripten --sysroot "$PWD/emsdk/upstream/emscripten" -Doptimize=ReleaseFast
$ wasm.sh

Everything will be in wasm folder.

About

Simple 2d game in Zig

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages