allegro-ts
v1.1.1
Published
Allegro 4 brought to the browser
Downloads
63
Maintainers
Readme
allegro.ts
An HTML5 game making library
GitHub - Docs - Emscripten
What is allegro.ts?
allegro.ts is a project which attempts to map the entire Allegro 4 API to Javascript in as close of a manner as possible.
This is based on allegro.js an earlier project to bring the Allegro 4 library to the browser.
I want to compile Allegro 4 code to the web, how do I use this?
If you want to compile an existing Allegro 4 codebase to the web, you can use allegro-ts-emscripten which binds the Allegro 4 C API to the allegro.ts library. This allows you to compile your existing C codebase to WebAssembly and run it in the browser with minimal changes.
Building
Install packages
npm installBuild core
npm run build