This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

enter image description here

Is there some way to export to web in Godot4? I guess I think I might read somewhere that it was not working yet and would be added later? But I cannot find that and cannot get it to work even after installing templates? But Windows export works.

Please and thanks.

Godot version 4.0 alpha 3
in Engine by (1,945 points)

1 Answer

+5 votes
Best answer

Update: Godot 4.0 features a basic OpenGL ES 3.0 renderer (which uses WebGL 2.0). This renderer is sufficient to render most 2D projects and some 3D projects correctly. This renderer will receive further development in future 4.x releases.

As a result, you can now export Godot 4 projects to HTML5 like you could with Godot 3.x. There is a hard requirement on SharedArrayBuffer though, unlike in Godot 3.x. (The upside is that this allows for using threads and low-latency audio, which is otherwise not possible without severely limiting the feature set of the audio engine once exported to HTML5.)

Old answer is kept below for posterity.


Godot 4.0 does not support HTML5 export yet, as the OpenGL renderer (required for WebGL) isn't finished yet. WebGPU is far from being finalized, which means it'll be years until the Vulkan renderer can run in HTML5 in some form.

We don't expect the OpenGL renderer to be finalized for Godot 4.0's release, but rather for a future 4.x release. Therefore, Godot 3.x will remain supported for a certain amount of time after Godot 4.0 is released (at least until 4.1 is released).

by (12,908 points)
edited by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.