PDA

View Full Version : Having trouble with lua code



Lebow
June 9th, 2006, 18:31
i made a game money hunt and i'm havving trouble adding music how can i do this?

yaustar
June 10th, 2006, 00:53
http://wiki.ps2dev.org/psp:lua_player:functions#sound_and_music

cwirsing
June 10th, 2006, 00:55
You will need modplug tracker. With this you can convert many formats into a format that LUA Player can read. These formats are .wav, .xm, .it, .mod, and .s3m.

I think the code is Music.playFile("filename.xm")
and to stop the music Music.stop("filename.xm")