I tried to use the sound_pool metod in |BGT, but I always get lost somewhere between the code lines.
The problem is that I don't understand very well what happens there all the time. I'll put the part of the code from the helper layer in BGT, along with something I tried to make, and I hope someone could explain step by step what happens in the code step by step in order to understand it somehow. When I put a new sound, for example a step for another terrain, do I have to repeat the procedure, putting again the max distance etc etc?
Is there an easier alternative than what I've posted here?
Thanks in advance, code below.
const string sound_extension=".wav";
for(int counter=1; counter<15; counter++)
step1.play_1d("Sounds/sound"+counter+sound_extension, 0, random(0, 20), true);
Here comes a while with some conditions, including