≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
missing ccbLoadSound()
Posted by:
(you are not logged in)
Enter the missing letter in: "?nternational"
(you are not logged in)
Text:
[quote][b]Robo[/b] wrote: You can load different sounds as needed...once in memory wont load in again: var playSnd = "sounds/" + this.sound + this.File_type; ccbSetSceneNodeProperty(this.Sound_Node, "PlayMode", "nothing"); ccbSetSceneNodeProperty(this.Sound_Node, "SoundFileName", playSnd); ccbSetSceneNodeProperty(this.Sound_Node, "Volume", vol); ccbSetSceneNodeProperty(this.Sound_Node, "PlayMode", "play_once"); Using the above you have to reset the play once every time with play 'nothing' else wont play again the next time. This way you can play any sound/music with its own sound node and controlled separately instead of changing system volume.[/quote]
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