Prowler Productions
  Dink Smallwood Forum
  wav soundtracks

Post New Topic  
profile | register | faq

Author Topic:   wav soundtracks
joshriot posted 04-25- 02:01 PM CT (US)   Click Here to See the Profile for joshriot   Click Here to Email joshriot  
i want to have wavs instead of midis. i have 5 songs totalling 7 mb which is enough for the game, but the problem is i cant figure out how to stop them from playing when i want them to. i cant find any examples where wavs are used for the soundtrack and the dinkc.txt uses void sound_set_kill(int bank); but i cant get this to work. what should i use for the int bank?
redink1 posted 04-25- 05:07 PM CT (US)     Click Here to See the Profile for redink1  Click Here to Email redink1     
Create a global variable called &song; or something similar.

Then, at the start of the song, use this:

&song = playsound(blahblah);

Then, &song is the 'bank', and you can use sound_set_kill and sound_set_vol to control the wav file.

joshriot posted 04-25- 05:55 PM CT (US)     Click Here to See the Profile for joshriot  Click Here to Email joshriot     
thanks.
FF4LIFE posted 04-25- 09:11 PM CT (US)     Click Here to See the Profile for FF4LIFE  Click Here to Email FF4LIFE     
My original game (okaly-D Dink) i used wavs, and they work really good...so yeah, i can probebly answer any further questions you have.

Post New Topic  Post Reply
Hop to:


Contact Us | Prowler Productions

Powered by: Ultimate Bulletin Board, Freeware Version 5.10a
Purchase our Licensed Version- which adds many more features!
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.