Re: pack files in bgt
Thanks for bringing this topic up. I was wondering how to do some of the things brought up in this topic. Im thinking about trying pack files with the project maze thing I was working on a while back. I kind of like have all of my sounds being inside the EXE. LOL. Now
Re: pack files in bgt
you shouldnt have to declare a pack file object like you did because you already set the sound storage to the compiled executable. Also, you declare the sound pool in void main, then try an access it from the game function. eclare the pool as global.
URL: http
Re: pack files in bgt
It still gives me a compiler error, and its now like that:#include sounds.dat#include sound_pool.bgtset_sound_storage(*);sound_pool pool;void main() {show_game_window(the nay);while(true) {if(key_pressed(KEY_Q)) {pool.play_1d(sounds/a.ogg, player_x, sound_x, true
Re: pack files in bgt
Hi Cae. Thanks, it worked with me, but how can we let something play looped in the test?
URL: http://forum.audiogames.net/viewtopic.php?pid=179444#p179444
___
Audiogames-reflector mailing list
Audiogames-reflector
Re: pack files in bgt
And also, how can we make the sound pann in the .dat, and how can we change its pitch? I ask that because were developping the boat simulator, me and Nathan Smith.
URL: http://forum.audiogames.net/viewtopic.php?pid=179448#p179448
Re: pack files in bgt
And also, how can we make the sound pann in the .dat, and how can we change its pitch? I ask that because were developping the boat simulator, me and Nathan Smith, so well protect the sounds with the .dat.
URL: http://forum.audiogames.net/viewtopic.php?pid=179448
Re: pack files in bgt
And also, how to do the following:for example:if(key_pressed(KEY_Q))a sound from the pack plays.
URL: http://forum.audiogames.net/viewtopic.php?pid=179462#p179462
___
Audiogames-reflector mailing list
Audiogames
Re: pack files in bgt
At The Doctor: I have my website through Freeservers. In spite of their name, they cost about $100/year.At Roro: Youd do it the same as with any other sound. For example:if(key_pressed(KEY_Q)) { pool.play_1d(sounds/mysound.wav, player_x, sound_x, true);}I think
Re: pack files in bgt
Oh thanks very much for your help, I appreciate it.
URL: http://forum.audiogames.net/viewtopic.php?pid=179502#p179502
___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https
Re: pack files in bgt
But whats wrong with this example scrypt?#include sounds.dat#include sound_pool.bgtvoid 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
Re: pack files in bgt
But whats wrong with this example scrypt?#include sounds.dat#include sound_pool.bgtvoid main() {show_game_window(the nay);set_sound_storage(*);if(key_pressed(KEY_G)) {game();}void game();ack_file test;test.open(*);while(true) {sound_pool pool;if(key_pressed(KEY_Q
Re: pack files in bgt
Thanks, I wrote it quickly so I may be have some errors like that. Youll be always in my credits list.
URL: http://forum.audiogames.net/viewtopic.php?pid=179515#p179515
___
Audiogames-reflector mailing list
Audiogames
Re: pack files in bgt
Thanks, I wrote it quickly so I may be have some errors like that. Youll be always in my credits list.Edit: Hi, Im so sad I cant do it right, Im always wrong, heres what I did:#include sounds.dat#include sound_pool.bgtvoid main() {show_game_window(the nay
Re: pack files in bgt
Thanks, thanks, thanks, thanks. I was looking to know that from a long time.
URL: http://forum.audiogames.net/viewtopic.php?pid=179345#p179345
___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin
Re: pack files in bgt
Of course, Ill give you the credit everyware I use this scrypt, youre a legend: I can, after reviewing slowly the scrypt, understand how it works.
URL: http://forum.audiogames.net/viewtopic.php?pid=179346#p179346
Re: pack files in bgt
Thanks very much for this script. Actually, How would you pack 2 sicrectories - say sounds and music both in the root folder, into the pack file? Also about the calls to the pack file(when used with the executable), when it says something like these calls should
pack files in bgt
*I wasnt sure where to post this but thought it would be OK here, although correct me if Im wrong.*Now that BGT is completely freeware, I thought Id take a look at packing all my files into the *.dat files that bgt can encrypt etc. However, I am very much confused
Re: pack files in bgt
(My trackpad mysteriously came on and started clicking things and it ate my last attempt to reply. )I dont know if I can do anything better than the tutorial, but Ill try a simple example assume any minor errors are a test. ... Yeah.// Pack all files in a certain
18 matches
Mail list logo