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("soundname.ogg");
test.play_wait();
}
Hope that helps!
_______________________________________________ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector