Reply to Re: Cricket sound effect
If you don't have an account, just leave the password field blank.
.wav's work for me
To add a .wav to a screen so when you walk thru it plays.
1. add the .wav file to the Sound directory (eg: cricket.wav)
2. add a line for your sound file to the start.c
50 being the number you allocated it to in dink ini - just use the next sequential number
3. make a script eg (cricket.c)
4. attach that cricket.c script to the screen properties box (play with the frequency numbers till you get the sound effect you want)
or ...add it in the script for the sprite if using a sprite
Nice cricket wav file
To add a .wav to a screen so when you walk thru it plays.
1. add the .wav file to the Sound directory (eg: cricket.wav)
2. add a line for your sound file to the start.c
load_sound("cricket.WAV", 50);
50 being the number you allocated it to in dink ini - just use the next sequential number
3. make a script eg (cricket.c)
void main(void) { playsound(50,22050,0,0,1); }
4. attach that cricket.c script to the screen properties box (play with the frequency numbers till you get the sound effect you want)
or ...add it in the script for the sprite if using a sprite
Nice cricket wav file