Re: Is there any way to load all the sounds in a specific folder in BGT?

2017-04-13 Thread AudioGames . net Forum — General Game Discussion : CAE_Jones via Audiogames-reflector
Re: Is there any way to load all the sounds in a specific folder in BGT? Are you wanting to play the sounds randomly all over the map, or for the player to place sounds on the map and hear them as they move around?If it's the first one, you can just do this:sound_pool pool; int

Re: Is there any way to load all the sounds in a specific folder in BGT?

2017-04-12 Thread AudioGames . net Forum — General Game Discussion : Xoren via Audiogames-reflector
Re: Is there any way to load all the sounds in a specific folder in BGT? Well, you already have numbered files. Why not just use a for loop?Kai URL: http://forum.audiogames.net/viewtopic.php?pid=306825#p306825 ___ Audiogames-reflector

Re: Is there any way to load all the sounds in a specific folder in BGT?

2017-04-12 Thread AudioGames . net Forum — General Game Discussion : Cocoa via Audiogames-reflector
Re: Is there any way to load all the sounds in a specific folder in BGT? No, what I want is the following: I have a folder called sounds and the sounds are named from 1 to 100. They have the format OGG. I want them to be loaded, and to be played 2d on a map. For example, if the user

Re: Is there any way to load all the sounds in a specific folder in BGT?

2017-04-12 Thread AudioGames . net Forum — General Game Discussion : CAE_Jones via Audiogames-reflector
Re: Is there any way to load all the sounds in a specific folder in BGT? Yep!Depends what you're trying to do with them, though.I'll assume, for this example, that you're loading them into a dictionary or something:// (dir is the path to the directory where the sounds are.) dictionary@

Is there any way to load all the sounds in a specific folder in BGT?

2017-04-12 Thread AudioGames . net Forum — General Game Discussion : Cocoa via Audiogames-reflector
Is there any way to load all the sounds in a specific folder in BGT? Hey all. I've been wondering whether there is a possibility to load all the sounds in a specific folder in BGT instead of typing blablah.load( and so on. I want a way that makes it easier so that if I have a lot of sounds