"Infinite sound" doesn't stick?

  • #1, by saintandsimonMonday, 17. February 2014, 14:25 7 years ago
    Hi yall

    Encountered a strange issue which I don't seem to solve (since I don't understand why it is like it is). Working with a particular sound now, which I want to loop infintely. I use the action "play this sound infinitely".

    The problem, the sound just seem to be heard during one scene to another. When switchin to a third scene, the "infinite" sound disappears.

    I'll try to explain the setup.

    Scene 1 --------------------------------------------- action starts sound infintely, and then shows scene 2.
    Scene 2 is a bit of a mother-scene, from which all scenes are connected. The sound is playing here - I click on an object which shows scene 3.
    Scene 3 - the sound disappears completely.



    Or a naive drawing on how the scenes are connected. (don't mind the dots, the hashtags are the connections)


    Scene 1..................... Scene 3
    ...# ........................ #
    ..... #..................#
    ....... #.......... #
    .......... # .. #
    ............. #
    Scene 2


    Anyone knows what I'm doing wrong? I've checked like everything thrice to make sure no current sound is stopped for some reason.

    And as usual, I offer cake and love


    Newbie

    85 Posts


  • #2, by saymnTuesday, 18. February 2014, 13:27 7 years ago
    You can select a track for an entire setting in the settings. (You are doing this in scene 1)
    "In scene 2 and 3 clicking on "Continue Music from the previous scene".

    Newbie

    36 Posts

  • #3, by afrlmeTuesday, 18. February 2014, 13:49 7 years ago
    Simon is on about using the play sound action part.

    In regards to using the "continue music from previous scene" option - I recommend not using it, because: if you save a game on a scene that uses that option & load from it & if you have music in your menu, it will continue the music from the menu; same if you change to menu during game & the menu has its own music. It's better to just add the same audio file to each scene you want to continue from & if the music linked to the scene is the same as previous scene then it will continue without restarting.

    Imperator

    6816 Posts

  • #4, by saymnTuesday, 18. February 2014, 13:56 7 years ago
    Is true. This would be a better option. I forgot that the track will automatically continue.

    Newbie

    36 Posts

  • #5, by saintandsimonTuesday, 18. February 2014, 14:07 7 years ago
    Thanks Lee, I had no idea that it actually would continue without restarting it if the audio is added as an action part in each scene. I'll try it out! smile

    Newbie

    85 Posts

  • #6, by afrlmeTuesday, 18. February 2014, 16:56 7 years ago
    hmm I meant the background music track... I've not tested if sounds started from an action will carry over between scenes.

    Imperator

    6816 Posts

  • #7, by saintandsimonTuesday, 18. February 2014, 17:07 7 years ago
    sound started from action will carry over between scenes, but that's where I've been stuck, since it doesn't carry over for a third scene. But I'll try the background music track thingy.

    Newbie

    85 Posts

  • #8, by saymnTuesday, 18. February 2014, 18:24 7 years ago
    Or you can take a action part who started when the scene is opening.
    While you're doing what Lee said.

    Newbie

    36 Posts

  • #9, by afrlmeTuesday, 18. February 2014, 18:49 7 years ago
    in the upcoming release we have a new sound engine. David replaced the old sound engine with openAL & with that we also get loads of new ways of controlling & starting/stopping sounds. for instance you could on game save: store currently playing sounds, their volume, balance & current playtime etc into tables so that you could have it resume from where it left off; amongst other things...

    Imperator

    6816 Posts

Write post