Start Music Only Once...

richcoyrichcoy Member Posts: 211
Hello,

Okay, so I have my game's music attached to an actor on the start screen of my game. That works great, however if someone goes back to the start screen, after viewing directions or setting, the music starts over. How do I stop the music from starting over?

Thanks.

Rich

Comments

  • DigiChainDigiChain Member, PRO Posts: 1,288
    If you have a splash sceen ( such as your logo) before the game goes to your main menu page - put the play music rule here.

    That way the player will never return to that screen, and the music won't reset
  • richcoyrichcoy Member Posts: 211
    Thanks, I don't have a splash screen but I could add a scene that looks like my start screen that only plays for one second then moves to the start screen.
  • POMPOM Member Posts: 2,599
    richcoy said:
    Hello,

    Okay, so I have my game's music attached to an actor on the start screen of my game. That works great, however if someone goes back to the start screen, after viewing directions or setting, the music starts over. How do I stop the music from starting over?

    Thanks.

    Rich

    Hey ,
    its very simple , make a boolean attribute - "music started"
    in your initial scene , make a rule ,
    when "music started" is false ,
    play music (looped)
    Change "music started" to true .

    this way once you go back to that scene , the music rule will not start again !

    Hope it helps.
    Roy.
  • richcoyrichcoy Member Posts: 211
    Thanks Roy, That's even more slick than an extra scene.

    Rich
Sign In or Register to comment.