发布了Webots的Godot编辑器端口

5月29日,发布了WebAssembly中Godot编辑器端口上的文章/进度报告


图片


这项工作是由Mozilla赞助的


链接以从浏览器启动


就我个人而言,最有趣的事情是它是否能正常工作,以及开发人员不得不在C / C ++代码和WebGL中绕过的错误数量。我将在本文中讨论这一点。


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 .


对于用户而言绝对有好处,任何人都可以在浏览器中尝试Godot Editor


All Articles