utopia-rise / fmod-gdextension

FMOD Studio GDExtension bindings for the Godot game engine
MIT License
417 stars 46 forks source link

OLD VERSION: Cannot put scripts onto FmodEventEmitter2D's that call the play() function. #234

Closed tot121212 closed 3 weeks ago

tot121212 commented 1 month ago

Calling the play() function seemingly doesn't work if the nodes script is calling play() on itself This could be fixed in newer versions but I am using https://github.com/utopia-rise/fmod-gdextension/tree/4.0.0-4.1.2

CedNaru commented 3 weeks ago

The EventEmitter has been heavily reworked in a recent version and I can confirm it works since then. We directly use play() in the 3D demo: https://github.com/utopia-rise/fmod-gdextension/blob/b878f5cfa385322bd2270272d31c0bc3520397dd/demo/high_level_3D/environment/soundcollider.gd#L10