This is a thin wrapper around minifb that you can use in deno. Combine it with canvas for native window that works like the canvas web API or webgpu for 3D stuff.
We are still working on it. Also, currently, you need to run deno from this PR. The first goal is to get a basic window for canvas, but eventually we plan to add mouse, key, exit-handler, and loop-lifecycle stuff (for locking into a specific framerate.) The evenutal goal is to be a minimal piece to making performant native games in deno, using standardd web APIs.
// TODO
You will need deno
, make
, and cargo
(for rust) in your path. On mac or linux, run make setup
to install everything you need.
Run make
for some help.