Posted By
|
Message
|
vuzzupp
Registered 22/01/2005
Points 72
|
19th November, 2005 at 09:58:56 -
Ok, i have modfx playing over frames in mmf.
When i use the game tester inbuilt in mmf, the modfx works ok for the first frame, then i go to another one, thats ok, and then when i revert back to the first frame, it stops playing and crashes.
Also when i leave the game it crashes, any help?
Website: Http://www.sharemygames.com
|
Robbert
Registered 19/06/2003
Points 420
|
19th November, 2005 at 10:31:55 -
I've had this problem too. First of all make sure that Modfx is stopped when someone shuts down the game. If that does not work, then try using DirectShow, which comes with MMF (correct me if I'm wrong). This one can plan mp3s as well (assuming that you use modfx for music)
Hey mates, I'm Iglo yeah =P!
|
vuzzupp
Registered 22/01/2005
Points 72
|
19th November, 2005 at 11:00:50 -
When i use directshow, it dont use the line " Appdrive$+ Appdir$+("\music\play.mp3")" it does it by "c:\documents and settings.....", so therefore sure when i compile the game and share it to others the music wont work unless it's in the same folder? or not?
Website: Http://www.sharemygames.com
|
Robbert
Registered 19/06/2003
Points 420
|
23rd November, 2005 at 13:33:32 -
Well... you can do that in DirectShow too.
Just don't type in a filename at the DirectShow settings windows, leave it empty.
In the event-editor though you should add this line:
Start of frame (or whatever):
1. DirectShow --> General --> Load --> Appdrive$ + Appdir$ +"music\play.mp3"
2. DirectShow --> General --> Set Loop --> On (not necessairy, but useful for menus)
3. DirectShow --> General --> Play
Just do it in this order and it will all be fine
Hey mates, I'm Iglo yeah =P!
|
|
|