- Removes `native_menu.h` dependency from `display_server.h`. It's now forward-declared in all DisplayServer implementations and should be included in the .cpp's. - Removes some unused `rb_set.h` and `rb_map.h` dependencies, which leads to having to include them explicitly in half the scene and editor codebase... which shows how much we depend on `display_server.h`. - Forward-declare `input_event.h`, so now we need only `keyboard.h`. |
||
|---|---|---|
| .. | ||
| api | ||
| doc_classes | ||
| editor | ||
| export | ||
| js | ||
| audio_driver_web.cpp | ||
| audio_driver_web.h | ||
| detect.py | ||
| display_server_web.cpp | ||
| display_server_web.h | ||
| dom_keys.inc | ||
| emscripten_helpers.py | ||
| eslint.config.cjs | ||
| godot_audio.h | ||
| godot_js.h | ||
| godot_midi.h | ||
| godot_webgl2.h | ||
| http_client_web.cpp | ||
| http_client_web.h | ||
| ip_web.h | ||
| javascript_bridge_singleton.cpp | ||
| net_socket_web.h | ||
| os_web.cpp | ||
| os_web.h | ||
| package-lock.json | ||
| package.json | ||
| platform_config.h | ||
| platform_gl.h | ||
| README.md | ||
| SCsub | ||
| serve.py | ||
| web_main.cpp | ||
| web_runtime.cpp | ||
| webmidi_driver.cpp | ||
| webmidi_driver.h | ||
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
- Compiling for the Web
- Instructions on building this platform port from source.
- Exporting for the Web
- Instructions on using the compiled export templates to export a project.
Artwork license
logo.svg and run_icon.svg are licensed under
Creative Commons Attribution 3.0 Unported
per the HTML5 logo usage guidelines.