Music Stops?

Games4lifeGames4life 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

  • HopscotchHopscotch Member, PRO Posts: 2,782

    @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?

  • Games4lifeGames4life Member, PRO Posts: 279

    @Hopscotch said:
    @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?

    Yes, that is correct. How would I make it into a sound instead?

  • HopscotchHopscotch Member, PRO Posts: 2,782

    @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.

  • Games4lifeGames4life Member, PRO Posts: 279

    @Hopscotch said:
    @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.

    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?

Sign In or Register to comment.