/allegro-ts-emscripten

Emscripten port of allegro 4 using allegro ts

Primary LanguageTypeScriptMIT LicenseMIT

allegro.ts

Emscripten port of allegrots

Github - API - Allegro TS

What is allegro.ts emscripten?

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.

Setup

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

Examples