sounds
BlitzPlus Forums/BlitzPlus Beginners Area/sounds
| ||
| my programs won't do sounds or music... whenever I try to make them do it, it just ignores that line of code (I did not write it as a comment), surely if it did not know where in the computers memory it is, it would show some error instead of just ignoring code? please post and help in some way |
| ||
| Source code? So we can see what you're doing wrong. The correct way (or one of them)...
soundFX=LoadSound("sound.wav")
soundChannel=PlaySound(soundFX)
|
| ||
| soundchannel, what's that??????? |
| ||
| soundchannel is simply an integer variable which contains a reference to the 'channel handle' of the sound being played with 'play sound'. It could have been called anything, for example junkvariablename=playsound(soundfx) could have done the exact same thing. |