{"id":16210298,"url":"https://github.com/johannesdeml/godot-web-loadingtest","last_synced_at":"2026-03-15T17:34:01.323Z","repository":{"id":206870839,"uuid":"710971474","full_name":"JohannesDeml/Godot-Web-LoadingTest","owner":"JohannesDeml","description":"Godot WebGL platform and version comparisons","archived":false,"fork":false,"pushed_at":"2025-03-28T22:17:18.000Z","size":175,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T23:25:05.603Z","etag":null,"topics":["godot","godot-engine","godot4","godotengine","html","mobile","responsive-web-design","web","webgl","webgl2"],"latest_commit_sha":null,"homepage":"https://deml.io/experiments/godot-webgl/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JohannesDeml.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-27T21:15:18.000Z","updated_at":"2025-03-18T11:16:35.000Z","dependencies_parsed_at":"2023-11-12T22:29:29.887Z","dependency_job_id":"5abb91f0-bb7f-4b6e-9e3f-13d125e55b47","html_url":"https://github.com/JohannesDeml/Godot-Web-LoadingTest","commit_stats":null,"previous_names":["johannesdeml/godot-webgl-loadingtest","johannesdeml/godot-web-loadingtest"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohannesDeml%2FGodot-Web-LoadingTest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohannesDeml%2FGodot-Web-LoadingTest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohannesDeml%2FGodot-Web-LoadingTest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohannesDeml%2FGodot-Web-LoadingTest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohannesDeml","download_url":"https://codeload.github.com/JohannesDeml/Godot-Web-LoadingTest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247730064,"owners_count":20986404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["godot","godot-engine","godot4","godotengine","html","mobile","responsive-web-design","web","webgl","webgl2"],"created_at":"2024-10-10T10:36:52.802Z","updated_at":"2026-03-15T17:33:56.274Z","avatar_url":"https://github.com/JohannesDeml.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Godot WebGL Loading Test\n\n![Preview](./preview.png)\n\n[![](https://img.shields.io/github/release-date/JohannesDeml/Godot-WebGL-LoadingTest.svg)](https://github.com/JohannesDeml/Godot-WebGL-LoadingTest/releases) [![Godot 4.3 - 4.4](https://img.shields.io/badge/godot-4.3-green.svg?logo=godot-engine\u0026logoColor=white\u0026cacheSeconds=2592000)](https://godotengine.org/download/archive/4.1.2-stable/)\n\n*Testing Godot's WebGL size and loading times*\n\n* [Overview page of all builds](https://deml.io/experiments/godot-webgl/)\n* [Implementation in Unity](https://github.com/JohannesDeml/UnityWebGL-LoadingTest)\n* [Godot Forum Thread](https://forum.godotengine.org/t/godot-web-loading-test/105502)\n\n\n## Features\n\n* Responsive template layout\n* Rich text console and BBCode parsing\n* Run commands from the console\n* Support common browser shortcuts (ctrl+t, F12, ...)\n* Automatic CI builds\n  * Brotli \u0026 Gzip pre-compression\n  * [wasm-opt](https://github.com/JohannesDeml/binaryen-wasm-opt) to reduce wasm size\n  * Automatic server upload of builds\n\n\n### Release WebGL2\n\nVersion | Size | Link\n--- | --- | ---\n4.4.0 | 6.16 MB | https://deml.io/experiments/godot-webgl/4.4.0-webgl2\n4.3.0 | 5.35 MB | https://deml.io/experiments/godot-webgl/4.3.0-webgl2\n\n### Debug WebGL2\n\nVersion | Size | Link\n--- | --- | ---\n4.4.0 | 6.72 MB | https://deml.io/experiments/godot-webgl/4.4.0-webgl2-debug\n4.3.0 | 5.81 MB | https://deml.io/experiments/godot-webgl/4.3.0-webgl2-debug\n\n## Platform Compatibility\n\n| Platform   | Chrome | Firefox | Edge | Safari |\n| ---------- | :----: | :-----: | :--: | :----: |\n| Windows 10 |   ✔️    |    ✔️    |  ✔️   |   ➖    |\n| Linux      |   ✔️    |    ✔️    |  ✔️   |   ➖    |\n| Mac        |   ✔️    |    ✔️    |  ✔️   |   ✔️    |\n| Android    |   ✔️    |    ✔️    |  ✔️   |   ➖    |\n| iOS        |   ✔️    |    ✔️    |  ✔️   |   ✔️    |\n\n✔️ *: Supported* | ⚠️ *: Warning , see below* | ❌ *: not supported* | ➖ *: Not applicable*\n\n## Notes\n\n* I'm mostly developing with Unity and the comparison to my [unity webgl project](https://github.com/JohannesDeml/UnityWebGL-LoadingTest) might not be fair, since I have a lot more experience with Unity development. However, I tried getting a similar feature set and the same graphics settings to be able to make a fair comparison of 3D \u0026 physics performance on WebGL.\n* Exporting the project is a bliss compared to Unity, it is finished in a second while for Unity it takes 10+ minutes on my laptop.\n* Loading times are really long for godot (compared to unity)\n* I didn't find any way to build for WebGL 1 or WebGPU, if this exists and I just missed it, please let me know.\n* So far this project does not use custom export templates (I got my hands dirty with [this version](https://deml.io/experiments/godot-webgl/4.1.2-custom-template)) since I would need some custom logic to set up everything for CI with custom templates. However it seems like this is worth another look. For more information on how to use custom export templates check out [this great blog post](https://popcar.bearblog.dev/how-to-minify-godots-build-size/).\n* Build size increased significantly from Godot 4.3 to Godot 4.4 (0.8MB / +15%). Maybe it is about VR support for the web, but that is just a guess.\n\n## Browser Console commands\n\nThe script [WebCommands](./godot/Scripts/WebCommands.gd) adds support to call godot functions from the browser console through `godotFunctions.runCommand(\"COMMAND_NAME\",PARAMETERS...)`\n\nCurrently the following commands are available:\n\n### [System](./godot/Scripts/WebCommands.gd)\n```javascript\nrunCommand(\"help\") -\u003e Shows all available commands\n```\n\n### [CommonWebCommands](./godot/Scripts/CommonWebCommands.gd)\n```javascript\nrunCommand(\"log_memory\") -\u003e Logs current memory usage\nrunCommand(\"pause_game\") -\u003e Pauses the game\nrunCommand(\"print_example\") -\u003e Logs an example rich text message to the console (BBCode)\nrunCommand(\"print_rich\", message: String) -\u003e Logs a rich text message to the console (BBCode)\nrunCommand(\"quit\") -\u003e Quits the application\nrunCommand(\"set_time_scale\", scale: float) -\u003e Sets the game time scale\nrunCommand(\"toggle_pause\") -\u003e Toggles the game pause state\nrunCommand(\"unpause_game\") -\u003e Unpauses the game\n```\n\n## License\n\n* MIT (c) Johannes Deml - see [LICENSE](./LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohannesdeml%2Fgodot-web-loadingtest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohannesdeml%2Fgodot-web-loadingtest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohannesdeml%2Fgodot-web-loadingtest/lists"}