fmod-gdextension icon indicating copy to clipboard operation
fmod-gdextension copied to clipboard

🚧 [WIP] FMOD web support (HTML5)

Open bitbrain opened this issue 3 months ago • 2 comments

Screenshot 2024-04-06 133323


Closes #50

This PR aims to add support for web support via wasm.

Todo

  • [x] update SConstruct to consider web as a platform
  • [x] make scons platform=web pass & build libGodotFmod.web.template_debug.wasm32.wasm correctly
  • [ ] Update documentation for how to build for web (requires Emscripten)
  • [ ] Update Github Action to build for web
  • [ ] Solve issue around bank file scanning (specifically file callback logic https://github.com/utopia-rise/fmod-gdextension/blob/master/src/callback/file_callbacks.cpp)

Known issues

  • on Firefox, the GDExtension just hangs and crashes the browser. This is a known bug with wasm: https://github.com/webcompat/web-bugs/issues/127798

bitbrain avatar Apr 06 '24 12:04 bitbrain