There's a page out there it says you just do this
sfx=PlaySound2("data/ahit4.wav", 1.000000, 1, 0.000000);
Well that doesn't really tell me if that means it's assigning just the sound to the SFX or if it's playing the sound.
What i want to know basically is:
1. How do you load a sound?
2. How do you play a sound?
3 how do you stop a sound?
4. How do you loop a sound?(this is good for level music etc)
5. And how to change the volume level of the sound
The page i found just gives this example for the volume
"musicvol=.1;"
That really doesn't help me.. Does it mean the max is 1?? and what's the minimum?
i don't ge tit. ALso
it doesn't even tell me how i tie that musicvol variable to which sound.
Like let's sad i have two wounds.: sound1, sound2.
do i do this--> sound1.musicvol = 0;
or how?
BTW the page i saw is this one http://game-editor.com/Sound_and_Music