+3 votes

In Godot 2.1.X
there is SamplePlayer I can put all my sfx
make is singleton and call it

In Godot3.0
do I have to create all the AudioStreamPlayer node for my sfx?

in Engine by (50 points)

I believe Juan mentioned on facebook that a SampleList for AudioStreamPlayer would be ideal. However, for now you can just create 5-10 AudioStreamPlayer nodes and cycle through them in a function .play("xxx"), check which one isn't currently playing, to mimick the polyphony effect. Have to keep them tracked in a playlist array (what I do until a native fix is implemented)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.