You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you plan on making your plugin available for web platforms ?
Right now the web export fails with this error
No suitable library found for GDExtension: res://addons/godot_midi/godotmidi.gdextension. Possible feature flags for your platform: web, s3tc, nothreads, wasm32, template, debug, template_debug, single
Thanks
The text was updated successfully, but these errors were encountered:
So I had to update the code because for some reason it is not possible to use std::system_clock::now so I am using godot::Time now instead
Also for people that want to know how to build a web plugin, you need to install emscripten but apparently you need to install the same version as godot which seems to be 3.1.63 (for godot 4.3)
Then you need to source ./emsdk_env.sh before you can build the plugin with scons platform=web
Also don't forget to enable this for the web export in your godot project
So now the project starts in the web browser but I still have some issues because the time doesn't seem to move in the MidiPlayer thread, I don't know why yet. I don't get any events and the current_time is not updated.
So it turns out that the time not moving comes from a bug in godot 4.3 (see godotengine/godot#95197), it works with 4.4-dev7 and the updates I did for android.
It doesn't work on firefox though, only on chromium based browsers.
Hello,
Do you plan on making your plugin available for web platforms ?
Right now the web export fails with this error
Thanks
The text was updated successfully, but these errors were encountered: