Re: issue attempting to load sounds

2019-08-26 Thread AudioGames . net Forum — Developers room : redfox via Audiogames-reflector


  


Re: issue attempting to load sounds

You don't need to load things in pool: It's really easy! Just do something like this:soune_pool spool;
if(key_pressed(KEY_A) and instrament=="drum")
{
spool.play_stationary("drum0.wav",false);//where false is if it loops or not.
}

URL: https://forum.audiogames.net/post/457754/#p457754




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


Re: issue attempting to load sounds

2019-08-25 Thread AudioGames . net Forum — Developers room : cartertemm via Audiogames-reflector


  


Re: issue attempting to load sounds

moderation:For integrity's sake, I've deleted the other topic under the same name.

URL: https://forum.audiogames.net/post/457680/#p457680




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


Re: issue attempting to load sounds

2019-08-25 Thread AudioGames . net Forum — Developers room : gonzalez via Audiogames-reflector


  


Re: issue attempting to load sounds

Make sure you increment the variable you pass on to the play function. drums"+value+".wav only concatenates the value to the drums.

URL: https://forum.audiogames.net/post/457610/#p457610




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


Re: issue attempting to load sounds

2019-08-25 Thread AudioGames . net Forum — Developers room : bgt lover via Audiogames-reflector


  


Re: issue attempting to load sounds

This topic is duplicated, moderators?

URL: https://forum.audiogames.net/post/457593/#p457593




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


Re: issue attempting to load sounds

2019-08-25 Thread AudioGames . net Forum — Developers room : Hijacker via Audiogames-reflector


  


Re: issue attempting to load sounds

We'd need the code to find the bug, because all I can tell you is that it does work for sure.Best Regards.Hijacker

URL: https://forum.audiogames.net/post/457586/#p457586




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


Re: issue attempting to load sounds

2019-08-25 Thread AudioGames . net Forum — Developers room : tunmi13 via Audiogames-reflector


  


Re: issue attempting to load sounds

Hi Ivan, I'm already using soundpool to play them as stationary and looped is set to false. It's just loading that's being weird. Unless, there's a way to load with pool?

URL: https://forum.audiogames.net/post/457585/#p457585




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


Re: issue attempting to load sounds

2019-08-25 Thread AudioGames . net Forum — Developers room : ivan_soto via Audiogames-reflector


  


Re: issue attempting to load sounds

Just use sound_pool to play them.

URL: https://forum.audiogames.net/post/457565/#p457565




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


issue attempting to load sounds

2019-08-24 Thread AudioGames . net Forum — Developers room : tunmi13 via Audiogames-reflector


  


issue attempting to load sounds

Hello guys,Z some of you may know, I'm developing InstraPlanet and currently working on version 0.1.1 which is pretty big. However, I have an issue loading sounds. Here is my issue:So, under sounds.dat, I have drum0.wav through drum8.wav, which is 9 sounds. So I write this. sound[] drum_sound(9);I created a function and loaded sounds as the function was called. Iused an array to load all sounds containing  drum+value+.wav, where value is the letter assigned. When I assigned sounds to keys though, only drum0 was registering. I tried loading the sounds individually, thinking perhaps I just messed the array up or something, but it produced the same result.If anyone could help me resolve this that would be great.Thank's!

URL: https://forum.audiogames.net/post/457511/#p457511




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


issue attempting to load sounds

2019-08-24 Thread AudioGames . net Forum — Developers room : tunmi13 via Audiogames-reflector


  


issue attempting to load sounds

Hello guys,Z some of you may know, I'm developing InstraPlanet and currently working on version 0.1.1 which is pretty big. However, I have an issue loading sounds. Here is my issue:So, under sounds.dat, I have drum0.wav through drum8.wav, which is 9 sounds. So I write this. sound[] drum_sound(9);I created a function and loaded sounds as the function was called. Iused an array to load all sounds containing  drum+value+.wav, where value is the letter assigned. When I assigned sounds to keys though, only drum0 was registering. I tried loading the sounds individually, thinking perhaps I just messed the array up or something, but it produced the same result.If anyone could help me resolve this that would be great.Thank's!

URL: https://forum.audiogames.net/post/457509/#p457509




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