Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
When I switch between scenes it doesn't play any sound in the new scene or it plays the sounds from the previous one. If I stop the sounds beforehand, there is no sound at all. What am I doing wrong? |
||||
|
Hi, Have you double checked, the sounds in the new scene, are they a compatible format? Are you using some of the same sounds of the previous scene in the new scene and they are also not working? |
||||
|
The scenes are not changed. 1. Scene is Menue 2. Scene Mission I start from menue (sounds play) into mission scene (with own sounds). After finishing the mission scene it goes back to menue,but the sound comes from mission not from menue. |
||||
|
I see Try stop all sounds after mission, and then when you go back to main menu, try using the “before first drawing “ function to play the menu sounds |
||||
|
Thanks. I do it and it works 90%. When you finish the missions and it jumps back into the menue the voice sound plays once more. Better then before but not perfect. Something i made wrong. You can test it. https://www.dropbox.com/t/Sp1vXa... |
||||
|
for me the sound doesn't play again, only the menu music plays. Edit:- When tying it again it did play the sound again, It is better if you don't stop all the sounds in "Before first drawing " but instead use the action to stop all the sounds right before switching the scene. This will prevent any sound from that scene from playing in another scene. |
||||
|
I have also had a lot of issues getting the main scene to run right when returning back from switching to another scene. If your are changing variables to update something like from a menu then what works for me is to rerun certain setup things after 30ms on switching back into the main scene again... the 1 or at most 2 frames to wait sometimes is needed I found. |
||||
|
Robbo wrote: I have also had a lot of issues getting the main scene to run right when returning back from switching to another scene. If your are changing variables to update something like from a menu then what works for me is to rerun certain setup things after 30ms on switching back into the main scene again... the 1 or at most 2 frames to wait sometimes is needed I found. I see where you are coming from, do you think maybe a "dummy" loading screen would work? To transition in between the final scene and the main menu scene? |
||||
|
Thanks thats a good idea to use a transition dummy screen. Very good. I have something now in mind. |
|