Skip to content

0xf00ff00f/rotator

Repository files navigation

A shape rotating game. Play it here.

If you like this you should get the Android version, it looks a lot nicer!

Building

Pull down submodules:

$ git submodule update --init --recursive

Native binary

Install dependencies. On Ubuntu:

$ sudo apt install libsdl1.2-dev libglew-dev

Build with CMake:

$ cmake -B build -S .
$ cmake --build build --parallel

Now run the game binary to play.

It should build on MacOSX, though I haven't tested.

WebAssembly binary

Download and install the Emscripten SDK. Follow the instructions here.

Set up the emsdk environment variables with something like:

$ source path/to/emsdk/emsdk_env.sh

Build with CMake:

$ emcmake cmake -B build -S .
$ cmake --build build --parallel

This should generate the game.{html,wasm,js} files.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages