Music Stops?
Games4life
Member, PRO Posts: 279
Hi why does my main song for the game stop playing every time another song/sound effect occurs? For example, the main game is running with the song in the background, but once the character hits a coin it generates a sound effect. However, the main song stops and the coin sound effect plays. I am unsure how to code this or how to even start?
Thanks,
~G4L
Comments
@Games4life, you can only have on "play music" behavior at once, but multiple "play sound"s. I suspect that the coin is using "play music" to generate the sound effect?
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
Yes, that is correct. How would I make it into a sound instead?
@Games4life, you need to import the effect again. When GS asks you if it should import as music or sound, select sound. Then in the coin, use the "play sound" behavior to play the effect.
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
How would I import it? I have it on iTunes and the I select the music/sound effect into GS. Do I have to do something in garageband?