godot/platform/javascript
Rémi Verschelde e292d79fb3
SCons: Add DEV_ENABLED defines for target=debug builds
This will allow adding developer checks which will be fully compiled out in
user builds, unlike `DEBUG_ENABLED` which is included in debug tempates and
the editor builds.

This define is not used yet, but we'll soon add code that uses it, and change
some existing `DEBUG_ENABLED` checks to be performed only in dev builds.

Related to https://github.com/godotengine/godot-proposals/issues/3371.
2021-10-04 11:25:02 +02:00
..
api [HTML5] Fix JS build without eval. 2021-06-17 12:47:55 +02:00
export [HTML5] Add option to focus canvas on start. 2021-06-29 14:02:23 +02:00
js HTML5: Fix minification error with Emscripten 1.39.9 2021-09-29 10:54:01 +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 Add support for WebXR 2021-01-04 17:01:42 -06: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 SCons: Add DEV_ENABLED defines for target=debug builds 2021-10-04 11:25:02 +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] Fix some JS library signature. 2021-06-17 12:47:54 +02:00
http_client_javascript.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
http_client.h.inc [HTML5] Use 64KiB chunk size in JS HTTPClient. 2021-05-09 17:14:35 +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 [3.x] Release pressed events when the window is blurred on HTML5 platform 2021-09-23 16:44:03 +03:00
os_javascript.h [3.x] Release pressed events when the window is blurred on HTML5 platform 2021-09-23 16:44:03 +03: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] Add easy to use download API. 2021-05-21 16:03:38 +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.