Music files not playing; sound files resetting with scenes
Scone
Member Posts: 26
Hey, everyone! I tried looking up this issue, but the information I keep finding is either for older versions or is for the Mac version.
Basically, I'm trying to get a music file I have to loop across scenes, without resetting each time the scene changes. The first issue I'm running into is that GameSalad isn't letting me select whether I want to convert my wav file into a sound or music file (ogg or m4a), but automatically makes it ogg. When I tried using the ogg with the Play Sound command, it resets every time I change scenes; one video suggested I should place the rule on an actor only present in my menu screen and not the others, but if I do this the music just stops playing at the next scene.
I thought the issue might be that it's a sound file and I needed the Play Music command, so I converted my wav into m4a with Audacity. Unfortunately, when I import this new file into GameSalad, it doesn't play (either with the command while in-game or in the media menu); there is just no sound.
If anyone can help me out, I would greatly appreciate it. Again, the main thing I want to accomplish is for this song to play across scenes without resetting, so if I don't mind if its a sound or music file--whichever one works.
Basically, I'm trying to get a music file I have to loop across scenes, without resetting each time the scene changes. The first issue I'm running into is that GameSalad isn't letting me select whether I want to convert my wav file into a sound or music file (ogg or m4a), but automatically makes it ogg. When I tried using the ogg with the Play Sound command, it resets every time I change scenes; one video suggested I should place the rule on an actor only present in my menu screen and not the others, but if I do this the music just stops playing at the next scene.
I thought the issue might be that it's a sound file and I needed the Play Music command, so I converted my wav into m4a with Audacity. Unfortunately, when I import this new file into GameSalad, it doesn't play (either with the command while in-game or in the media menu); there is just no sound.
If anyone can help me out, I would greatly appreciate it. Again, the main thing I want to accomplish is for this song to play across scenes without resetting, so if I don't mind if its a sound or music file--whichever one works.
Comments
Then you put a rule that if attribute music (integer) =/= 0, change att music to 0 and play music 0, if att music = 0, play current music.
When you reach zone D, put a rule that if att music =/=1, change att music to 1 and play music 1, if att music =1, play current music.
It should work so that when you are in zone A, B, and C, you will be listening to music 0 without restarting
In zone D, you will be listening to music 1