License from €75 Log in
DE EN FR ES IT CZ

Hintergrundmusik wird nicht gespielt

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 8 years ago
    Hallo allerseits,

    ich habe ein sehr eigenartiges Verhalten entdeckt. Diverse Hintergrundmusik wird gar nicht oder nur ganz selten gespielt. Ich bin dann dazu übergegangen, für jede Szene einzeln die Musik festzulegen (Szene -> Einstellungen) und den Haken bei "von vorheriger Szene übernehmen" rauszunehmen. Trotzdem funktioniert es nicht.
    Drücke ich im Editor zum Test auf das Play-Symbol, wird der Song gespielt. Gibt es einen Trick?

    Viele Grüße
    Manuel
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 8 years ago
    Is this on new game or after loading from a save game file?
  4. · 8 years ago
    Could be after loading a saved game.
    Why? Is that a problem?
  5. · 8 years ago
    Background music path is stored in the save game files because you can swap out the background music with action parts/Lua script.

    Also, I highly recommend never using the continue music from previous scene option because it will either play whatever music was playing in your menu/load/save scene after loading a save game or it won't play anything at all.

    One thing you can & should do is create an action part in an at begin of scene action for each scene & set the backgroud music for the scene with the action part, this is just a fallback in case it wasn't specified or doesn't automatically play the scene background music that you specified via scene properties.

    Quick note: you will likely encounter various random bugs after loading old save game files after making various changes to your project - especially if you have removed or added new things because the data in the save files will not contain the new/edited information.

    In other words you should not use the save system while your game is in development. You should wipe the saves & start fresh each session - also it's a good idea to only use the autosave system while working on your game too as it's easy to check if an autosave exists via action parts & delete it in the game launch actions section.
  6. · 8 years ago
    Perfect.
    Thank you for the information.


  7. · 8 years ago
    I tested the behaviour of the background music. I used the same music in a couple of scenes and have left the checkbox "use the music from the previous scene" unchecked. It ist working sometimes - not with alle scenes. I don't know why. Could this be a bug?
  8. · 8 years ago
    Hah! Found it!
    I forgot about the autosave, that I am loading at the start.
    After removing this it works fine.
    Thanx

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?