From bc8d61a5ea56de91eb9da664a19604f6e6f0eca8 Mon Sep 17 00:00:00 2001 From: Roberto Vidal Date: Sat, 4 Mar 2023 09:57:35 +0100 Subject: [PATCH] remove mentions to export types --- tutorials/export/exporting_for_web.rst | 30 ++++++-------------------- 1 file changed, 6 insertions(+), 24 deletions(-) diff --git a/tutorials/export/exporting_for_web.rst b/tutorials/export/exporting_for_web.rst index 6a43c5cbf..66816d09f 100644 --- a/tutorials/export/exporting_for_web.rst +++ b/tutorials/export/exporting_for_web.rst @@ -11,7 +11,8 @@ Exporting for the Web HTML5 export allows publishing games made in Godot Engine to the browser. This requires support for `WebAssembly -`__ and `WebGL `__ +`__, `WebGL `__ and +`SharedArrayBuffer `_ in the user's browser. .. important:: Use the browser-integrated developer console, usually opened @@ -24,6 +25,10 @@ in the user's browser. :ref:`iOS' native export functionality ` instead, as it will also result in better performance. +.. warning:: SharedArrayBuffer requires a :ref:`secure context `. + Browsers also require that the web page is served with specific + `cross-origin isolation headers `__. + .. note:: If you use Linux, due to @@ -58,15 +63,6 @@ If a runnable web export template is available, a button appears between the *Stop scene* and *Play edited Scene* buttons in the editor to quickly open the game in the default browser for testing. -You can choose the **Export Type** to select which features will be available: - -- *Regular*: is the most compatible across browsers, will not support threads, - nor GDExtension. -- *Threads*: will require the browser to support `SharedArrayBuffer - `__. - See `Can I use SharedArrayBuffer `__ - for details. - If you plan to use :ref:`VRAM compression ` make sure that **Vram Texture Compression** is enabled for the targeted platforms (enabling both **For Desktop** and **For Mobile** will result in a bigger, but more @@ -86,9 +82,6 @@ JavaScript APIs, include CSS, or run JavaScript code. To customize the generated file, use the **Custom HTML shell** option. -.. warning:: **Export types** other than *Regular* are not yet supported by the - C# version. - Limitations ----------- @@ -134,17 +127,6 @@ This limitation does not apply to unfocused browser *windows*. Therefore, on the user's side, this can be worked around by running the project in a separate *window* instead of a separate tab. -Threads -~~~~~~~ - -As mentioned :ref:`above ` multi-threading is -only available if the appropriate **Export Type** is set and support for it -across browsers is still limited. - -.. warning:: Requires a :ref:`secure context `. - Browsers also require that the web page is served with specific - `cross-origin isolation headers `__. - Full screen and mouse capture ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~