|
Post by TinyTerror on Feb 24, 2006 8:08:26 GMT -5
Well, after 3 years of being dead in the water and unsupported, my favorite audio library is back in development again. The library is called audiere, and is so simple to use that I would be a fool not to integrate it into lunar right away. This means that the next version of lunar will be able to play wav, mp3, ogg and various other sound files with no problem. These functions will probably come in the form of a new library. This means we will finally get that in game mp3 player script
|
|
gaz
New Member
Posts: 27
|
Post by gaz on Feb 24, 2006 8:19:15 GMT -5
Sweet, so we can write scripts for say... If status in battle, then play custom.mp3
That would be fun ^^
|
|
sdphantom
Full Member
Savior and Destroyer
Posts: 230
|
Post by sdphantom on Feb 24, 2006 9:23:47 GMT -5
Sounds great (no pun intended). A while ago, I was working on a way to make a simple PC speaker beep using the debug window. What happens is you send ASCII code 7 to the console window (stdout), and that causes the computer to beep.
Suposedly, this would work in Lua with one line.print(string.char(6)) The only problem I ran into is the Lua core function print() hardly ever works.
In C, after including <stdio.h>, you can put this line in for the same effect.printf("%c",7);
|
|