Arcade-style game that runs natively or in the browser
Oxid is an arcade-style game where you fight waves of monsters in a fixed-screen maze. This is more or less a clone of Verminian Trap (2013, Locomalito). Verminian Trap was originally inspired by Wizard of Wor (1980, Midway).
Oxid is written in the Zig programming language (requires version 0.7.x).
Note: After cloning the oxid repository, make sure to update the submodules (
git submodule initfollowed by
git submodule update).
Oxid can be built into a native executable or a WebAssembly binary.
The native build requires SDL2 and should work on Linux, Mac and Windows (untested).
To build and run the debug build:
zig build play
zig build zig-cache/oxid
To build and run the release build:
zig build -Drelease-safe=true zig-cache/oxid
Oxid supports a few command-line options for things like refresh rate and audio sample rate. Run
zig-cache/oxid --helpfor a listing.
The WebAssembly build has no third-party requirements.
To build and serve:
sh build_web.sh www # choose any destination directory cd www python3 -m http.server # or any other web server of your choice
Game controls (these can be rebound in the menu):
Some sound effects from https://opengameart.org/content/512-sound-effects-8-bit-style