Is there away to play music continuously through out a game?

http_gamesaladhttp_gamesalad Member Posts: 1,340
edited January 2014 in Tech Support
I have this game & it has levels & a play button. When the "Main Screen" pops up it start playing music but when ever i press the "Play" button or the "Level Select" button the music stars from the beginning. I just wanna know if theres a to let the music play continuously through out the game with out restarting.

Thank You,
Victor

Comments

  • AdrenalineAdrenaline Member Posts: 523
    There's a "resume current music" option when you use the Play Music behavior. Just make sure an actor in each scene has this behavior and you should be good to go.
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited January 2014

    Hello @vnwadike13

    Here's one simple solution for your problem, i.e if you need to go back to the scene which started the music. Make a boolean attribute, let's call it MusPlay

    Now in the rule to play your music, make it like this now:

    Rule: When MusPlay is false
    Change Attribute MusPlay to true
    Play Music

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    in all my games I have a custom splash screen. It only displays for 1 second before fading to black and loading the main scene, but in that scene I load all the saved attributes I need and start playing music. as long as I don't go back to this scene the background music will loop continuously.
Sign In or Register to comment.