Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

"Infinite sound" doesn't stick?

  • #1, by saintandsimon 13 years ago Zitieren
    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


  • #2, by saymn 13 years ago Zitieren
    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".
  • #3, by afrlme 13 years ago Zitieren
    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.
  • #4, by saymn 13 years ago Zitieren
    Is true. This would be a better option. I forgot that the track will automatically continue.
  • #5, by saintandsimon 13 years ago Zitieren
    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
  • #6, by afrlme 13 years ago Zitieren
    hmm I meant the background music track... I've not tested if sounds started from an action will carry over between scenes.
  • #7, by saintandsimon 13 years ago Zitieren
    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.
  • #8, by saymn 13 years ago Zitieren
    Or you can take a action part who started when the scene is opening.
    While you're doing what Lee said.
  • #9, by afrlme 13 years ago Zitieren
    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...