≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
2D Overlay Dynamic Text
Posted by:
(you are not logged in)
Enter the missing letter in: "Inter?ational"
(you are not logged in)
Text:
[quote][b][/b] wrote: Not sure about that 'script' error. Maybe you have a .js file in the path where you saved your .ccb file, and it is named the same? Then CopperCube trys to run that one, and the error may be from there. I think it's simpler to simply build the string you want to show yourself using JavaScript, like [code]var textToShow = "Hello " + someValue + " world!"; ccbSetSceneNodeProperty(s, "Text", textToShow);[/code] No need to using CopperCube variables, if you don't want to. But you can, of course, like [code]var textToShow = ccbGetCopperCubeVariable("NameOfYourVariable");[/code][/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