virtualx-engine/platform/javascript
Fabio Alessandrelli 3a61d0990e [HTML5] Editor video driver option. Replace canvas on exit.
Default is "Auto", but can be forced to a specific WebGL version if the
automatic detection fails.

The game and editor canvas are now replaced with a new one in the exit
hooks. This helps the browser do some context cleanup, and allow us to
create a new context of a different type (WebGL/WebGL2).

Enable GLES3/WebGL2 in the Web Editor.
2021-10-19 15:52:02 +02:00
..
api Provide a getter for the project data directory. 2021-09-15 13:00:25 -07:00
export [HTML5] Add option to focus canvas on start. 2021-06-29 14:02:23 +02:00
js [HTML5] Refactor JS library listeners to OS. 2021-10-05 15:13:41 +02:00
.eslintrc.engine.js [HTML5] Document Engine and EngineConfig (jsdoc). 2021-02-26 15:35:38 +01:00
.eslintrc.js HTML5: Fix minification error with Emscripten 1.39.9 2021-09-29 10:54:01 +02:00
.eslintrc.libs.js [HTML5] Refactor JS library listeners to OS. 2021-10-05 15:13:41 +02:00
audio_driver_javascript.cpp [HTML5] Refactor audio drivers. Implement AudioWorklet w/o threads. 2021-09-20 14:53:27 +02:00
audio_driver_javascript.h [HTML5] Refactor audio drivers. Implement AudioWorklet w/o threads. 2021-09-20 14:53:27 +02:00
detect.py [HTML5] Bump initial memory for Web editor 2021-10-18 16:09:04 +02:00
dom_keys.inc [HTML5] Add support for physical_keycode. 2021-05-06 23:19:46 +03:00
emscripten_helpers.py HTML5: Handle GODOT_VERSION_STATUS env var in @GODOT_VERSION@ 2021-09-21 17:14:58 +02:00
godot_audio.h [HTML5] Refactor audio drivers. Implement AudioWorklet w/o threads. 2021-09-20 14:53:27 +02:00
godot_js.h [HTML5] Refactor display/input JS library code. 2021-10-05 15:13:41 +02:00
http_client.h.inc [HTML5] Use 64KiB chunk size in JS HTTPClient. 2021-05-09 17:14:35 +02:00
http_client_javascript.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
javascript_main.cpp [HTML5] Fix target_fps when window loses focus. 2021-05-09 17:14:36 +02:00
javascript_runtime.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
javascript_singleton.cpp [HTML5] Fix JavaScript string parsing with new interface. 2021-07-13 10:20:02 +02:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00
os_javascript.cpp [HTML5] Editor video driver option. Replace canvas on exit. 2021-10-19 15:52:02 +02:00
os_javascript.h [HTML5] Remove "maximize" support. 2021-10-05 15:13:41 +02:00
package-lock.json [HTML5] Update eslint and jsdoc dependencies. 2021-06-17 12:47:55 +02:00
package.json [HTML5] Update eslint and jsdoc dependencies. 2021-06-17 12:47:55 +02:00
platform_config.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
README.md Add logo attribution for Android, HTML5 and Linux platform icons 2021-09-21 17:14:59 +02:00
run_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
SCsub [HTML5] Implement mouse/touch/key events in JS library. 2021-10-05 15:13:41 +02:00

HTML5 platform port

This folder contains the C++ and JavaScript code for the HTML5/WebAssembly platform port, compiled using Emscripten.

It also contains a ESLint linting setup (see package.json).

See also misc/dist/html folder for files used by this platform such as the HTML5 shell.

Artwork license

logo.png and run_icon.png are licensed under Creative Commons Attribution 3.0 Unported per the HTML5 logo usage guidelines.