Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
Sounds not playing on webGL :C

angstloch
Registered User
Quote
2022-06-06 20:52:17

Hi! This is, i think, very basic -- I've just started groping with the engine. As the title says, sounds ain't playing when i test the game on webGL. I tried WAV and OGG, and I'm using Chrome. Any ideas? Thank you :)


Okeoke
Guest
Quote
2022-06-06 22:14:45

Hey, Chrome has audiocontext disabled until user performs action with the page. Try to add another scene there user has to press enter on the keyboard in order to switch to your main scene. Also check Chrome dev tools console, if it says something like audiocontext was not allowed to start - that's the issue.


angstloch
Registered User
Quote
2022-06-06 23:46:11

Thanks mate! Yeah i thought that was something related to browser security, but i thought it should be solved by just clicking anything in-game... which is actually what happened when i launched it from a server. Yet, using a server for simple testing ain't practical...
Anyway I made a separate opening scene and that worked perfectly :D
Cheers!


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "I?ternational" (you are not logged in)


Text:

 

  

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


   






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