Music won't stop! help!
pjnolen
Member Posts: 152
I imported a music file. I didn't attach it to any game attributes or actors or anything really. But if I hit Preview to test the game, the music starts to play on the first screen, and if I leave the screen and come back, it restarts from the beginning as though it's setup to play on the first screen. But I don't have it attached in anyway to anything. I can't get it to stop unless I delete the music file from GS.
Anyone run into this before?
Anyone run into this before?
Comments
I just can't get it to stop doing that. I thought I had to make behaviors and attributes to play music?
I made a behavior on the second screen to 'stop music', and it works lol. But I can't figure out how it's "starting" to begin with. I followed the video on "Working with music in gamesalad". I created an attribute called music just like he did, and also created an actor to start the music on the 'main menu' screen. But never used the actor and the music started working on the 'main menu' screen but kept restarting if you go back to it, and that is very annoying. So I wanted to change that actor to just continue playing. That's when I realized that I never actually added that actor to the 'main menu' page at all. But the music played anyway. I deleted the actor and it kept playing, so I deleted the music attribute, and it still keeps playing. Only stops after I delete the music file altogether.
If I add the file back to the game audio database, it automatically just starts playing it again lol.