virtualx-engine/platform/web
Fabio Alessandrelli 7af8c494ab [Web] Force emcc to use "wasm" longjmp mode
SUPPORT_LONGJMP have changed since emscripten 3.1.32 to default to
"wasm" mode when exceptions are enabled, and "emscripten" mode when
disabled.

While we generally doesn't use exception in core, linked libraries may
need them, and emscripten don't plan to support WASM EH + Emscripten
SjLj in the long term.
2024-06-14 16:03:56 +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 Disable remote debug button when there are no runnable presets 2024-05-17 00:15:13 +02:00
js Merge pull request #91695 from bruvzg/web_ime_pos 2024-05-28 15:48:42 +02: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 [Web] Force emcc to use "wasm" longjmp mode 2024-06-14 16:03:56 +02:00
display_server_web.cpp Fix creating cursor image from AtlasTexture 2024-06-05 01:44:05 +02:00
display_server_web.h Merge pull request #91695 from bruvzg/web_ime_pos 2024-05-28 15:48:42 +02:00
dom_keys.inc Add InputEventKey.location to tell left from right 2024-01-26 14:42:28 +01:00
emscripten_helpers.py SCons: Minor fixes/adjustments for web compilation 2024-05-24 12:30:24 -05:00
eslint.config.cjs Upgrade to eslint 9 2024-05-22 11:32:25 +02: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 Replace .bind(...).call_deferred() with .call_deferred(...) 2024-05-27 13:29: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 Upgrade to eslint 9 2024-05-22 11:32:25 +02:00
package.json Upgrade to eslint 9 2024-05-22 11:32:25 +02: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
SCsub [Web] Remove space between emscripten "-s" flags and the option 2024-06-14 16:03:56 +02:00
serve.py Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05: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

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.