Re: pack files in bgt

But what's wrong with this example scrypt?
#include "sounds.dat"
#include "sound_pool.bgt"
void main() {
show_game_window("the nay");
set_sound_storage("*");
pack_file test;
test.open("*");
sound_pool pool;
if(key_pressed(KEY_Q)) {
pool.play_1d("sounds/a.ogg", player_x, sound_x, true);
wait(50));
test.close();
}
This is a small part I wrote very fastly, so it contains an error. But what it is?

_______________________________________________
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Development room : CAE_Jones via Audiogames-reflector
  • ... AudioGames . net Forum — Development room : the doctor via Audiogames-reflector
  • ... AudioGames . net Forum — Development room : roro via Audiogames-reflector
  • ... AudioGames . net Forum — Development room : roro via Audiogames-reflector
  • ... AudioGames . net Forum — Development room : roro via Audiogames-reflector
  • ... AudioGames . net Forum — Development room : roro via Audiogames-reflector
  • ... AudioGames . net Forum — Development room : roro via Audiogames-reflector
  • ... AudioGames . net Forum — Development room : roro via Audiogames-reflector
  • ... AudioGames . net Forum — Development room : CAE_Jones via Audiogames-reflector
  • ... AudioGames . net Forum — Development room : roro via Audiogames-reflector
  • ... AudioGames . net Forum — Development room : roro via Audiogames-reflector
  • ... AudioGames . net Forum — Development room : roro via Audiogames-reflector
  • ... AudioGames . net Forum — Development room : CAE_Jones via Audiogames-reflector
  • ... AudioGames . net Forum — Development room : roro via Audiogames-reflector
  • ... AudioGames . net Forum — Development room : roro via Audiogames-reflector
  • ... AudioGames . net Forum — Development room : keyIsFull via Audiogames-reflector
  • ... AudioGames . net Forum — Development room : roro via Audiogames-reflector
  • ... AudioGames . net Forum — Development room : cw via Audiogames-reflector

Reply via email to