Hi,
I'm following the tutorial at qb64sourcecode.com and because the sound files don't work I'm trying to understand why. Can anyone explain the way this command works? I've copied and pasted the tutorial folder in a few places and I got it working on one computer but not on a second one. So I clearly don't get it. The folder containing qb64.exe is where the tutorial folder is pasted, yet the "piano" and task 14 programs don't work.
Phaser& = _SndOpen(".\tutorial\task14\Phaser.ogg")
I was under the impression that this points to a location relative to the qb64.exe itself. But yeah I have no idea now.
Edit: I can get this to work by removing all the folder info and just leaving the file name. Example ("Phaser.ogg") So I'm still unclear about ".\" At this point I'm assuming I must have installed qb64 in the wrong place in order for the tutorial paths to work as is. Either way thanks to the wiki I can test this with the '_fileexists' command.
I'm following the tutorial at qb64sourcecode.com and because the sound files don't work I'm trying to understand why. Can anyone explain the way this command works? I've copied and pasted the tutorial folder in a few places and I got it working on one computer but not on a second one. So I clearly don't get it. The folder containing qb64.exe is where the tutorial folder is pasted, yet the "piano" and task 14 programs don't work.
Phaser& = _SndOpen(".\tutorial\task14\Phaser.ogg")
I was under the impression that this points to a location relative to the qb64.exe itself. But yeah I have no idea now.
Edit: I can get this to work by removing all the folder info and just leaving the file name. Example ("Phaser.ogg") So I'm still unclear about ".\" At this point I'm assuming I must have installed qb64 in the wrong place in order for the tutorial paths to work as is. Either way thanks to the wiki I can test this with the '_fileexists' command.