Re: Trying to understand the sound_pool metod

2018-04-06 Thread AudioGames . net Forum — Developers room : pauliyobo via Audiogames-reflector


  


Re: Trying to understand the sound_pool metod

you can try using position_sound_1d position_sound_custom_1d etc etc.

URL: http://forum.audiogames.net/viewtopic.php?pid=358561#p358561




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Trying to understand the sound_pool metod

2018-04-06 Thread AudioGames . net Forum — Developers room : stefan_ilioaica via Audiogames-reflector


  


Re: Trying to understand the sound_pool metod

Allright, so it seems the sound pool is not very compatible with... my way of working so I've decided to skip it. My question is, does anyone know  any metod for positioning the sound in relation with the player? For example, I have the enemy and the player on a  side scroller map, and I want the enemy to be heard left, center or right in relation to the player.Also, please, any tricks for the sounds not to be cut anymore when another one is plaied? When the enemy attacks, my footsteps aren't heard anymore  until the attack ends.

URL: http://forum.audiogames.net/viewtopic.php?pid=358503#p358503




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Trying to understand the sound_pool metod

2018-04-04 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector


  


Re: Trying to understand the sound_pool metod

Generally, you only need one sound_pool. It's very rare that an audio game would need more than one (For example, I use another in ECTAS to create a perilax effect for background sounds, which only makes sense for a side-scroller).For your example, the parts that use sound_environment are correct. You could save typing by only calling sound_environment.update_listener1d(x); once.You should only need to set properties such as max_distance, for example, one time. After setting up the sound_pool in the beginning, you only need one line to play any sound.Personally, I would either use the sound extension directly, or shorten the name of the sound_extension variable to save typing.Regarding the example with the for loop, that should play the 15 sounds almost simultaneously.You will not need to repeat the whole proceedure for a new terrain. You'd just use the play_stationary, play_1d, or play_2d methods.

URL: http://forum.audiogames.net/viewtopic.php?pid=358198#p358198




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector