Re: Help needed with the sound pool class in bgt

2017-06-15 Thread AudioGames . net Forum — Developers room : targor via Audiogames-reflector
Re: Help needed with the sound pool class in bgt If you don't want to type the whole function Name every time, write your own function with a shorter Name that does nothing but call the pool-function. URL: http://forum.audiogames.net/viewtopic.php?pid=315520#p315520

Re: Help needed with the sound pool class in bgt

2017-06-05 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
Re: Help needed with the sound pool class in bgt The sound_pool has a method for the river example, but it takes several arguments, and it can be hard to remember all of them and what order they're in. pool.play_extended_2d("river.wav", listener_x, listener_y, sound_x, sound_y,

Re: Help needed with the sound pool class in bgt

2017-06-05 Thread AudioGames . net Forum — Developers room : stefan_ilioaica via Audiogames-reflector
Re: Help needed with the sound pool class in bgt Thank you very much for your explaination.I still have two more questions.1. Do I have to write play_sound_2d over and over again when using this metod? For exampleif(key pressed(KEY_UP){x++play_sound_2d etc etc etc)}Or I simply put

Re: Help needed with the sound pool class in bgt

2017-06-05 Thread AudioGames . net Forum — Developers room : blink_wizard via Audiogames-reflector
Re: Help needed with the sound pool class in bgt Well, it is better used because its just easier than actually using sound objects and having to update them all. Its mainly used for big projects, I mostly use the sound object if I want to play a few sounds, etc etc etc. Here's an example

Help needed with the sound pool class in bgt

2017-06-05 Thread AudioGames . net Forum — Developers room : stefan_ilioaica via Audiogames-reflector
Help needed with the sound pool class in bgt Hello,I am really confused with the sound pool thing in BGT. Could someone explain why is better to use it instead of using the ordinary sound play metod? Which are the advantages? And also, could someone make a small code example and comment