Skip to content

Platformer game with zig and WASM-4. Nitor codecamp.

Notifications You must be signed in to change notification settings

jsyrjala/jumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jumper

A game written in Zig for the WASM-4 fantasy console.

Running in https://jsyrjala.github.io/jumper/

Screenshot

Development

Install Zig: https://ziglang.org/download/

Install WASM-4:

npm install wasm4

Run development server:

w4 watch

For more info about setting up WASM-4, see the quickstart guide.

Building

Build the cart by running:

zig build -Drelease-small=true

Then run it with:

w4 run zig-out/lib/cart.wasm

Bundling

Bundling creates a single all-in-one HTML file that can be deployed to web server.

w4 bundle --html zig-out/index.html --title Jumper --description "Simple platformer" zig-out/lib/cart.wasm

Links

About

Platformer game with zig and WASM-4. Nitor codecamp.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages