Github - API - Allegro TS
allegro.ts emscripten is a complete mapping of the allegro-ts library to C using emscripten. This allows allegro 4 games to be easily cross compiled to the web.
Run the setup script in the root to create a flattened version of allegro-ts to be used by emscripten.
./setup.sh
To build the examples run:
cd examples
emcmake cmake -G "<makefile type>" .
make
To run the examples, you will need to serve up the build directory with something like npm serve.
npm i -g serve
cd build
serve