godot/platform/javascript
Fabio Alessandrelli 4ce01a35be
[HTML5] Fix multi-touch input handling.
The code to populate the input data for WebAssembly was incorrectly
overriding values when multiple touches were present due to wrong
indexing.

(cherry picked from commit 470496d8d4)
2021-11-30 12:21:28 +01:00
..
api Provide a getter for the project data directory. 2021-09-15 13:00:25 -07:00
export clang-format: Disable alignment of operands, too unreliable 2021-10-28 13:23:38 +02:00
js [HTML5] Fix multi-touch input handling. 2021-11-30 12:21:28 +01: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
README.md Add logo attribution for Android, HTML5 and Linux platform icons 2021-09-21 17:14:59 +02:00
SCsub [HTML5] Use compatibility function for glGetBufferSubData. 2021-11-29 16:42:26 +01: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
godot_webgl2.cpp [HTML5] Use compatibility function for glGetBufferSubData. 2021-11-29 16:42:26 +01:00
godot_webgl2.h [HTML5] Use compatibility function for glGetBufferSubData. 2021-11-29 16:42:26 +01: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 JS: Bump ansi-regex version for linter 2021-10-23 12:04:17 +02:00
package.json [HTML5] Update eslint and jsdoc dependencies. 2021-06-17 12:47:55 +02:00
platform_config.h [HTML5] Use compatibility function for glGetBufferSubData. 2021-11-29 16:42:26 +01:00
run_icon.png Optimize images losslessly using `oxipng -o6 --strip all --zopfli` 2018-06-28 19:17:41 +02:00

README.md

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.