virtualx-engine/platform/javascript
Fabio Alessandrelli eda014197f
[Web] Add the "serve" and "run" scons targets.
You can now run the test HTTP server by calling:

scons p=javascript serve

If you also wish to run the browser, call instead:

scons p=javascript run

The default listen port is 8060, but can be overriden via the env
variable GODOT_WEB_TEST_PORT which must be a valid integer.

(cherry picked from commit a06602363c)
2022-12-12 14:49:22 +01:00
..
api [HTML5] Implement JavaScript PWA update callbacks. 2022-02-06 18:33:13 +01:00
export Disable menus and functionality that are not relevant on the Android Editor port 2022-09-13 07:38:07 -07:00
js Change auto to default in cursor css settings. 2022-10-07 12:17:15 -06: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
audio_driver_javascript.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
audio_driver_javascript.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
detect.py SCons: Refactor handling of production flag and per-platform LTO defaults 2022-09-20 10:26:17 +02:00
dom_keys.inc Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
emscripten_helpers.py [HTML5] Add GDNative+Threads build. 2022-06-13 11:46:08 +02:00
godot_audio.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
godot_js.h Merge pull request #61316 from bruvzg/tts_3x 2022-08-05 23:45:51 +02:00
godot_webgl2.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
godot_webgl2.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
http_client.h.inc Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
http_client_javascript.cpp [Net] Fix get_response_body_length for large files. 2022-01-25 18:23:04 +01:00
javascript_main.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
javascript_runtime.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
javascript_singleton.cpp [HTML5] Implement JavaScript PWA update callbacks. 2022-02-06 18:33:13 +01:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00
os_javascript.cpp HTML5: Add missing OS::get_cursor_shape() implementation 2022-10-04 12:49:16 +02:00
os_javascript.h HTML5: Add missing OS::get_cursor_shape() implementation 2022-10-04 12:49:16 +02:00
package-lock.json Replace local web server setup for web editor with a Python-based solution 2022-12-12 14:49:22 +01:00
package.json Replace local web server setup for web editor with a Python-based solution 2022-12-12 14:49:22 +01:00
platform_config.h Update copyright statements to 2022 2022-01-13 15:54:13 +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
SCsub [Web] Add the "serve" and "run" scons targets. 2022-12-12 14:49:22 +01:00
serve.py [Web] Add the "serve" and "run" scons targets. 2022-12-12 14:49:22 +01: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.