Skip to content

Commit bc8d61a

Browse files
committed
remove mentions to export types
1 parent c01e3f4 commit bc8d61a

File tree

1 file changed

+6
-24
lines changed

1 file changed

+6
-24
lines changed

tutorials/export/exporting_for_web.rst

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ Exporting for the Web
1111

1212
HTML5 export allows publishing games made in Godot Engine to the browser.
1313
This requires support for `WebAssembly
14-
<https://webassembly.org/>`__ and `WebGL <https://www.khronos.org/webgl/>`__
14+
<https://webassembly.org/>`__, `WebGL <https://www.khronos.org/webgl/>`__ and
15+
`SharedArrayBuffer <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer>`_
1516
in the user's browser.
1617

1718
.. important:: Use the browser-integrated developer console, usually opened
@@ -24,6 +25,10 @@ in the user's browser.
2425
:ref:`iOS' native export functionality <doc_exporting_for_ios>`
2526
instead, as it will also result in better performance.
2627

28+
.. warning:: SharedArrayBuffer requires a :ref:`secure context <doc_javascript_secure_contexts>`.
29+
Browsers also require that the web page is served with specific
30+
`cross-origin isolation headers <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy>`__.
31+
2732
.. note::
2833

2934
If you use Linux, due to
@@ -58,15 +63,6 @@ If a runnable web export template is available, a button appears between the
5863
*Stop scene* and *Play edited Scene* buttons in the editor to quickly open the
5964
game in the default browser for testing.
6065

61-
You can choose the **Export Type** to select which features will be available:
62-
63-
- *Regular*: is the most compatible across browsers, will not support threads,
64-
nor GDExtension.
65-
- *Threads*: will require the browser to support `SharedArrayBuffer
66-
<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer>`__.
67-
See `Can I use SharedArrayBuffer <https://caniuse.com/sharedarraybuffer>`__
68-
for details.
69-
7066
If you plan to use :ref:`VRAM compression <doc_importing_images>` make sure that
7167
**Vram Texture Compression** is enabled for the targeted platforms (enabling
7268
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.
8682
To customize the generated file, use the **Custom HTML shell**
8783
option.
8884

89-
.. warning:: **Export types** other than *Regular* are not yet supported by the
90-
C# version.
91-
9285
Limitations
9386
-----------
9487

@@ -134,17 +127,6 @@ This limitation does not apply to unfocused browser *windows*. Therefore, on the
134127
user's side, this can be worked around by running the project in a separate
135128
*window* instead of a separate tab.
136129

137-
Threads
138-
~~~~~~~
139-
140-
As mentioned :ref:`above <doc_javascript_export_options>` multi-threading is
141-
only available if the appropriate **Export Type** is set and support for it
142-
across browsers is still limited.
143-
144-
.. warning:: Requires a :ref:`secure context <doc_javascript_secure_contexts>`.
145-
Browsers also require that the web page is served with specific
146-
`cross-origin isolation headers <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy>`__.
147-
148130
Full screen and mouse capture
149131
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150132

0 commit comments

Comments
 (0)