godot/platform/web
Fabio Alessandrelli 9383610ad1 [Web] Disable UNIX sockets
They are not supported anyway, emscripten has an emulation layer that
implements them over WebSocket/WebRTC, which is really surprising for
users, and also not very useful since we have proper WebSocket and
WebRTC support.

This can make the build smaller, if we also disable the UPNP module
(which will otherwise include a third party library referencing "socket"
thus forcing emscripten to include the compatibility layer)
2024-11-13 10:28:08 +01:00
..
api Add JavaScriptBridge buffer methods 2024-09-16 12:13:34 -04:00
doc_classes Fix miscellaneous oddities around the class reference 2024-08-18 23:18:44 +02:00
export Display correct splash color on web export 2024-11-11 21:35:25 +01:00
js Fix issue where focus timer would throw continuously 2024-11-11 15:08:16 -05:00
audio_driver_web.cpp Honor pitch_scale value before playing audio sample 2024-08-20 10:29:32 -04:00
audio_driver_web.h Merge pull request #95197 from yahkr/95128-audio-fix 2024-08-16 14:33:05 +02:00
detect.py [Web] Disable UNIX sockets 2024-11-13 10:28:08 +01:00
display_server_web.cpp [DisplayServer] Add feature flag for native file dialog access to user/res and options 2024-10-30 14:13:43 +05:30
display_server_web.h [Web] Remove warnings when setting vsync mode and screen keep on 2024-11-07 14:06:34 -05:00
dom_keys.inc
emscripten_helpers.py Remove duplicate of get_build_version 2024-10-31 12:54:23 +02:00
eslint.config.cjs
godot_audio.h Honor pitch_scale value before playing audio sample 2024-08-20 10:29:32 -04:00
godot_js.h
godot_webgl2.h
http_client_web.cpp Allow ClassDB to create a Object without postinitialization for GDExtension. 2024-08-20 20:19:02 +08:00
http_client_web.h Allow ClassDB to create a Object without postinitialization for GDExtension. 2024-08-20 20:19:02 +08:00
javascript_bridge_singleton.cpp Add JavaScriptBridge buffer methods 2024-09-16 12:13:34 -04:00
os_web.cpp Add support for non-blocking IO mode to OS.execute_with_pipe. 2024-09-06 14:16:39 +03:00
os_web.h Add support for non-blocking IO mode to OS.execute_with_pipe. 2024-09-06 14:16:39 +03:00
package-lock.json
package.json
platform_config.h
platform_gl.h
README.md
SCsub SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
serve.py [Web] Fix browser opening too early with serve.py 2024-08-01 05:38:36 +02:00
web_main.cpp
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.