-
My Music Won't work
I want background music in my game, and I can not get it to work the way I want to. If I use the option at the "Start of the Frame" play and loop music,it will play and loop the music. But what I am trying to do is play different music
during the game so I use use random events in the global setting to play the music:
as global actions I have:
song = random (5)+1
format = random (5) +1
if format is (what ever random number)
song =(what ever random number)
play and loop (name of file of song )
When the game starts and it gets to the point where the music should start, the game slows down for a while but it plays no music, any thoughts?
-
Re: My Music Won't work
Can you upload your MFA file someplace?
I am sure its just a problem with the events -- Perhaps you have the event playing the sound triggering over and over and not once.
Thus its trying to play the sound a lot of times (50 times a second) and overloading the sound engine.
or it could be something else but what you want to do is relatively simple so it should be easy to sort out for you.