Page 1 of 1
Any way to make GE list OGG files and play them?
Posted:
Mon Mar 01, 2010 9:39 pm
by CrimsonTheDarkBat
Hi, is there a way to make Game Editor list whatever OGG files are in a games directory and then be able to play them?
Re: Any way to make GE list OGG files and play them?
Posted:
Tue Mar 02, 2010 4:22 pm
by CrimsonTheDarkBat
Guys seriously, I need help with this.
Re: Any way to make GE list OGG files and play them?
Posted:
Tue Mar 02, 2010 5:26 pm
by Bee-Ant
Technically, you can load the ogg files using fopen(); but you must make your own function to play them. Just open it doesnt mean play it.
For the list, you can make some sort of string array and save it as txt file or something.
Re: Any way to make GE list OGG files and play them?
Posted:
Tue Mar 02, 2010 6:17 pm
by CrimsonTheDarkBat
Thanks
But, could you post a demo for me? I'm usless with fopen, fread etc.
Re: Any way to make GE list OGG files and play them?
Posted:
Thu Mar 04, 2010 1:56 am
by Bee-Ant
Oh sorry, I just forgot to post it...
Here...