ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Help with CopperCube
forum topic indicator Scenes and Sound
person icon
Chrisz
Guest
Quote
2024-01-03 09:41:04

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?

person icon
jctech
Registered User
Quote
2024-01-03 11:16:04

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?

person icon
Chrisz
Guest
Quote
2024-01-03 16:03:40

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.

person icon
jctech
Registered User
Quote
2024-01-03 17:38:01

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

person icon
Chrisz
Guest
Quote
2024-01-03 20:04:12

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...

person icon
just_in_case
Moderator
Quote
2024-01-04 06:50:58

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.

person icon
Robbo
Guest
Quote
2024-01-04 11:46:02

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.

person icon
jctech
Registered User
Quote
2024-01-04 12:35:35

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?

person icon
Chrisz
Guest
Quote
2024-01-04 17:16:10

Thanks thats a good idea to use a transition dummy screen. Very good.

I have something now in mind.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |