Godot Editor-Port für WebAssembly freigegeben

Am 29. Mai wurde ein Artikel / Fortschrittsbericht zum Godot Editor-Port in WebAssembly veröffentlicht .


Bild


Die Arbeit wurde von Mozilla gesponsert .


Link zum Starten über den Browser .


Persönlich ist das Interessanteste für mich, ob es überhaupt funktioniert und wie viele Fehler Entwickler in C / C ++ - Code und WebGL umgehen mussten. Ich werde darüber in diesem Artikel sprechen.


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 .


Es gibt definitiv einen Vorteil für den Benutzer, jeder kann Godot Editor sogar im Browser ausprobieren .


All Articles