Re: pack in bgt

2016-09-22 Thread AudioGames . net Forum — Developers room : masonian via Audiogames-reflector
Re: pack in bgt To add a file to your pack:pack file pf;void main(){pf.open("pack.dat");pf.add_file("sounds/soundname.ogg","soundname.ogg");pf.close();}and how would we read from this?sound test;void main(){set_sound_storage("pack.dat");test.load

Re: pack in bgt

2016-09-22 Thread AudioGames . net Forum — Developers room : cartertemm via Audiogames-reflector
Re: pack in bgt Go read the documentation and add files to your pack. But, here's how you would take the files for use in the game.sound s;void main(){set_sound_storage("*");// this assumes you want to pack the files in your executable. Otherwise, replace the "

Re: pack in bgt

2016-09-21 Thread AudioGames . net Forum — Developers room : jonikster via Audiogames-reflector
Re: pack in bgt I need an example. URL: http://forum.audiogames.net/viewtopic.php?pid=279846#p279846 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman

Re: pack in bgt

2016-09-21 Thread AudioGames . net Forum — Developers room : masonian via Audiogames-reflector
Re: pack in bgt Firstly, you will need to find out how the pack_file object works. Instructions are in the read me. The basic steps are this:1. Open a pack file.2. Add the sound/sounds to the pack file.3. Close the pack file.4. Set your sound storage to the pack file.5. Play the sound