Open ironfroggy opened 4 years ago
I know where that error comes from, but I don't know enough about the implementation to know if we can unhook the volume attribute from the asset load.
@astronouth7303 knows this bit of code.
OH yes. That was a dumb implementation.
Asset loads don't begin until the engine initializes, and the volume implementation depends on it.
This can be fixed without API changes.
Although upon review I wonder if this is a bad API because it'll change the volume for all usages and there's no way to create new copies.
Maybe make the volume be a parameter to the event and the sound system can duplicate at the place of use?
This works:
But this causes a permanent hang at startup:
The only output I get is this message about the asset: