ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Help with CopperCube
forum topic indicator 3d sounds not working in game
person icon
o139
Registered User
Quote
2024-08-11 11:22:57

i have never used 3d sounds before in my game but when i try to use it it does not work in the game "no sound" it works in the editor though

i have the 3d sound childed to a moving object

any ideas?

person icon
Robbo
Guest
Quote
2024-08-11 15:48:30

After playing once you have to set to play mode to "nothing" before playing again to reset it.

something like:
ccbSetSceneNodeProperty(VoiceNode, "PlayMode", "nothing");
ccbSetSceneNodeProperty(VoiceNode, "SoundFileName", snd);
ccbSetSceneNodeProperty(VoiceNode, "Volume", vol);
ccbSetSceneNodeProperty(VoiceNode, "PlayMode", "play_once");


try that...

person icon
Guest
Guest
Quote
2024-08-11 16:30:46

The forum is full of sh_itt helper, who provide irrelevant help topics.

The forum seems to be full of unhelpful responses and irrelevant advice. @OP appears to be experiencing issues with playing sound in the published game, even though it works fine in the editor. The responses made by this guy @Robbo are missing the mark and not addressing the real problem.

I don't know why the forum is full of showoff guys, who don't really help but try to flex by posting totally different solution than the problem that has been asked for.

@0139, I recommend joining the CopperCube Unofficial or GOR3 Server Discord communities for more effective support. Otherwise you have to face these showoff guys with growing numbers in the community.

person icon
sven
Registered User
Quote
2024-08-11 17:19:30

Guest
Do you think your responses are more relavant here?
Person was posting in this forum and you are trying to redirect him to another location ?-? Without giving any answer asked. (If you can think this way)

For me any answer as irrelevant it may look is good.. leads way to the answer and shows the ways for different thinking.

person icon
Guest
Guest
Quote
2024-08-11 19:15:02

@OP

Do you have the sound set to looping?

person icon
okeoke
Registered User
Quote
2024-08-11 20:21:26

Hey o139, could it be that your parent not is not visible, i.e. "Visible" check box is unchecked?

If your 3d sound node was not parented at first, and then you put it under the invisible node it keeps playing in the editor, but not in-game. You can easily check if it's your scenario by restarting CopperCube and reopening the project. If it's not playing anymore - that was the case.

person icon
o139
Registered User
Quote
2024-08-11 20:35:38

i have the 3d sound with looping

person icon
o139
Registered User
Quote
2024-08-11 20:52:09

thanks for all help i got it to work.. there was a issue in the game that stopped the sound playing in the game

person icon
just_in_case
Moderator
Quote
2024-08-12 07:36:59

I am fed up with these Guest accounts, bumping into every other post with their negativity.

Anyways, glad @0139 that you have your problem resolved, it was most likely as @okeoke mentioned you probably had your sound nodes hidden somehow.

Also as @Robbo mentioned already, if you want to play the same sound again after it is finished playing you need to change its play mode, and then play it again if you want to play the music again at some point if you are not using the Looping method by default.

person icon
Robbo
Guest
Quote
2024-08-12 10:17:35

Guest wrote:
The forum is full of sh_itt helper, who provide irrelevant help topics.

The forum seems to be full of unhelpful responses and irrelevant advice. @OP appears to be experiencing issues with playing sound in the published game, even though it works fine in the editor. The responses made by this guy @Robbo are missing the mark and not addressing the real problem.

I don't know why the forum is full of showoff guys, who don't really help but try to flex by posting totally different solution than the problem that has been asked for.

@0139, I recommend joining the CopperCube Unofficial or GOR3 Server Discord communities for more effective support. Otherwise you have to face these showoff guys with growing numbers in the community.


Show-off guys....seriously ?! - it was a possible solution to try help others dude...clearly you didnt know what the problem was when you made this post yet you seem happy to attack others for trying....what is your malfunction ?

If some suggestion doesnt work then be thankful at least they offered a suggestion and keep looking....such negativity from you tells us more about yourself than anything else....let me guess, your a young winger who gets jealous of others work because you cant acheive much yourself........well grow the hell up !

person icon
j9907
Guest
Quote
2024-08-12 11:38:14

A small note about audio. I'm sure some of you have noticed if you have a song or 2D audio source which is set to play on startup, it might be a bit weird sounding on the first couple frames of execution. To fix that, literally just set the volume of the node to 0 and then set the volume back to 100 (or whichever amount you need to use) in a bit of Javascript which executes before the first frame. Just a random workaround I wanted to share.

person icon
morbott
Registered User
Quote
2024-09-07 00:12:19

Is your audio a .ogg file?

person icon
o139
Registered User
Quote
2024-09-07 08:43:01

i have already found the problem morbott

person icon
luposian
Registered User
Quote
2024-09-07 09:56:29

Gee... wouldn't it be great if something could be done about that (like getting rid of Guest account posting)? Yet little to nothing ever is... sad. Just remember, they do it (Guest posting annoyingly negative), because they CAN. You can't stop what you don't stop. Nothing stops if it isn't stopped.

wrote:
I am fed up with these Guest accounts, bumping into every other post with their negativity.


person icon
j9907
Registered User
Quote
2024-09-07 19:11:17

wrote:
Gee... wouldn't it be great if something could be done about that (like getting rid of Guest account posting)? Yet little to nothing ever is... sad. Just remember, they do it (Guest posting annoyingly negative), because they CAN. You can't stop what you don't stop. Nothing stops if it isn't stopped.

wrote:
I am fed up with these Guest accounts, bumping into every other post with their negativity.



I'm sorry, but can you just shut up about this already? We get it. You hate guests. Quit being obnoxious and accept that they're not going anywhere.


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 |