Futile icon indicating copy to clipboard operation
Futile copied to clipboard

Allow to avoid adding AudioListener component to FSoundManager

Open diegodorado opened this issue 10 years ago • 3 comments

If I already have an audio listener in the scene, I dont need another... although this class is very handy to play sounds just writing code.... could it be possible to avoid the audiolistener creation ? ( maybe setting some static variable, or in fparams)

diegodorado avatar Apr 23 '14 15:04 diegodorado

Yeah I'll probably be rewriting how the FSoundManager works soon anyway so I'll keep that in mind :)

MattRix avatar Apr 23 '14 16:04 MattRix

It would also be nice to be able to extend that class.

I did it to make a motor sound with pitch changes with another static soundSource for that purpose.... and I tweaked FSOundManager to expose the gameObject

2014-04-23 13:53 GMT-03:00 Matt Rix [email protected]:

Yeah I'll probably be rewriting how the FSoundManager works soon anyway so I'll keep that in mind :)

— Reply to this email directly or view it on GitHubhttps://github.com/MattRix/Futile/issues/230#issuecomment-41186115 .

Diego Dorado +54 (11) 11 3758 3589

La Comunidad para el Desarrollo Humano http://lacomunidad.org.ar

diegodorado avatar Apr 23 '14 17:04 diegodorado

Yeah it'll be much more flexible when I rewrite it.

On Wed, Apr 23, 2014 at 1:57 PM, Diego Dorado [email protected]:

It would also be nice to be able to extend that class.

I did it to make a motor sound with pitch changes with another static soundSource for that purpose.... and I tweaked FSOundManager to expose the gameObject

2014-04-23 13:53 GMT-03:00 Matt Rix [email protected]:

Yeah I'll probably be rewriting how the FSoundManager works soon anyway so I'll keep that in mind :)

— Reply to this email directly or view it on GitHub< https://github.com/MattRix/Futile/issues/230#issuecomment-41186115> .

Diego Dorado +54 (11) 11 3758 3589

La Comunidad para el Desarrollo Humano http://lacomunidad.org.ar

— Reply to this email directly or view it on GitHubhttps://github.com/MattRix/Futile/issues/230#issuecomment-41193620 .

MattRix avatar Apr 23 '14 22:04 MattRix