Lanzamiento del puerto Godot Editor para WebAssembly

El 29 de mayo, se publicó un artículo / informe de progreso sobre el puerto de Godot Editor en WebAssembly .


imagen


El trabajo fue patrocinado por Mozilla .


Enlace para iniciar desde el navegador .


Personalmente, lo más interesante para mí es si funciona o no, y la cantidad de errores que los desarrolladores tuvieron que omitir en el código C / C ++ y WebGL. Hablaré sobre esto en este artículo.


Godot Editor



, Linux, Opera Chrome( ). Windows Chrome Firefox.


, Chromium, Firefox Nightly.



Godot js/editor_prototype


3.2 Web-



, C++ , , Web.



, Godot Editor. :




, GLES2 - WebGL 1.
, WebGL2 (GLES3) - , .



, .


, Dropbox FileSystem API, .


Dropbox - Dropbox, .


FileSystem API . ( , )


— WASM, HTML5, . , , - .



Godot .


, WASM , Godot - .


SharedArrayBuffer, - .



— , , WASM , " " WASM , .



- Linux Chrome, . . Godot Editor Web - .


WASM, .




Sometimes refreshing the page when an error occurs is not enough, this is mostly due to browsers not clearing WebAssembly memory correctly.

WASM- , . , WASM… .
, , WASM-.


— , , .


- WASM ( ).



, , WASM . .


Godot


, Web- . ( - , - WASM- , Godot-).


drag-n-drop ! .


JS- Godot. :


Easier interface to external JS libraries (expecially asynchronous ones), so you don't have to rely on complex JavaScript.eval.

JS-WASM , .


GDNative support in the HTML5 platform.

, . bountysource , .


Godot Godot , Web-, , .


, Godot Editor


- — Godot GLES3.



WebGL2 , .


WebGL2 , , Godot WebGL2…


- — WASM , , WASM, . WASM- .


— Godot WASM, WebGL 1.0 WebGL2 .


Definitivamente hay un beneficio para el usuario, cualquiera puede probar Godot Editor incluso en el navegador .


All Articles