Web export test tool for Godot 4.2

About

A tool for testing the web export of Godot Engine 4.2. Currently built with Godot 4.2.rc2 using the Compatibility renderer, the only one that supports web platforms. Uses the OpenGL 3 backend (WebGL2). It contains various scenes in order to test different Godot functionalities :

  • 2D pixel art scene.
    • Change zoom level.
    • Change camera speed.
  • 3D scene
    • WIP
  • GPU Particles
    • Fire test
  • Shaders
    • 9 different shaders.
  • Settings
    • Change project settings on the fly.

How to use

This tool can be used in two different ways :

  1. Use the tool on this page to test how well Godot features work on your browser. Some settings can be changed on the fly in the Settings.
  2. Clone or fork the project and modify it. You can then upload the export on itch.io. Change the settings so that it more closely resembles what you plan on exporting.

This project is open source, check out the repository.

Itch.io settings

When uploading the exported tool to itch.io so that it can be used in the browser, you can change a few settings.

  • If embedded in page, choose "Manually set size". (required)
    • Viewport dimensions are set to 640 x 360 by default.
  • SharedArrayBuffer support must be enabled. (required)

Godot settings

I won't be listing all the settings that can be changed in the Godot Engine. Try messing with both Project Settings and Export Settings. The most important settings from Project Settings can already be changed on the fly in the tool on this page. To change export settings you will have to change the source code.

Notes

WIP

  • Forcing compilation on particles.
  • 3D movement.
  • Controller support.

F.A.Q.

Why does this exist ?

Because the web export for Godot 4 is wonky and I wanted to test things out.

Can I see the source code ?

Yes, the license of this project is CC0 (100% free). You can freely download the source code from the repository and do whatever you want with it.

Where did you get x asset from ?

All the external assets used in this project can be found in this file.

StatusIn development
CategoryTool
PlatformsHTML5
AuthorP. Kostic
Made withGodot
TagsGodot
Asset licenseCreative Commons Zero v1.0 Universal
Average sessionA few minutes
LanguagesEnglish
InputsKeyboard, Mouse
LinksSource code

Download

Download NowName your own price

Click download now to get access to the following files:

WebTest.zip 3 MB

Development log

Leave a comment

Log in with itch.io to leave a comment.