Skip to content

Latest commit

ย 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿœ ๐Ÿ„ miso-mario

A side-scrolling World 1-1 written with miso, compiled to WebAssembly.

  • Arrow keys / WASD to move, Up / W / Space to jump (hold for a higher jump)
  • Bump ? blocks from below, collect coins, mind the pits, reach the flag
  • Frame-rate independent physics driven by requestAnimationFrame (rAFSub)
  • Tracks miso master

Build and run

Install Nix Flakes, then:

nix develop .#wasm
make
make serve

For a quick native type-check build (no WASM):

nix develop --command cabal build

On x86_64-darwin, nixpkgs-unstable no longer supports the platform, so nix develop can't fetch its bashInteractive and falls back to macOS's bash 3.2 (which fails with syntax error near unexpected token ;&). Work around it with:

nix develop --override-flake nixpkgs github:NixOS/nixpkgs/nixos-25.11 --command cabal build

About

๐Ÿ„ A Super Mario physics example

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages