Re: Preloading in bgt?
Re: Preloading in bgt? Not enough slots, and slots getting mixxed up are the most common ways the sound pool screws up for me. Ex, if two objects have the same slot, which can happen if the persistent flag is used wrong (I think this is mostly failing to use persistent, so a slot gets reused before the previous referer knows the previous sound stopped.). URL: https://forum.audiogames.net/post/526085/#p526085 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Preloading in bgt?
Re: Preloading in bgt? I destroy sounds when an enemy on the map dies. But even then I still get those glitches. Keep in mind i've never preloaded before so this is all kind of new-ish to me. URL: https://forum.audiogames.net/post/525967/#p525967 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Preloading in bgt?
2020-05-05
Thread
AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector
Re: Preloading in bgt? try to also destroy sounds you don't use. URL: https://forum.audiogames.net/post/525944/#p525944 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Preloading in bgt?
Re: Preloading in bgt? Have you considered increasing the number of sound handles a sound pool can contain? URL: https://forum.audiogames.net/post/525930/#p525930 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Preloading in bgt?
Preloading in bgt? Hi,So I've noticed in several of my games as I start to add more sounds, SoundPool begins to get very unhappy with me. Sounds will glitch all over the map, some things will sound awfully distorted, and I don't know the best way to fix this.This is how I'm preloading right now but I don't think its working, and its beginning to annoy me. Anyways, take a look...sound@[] preloaded_sounds;pack_file sounds;sound tmp; void preloader(){string[] files=sounds.list_files();for(uint s=0; stmp.load(files[s]);preloaded_sounds.insert_last(tmp);}}But whenever I put it in to the code, the game runs but I still recieve SoundPool issues. I've tried splitting sounds into several different SoundPool handles, but even that doesn't work. Any help would be appreciated. URL: https://forum.audiogames.net/post/525678/#p525678 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector