Small fixes
We are releasing 0.0.3, which includes some improvements:
run_javascript()
for gd->js communication
Some options moved to BaseWebView
like refresh-rate, inputs, and others. This is because both WebView
and
QuickView
now inherit from BaseWebView
, sharing functionality. More information about the
QuickView
node will be covered in a later blogpost, and is only used for debugging purposes at the moment.
We introduced 2 new options:
$WebView.load()
, resulting in a pink texture.MeshInstance3D
,
and wondering what the size of that MeshInstance3D
should be. The calculation takes into account the current webview
resolution. In this example, the webview resolution is 2560 x 1440
, so the MeshInstance3D
should be
4 x 2.25
in order to have a good aspect ratio.
Single-page-applications like Vue.js, React, et al. should now work. For example, if you have a vuejs app under
web/dist/
in your Godot project, you can browse to this location: res://godot/web/dist/
(note the prefix godot
)
Visit the tutorial for more information.
Thanks for reading this blogpost.
Visit the downloads page and grab yourself an evaluation build.
For help or feedback, reach out via: - Discord - Github issue tracker
Sander Ferdinand