godot/platform/javascript
Fabio Alessandrelli 246334b836 [HTML5] Refactor audio drivers. Implement AudioWorklet w/o threads.
Performances are not great in general, bad on Firefox, on Chrome, well,
it could be an improvement. Leave it as a fallback for now, but can be
forced via project settings if desired (or custom JavaScript logic via
the "args" option).

I'm actually surprised this works, it involves so many allocations, but
there's no way around it when SharedArrayBuffer is not available :(.
2021-09-15 20:48:49 +02:00
..
api [HTML5] Fix build error due to missing string cast. 2021-09-12 19:07:18 +02:00
export Make platform feature tag names lowercase 2021-08-31 20:34:44 +02:00
js [HTML5] Refactor audio drivers. Implement AudioWorklet w/o threads. 2021-09-15 20:48:49 +02:00
.eslintrc.engine.js [HTML5] Document Engine and EngineConfig (jsdoc). 2021-02-26 11:33:59 +01:00
.eslintrc.js [HTML5] Enforce JavaScript style with eslint. 2020-11-23 12:15:18 +01:00
.eslintrc.libs.js Add support for WebXR 2021-01-04 17:02:37 -06:00
audio_driver_javascript.cpp [HTML5] Refactor audio drivers. Implement AudioWorklet w/o threads. 2021-09-15 20:48:49 +02:00
audio_driver_javascript.h [HTML5] Refactor audio drivers. Implement AudioWorklet w/o threads. 2021-09-15 20:48:49 +02:00
detect.py [HTML5] Make threads build the default. 2021-07-15 15:33:39 +02:00
display_server_javascript.cpp [HTML5] Fix input not working when buffered. 2021-09-12 19:07:44 +02:00
display_server_javascript.h Move alert function from DisplayServer to OS. 2021-07-22 21:50:35 +03:00
dom_keys.inc Use Key enum instead of plain integers 2021-08-10 16:26:55 -05:00
emscripten_helpers.py HTML5: Handle GODOT_VERSION_STATUS env var in @GODOT_VERSION@ 2021-08-19 15:01:30 +02:00
godot_audio.h [HTML5] Refactor audio drivers. Implement AudioWorklet w/o threads. 2021-09-15 20:48:49 +02:00
godot_js.h [HTML5] Fix some JS library signature. 2021-06-14 12:32:32 +02:00
http_client_javascript.cpp [Net] Makes HTTPClient a custom instance class. 2021-06-23 14:10:45 +02:00
http_client_javascript.h [Net] Makes HTTPClient a custom instance class. 2021-06-23 14:10:45 +02:00
javascript_main.cpp Optimize StringName usage 2021-07-18 21:20:02 -03:00
javascript_runtime.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
javascript_singleton.cpp [HTML5] Fix JavaScript string parsing with new interface. 2021-07-07 15:44:29 +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] Refactor audio drivers. Implement AudioWorklet w/o threads. 2021-09-15 20:48:49 +02:00
os_javascript.h [HTML5] Refactor audio drivers. Implement AudioWorklet w/o threads. 2021-09-15 20:48:49 +02:00
package-lock.json [HTML5] Update eslint and jsdoc dependencies. 2021-06-14 13:42:03 +02:00
package.json [HTML5] Update eslint and jsdoc dependencies. 2021-06-14 13:42:03 +02:00
platform_config.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
README.md Add logo attribution for Android, HTML5 and Linux platform icons 2021-09-11 19:34:10 +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 15:31:23 +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.