godot/platform/web
A Thousand Ships 955d5affa8
Reduce and prevent unnecessary random-access to List
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)

* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
..
api Organize existing code for editor plugins 2024-04-27 11:59:58 -07:00
doc_classes [Doc] Fix some incorrect uses of a/an 2024-03-13 21:20:28 +01:00
export Add more Remote Debug options to the web platform 2024-05-01 14:11:05 -04:00
js [Web] Fix closure compiler typedef annotation 2024-04-26 13:11:41 +02:00
.eslintrc.engine.js [Web] Add feature detection helpers to JS Engine class. 2022-09-17 11:21:17 +02:00
.eslintrc.html.js Add THREADS_ENABLED macro in order to compile Godot to run on the main thread 2024-01-17 13:58:29 -05:00
.eslintrc.js [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
.eslintrc.libs.js [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
.eslintrc.sw.js Add option to ensure cross-origin isolation headers on web export 2024-02-12 09:27:39 -05:00
audio_driver_web.cpp Add THREADS_ENABLED macro in order to compile Godot to run on the main thread 2024-01-17 13:58:29 -05:00
audio_driver_web.h Add THREADS_ENABLED macro in order to compile Godot to run on the main thread 2024-01-17 13:58:29 -05:00
detect.py SCons: Colorize warnings/errors during generation 2024-04-28 16:24:48 -05:00
display_server_web.cpp Fix unsafe uses of Callable.is_null() 2024-04-27 16:22:57 +02:00
display_server_web.h Move global_menu_* methods to a separate NativeMenu class. 2024-03-04 23:41:41 +02:00
dom_keys.inc Add InputEventKey.location to tell left from right 2024-01-26 14:42:28 +01:00
emscripten_helpers.py Add THREADS_ENABLED macro in order to compile Godot to run on the main thread 2024-01-17 13:58:29 -05:00
godot_audio.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
godot_js.h [Web] Add IME input support. 2023-12-15 19:11:10 +02:00
godot_webgl2.h Add MSAA support for WebXR 2023-12-11 09:01:24 -06:00
http_client_web.cpp [Web] Always return -1 as body length in HTTPClientWeb. 2023-07-24 08:57:02 +02:00
http_client_web.h [Web] Always return -1 as body length in HTTPClientWeb. 2023-07-24 08:57:02 +02:00
javascript_bridge_singleton.cpp Fix unsafe uses of Callable.is_null() 2024-04-27 16:22:57 +02:00
os_web.cpp Reduce and prevent unnecessary random-access to List 2024-05-04 16:08:55 +02:00
os_web.h Implement amplitude to Input.vibrate_handheld 2024-05-02 19:09:42 +03:00
package-lock.json [Web] Update npm packages 2023-07-31 21:43:59 +02:00
package.json Add option to ensure cross-origin isolation headers on web export 2024-02-12 09:27:39 -05:00
platform_config.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
platform_gl.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
README.md Update all outdated online documentation links 2023-01-14 19:38:00 +03:00
SCsub SCons: Colorize warnings/errors during generation 2024-04-28 16:24:48 -05:00
serve.py [Web] Fix serve.py utility on Windows 2024-04-15 19:16:50 +02:00
web_main.cpp Refactor OS exit code to be EXIT_SUCCESS by default 2024-03-08 23:31:24 +01:00
web_runtime.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00

Web platform port

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

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

See also misc/dist/html folder for additional files used by this platform such as the html shell (web page).

Documentation

Artwork license

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