A sidescrolling rhythm game written in C and Javascript. Play the game on itch.io.
Squares compiles to WebAssembly using Clang. It does not require Emscripten or the C standard library.
Build scripts are provided for Windows and Linux that use Clang to build a WASM module.
- The scripts expect a directory called "assets" to be present in the root directory of the repository. This directory is not tracked in this repository but can be downloaded here. (Hosted on GitHub as a release.)
- Open a terminal/command prompt.
- Navigate to the root directory of the repository.
- Ensure Clang available in the current session.
- Run
tools/build.bat
ortools/build.sh
- Open
build/index.html
- Depending on your browser, you may have to access index.html with the
http
protocol (instead offile:///
). This may require running a minimal web server on your machine.