-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FMOD web support (HTML5) #50
Comments
Hi, For a GDnative lib to run in a browser, I guess you need to compile them with the WASM target which might be possible by updating the scons. The main issue is that our FMOD bindings use another dynamic library, FMOD itself. I'll check that more in detail when the Godot 3.2.4 is officially out, hoping there is some doc about it. |
Ho so it seems that's FMOD got a HTML5 target already I guess I never paid attention to that. So it might be possible. |
Well, I am sure I have even less knowledge about all this :D |
I'll add that to the list of tasks for the 2.0 version. |
I think this is less a priority than fmod nodes. I'll look at godot-cpp modifications on HTML5 when we get less work on Godot kotlin |
@YoannClaude @CedNaru @piiertho I'm currently working on trying to get a HTML5 build up and running in this branch: However, I'm running into some problems to link the FMOD libraries: Current errors:
Any help is appreciated + I might open a preliminary PR for this |
Any news on this considering that we recently upgraded to the latest FMOD version? |
Would also really like to use this integration with godot but I need to target an HTML5/wasm build, any news on if this will be available? |
Hello, |
I've updated my testing branch https://github.com/2shady4u/fmod-gdnative/tree/web-export to the latest master of this repository and I've tried to compile the plugin for web (again) Unfortunately the same issues seems to persist 🤷 As before, I have no idea how to fix them If you are feeling adventurous you can check out my changes in that branch |
Might be related: WebAssembly/wasi-sdk#209 it looks like the -shared flag is not supported (yet) Here is the issue discussion on the llvm repo itself: llvm/llvm-project#42738 Any way we can maybe circumvent that? |
Once #123 is finished, we might be able to finally address this for Godot 4 - GDExtension does not have HTML5 support yet since Godot 4.0 will not support browsers properly but it definitely will in future. |
@bitbrain do you think this will work for Godot 3.5 HTML5 eventually? Or is it the plan to skip 3.5? |
@RafaelVidaurre my hope is that after we get it working with Godot 4.x that we can apply some bits to the Godot 3 branch to get it working. The main hurdle currently is that Godot 4 does not support HTML5 yet (as it requires GLES3 for this) and currently only Vulkan Desktop and Vulkan Mobile is supported in Godot 4.alpha13 Perhaps somebody might be able to resurrect the Godot 3 compatible branch by @2shady4u and have another try with Godot 3.5 |
On my side I’m experiencing troubles with the cmake file, so nothing is recognise in Clion |
I was wondering what's the current state of this issue for Godot 4.x Thanks in advance! |
Looks like there is some progress on godotengine/godot-cpp#1247 and we can soon re-attempt this. |
I will do an attempt at this in the following week after #181 gets merged. |
Hi,
The Godot team announced that they added GDNative support for html builds:
https://godotengine.org/article/dev-snapshot-godot-3-2-4-beta-4
godotengine/godot#44076
Is there a plan to update the SConstruct file so we can export html using your Fmod plugin?
Cheers
The text was updated successfully, but these errors were encountered: