Files
TIC-80/build/webapp
tranxuanthang f96ef1a6ca Refactor and improve HTML builds
This commit refactor & fix various problems in HTML builds:

- Build emscripten script as ES6 module, so that it doesn't pollute the
global namespace and can be easier to import to SPA projects
(vue, react,...).
- Change `SDL_EMSCRIPTEN_KEYBOARD_ELEMENT` to the canvas element so that
emscripten won't block all keyboard input to the rest of the
webpage (fixing the problem that make typing comment content on
tic80.com is not possible after starting the game)
- Add tabindex to canvas element so that canvas can be focused (and
unfocused) and capture the keyboard input properly.
- Refactor html template of html, html export stub and webapp
build to be more minimal, and add a simple "play" icon instead of
"click to play" text
- Small changes to html build directories in github action's script
2022-05-04 21:20:20 +07:00
..
2022-05-04 21:20:20 +07:00
2021-05-15 20:08:27 -04:00