≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
This code works for Windows target but not Android??
Posted by:
(you are not logged in)
Enter the missing letter in: "Intern?tional"
(you are not logged in)
Text:
[quote][b][/b] wrote: [quote][b][/b] wrote: It was a longer code block than this that's all the same from IfResource5A all the way to IfResource1A. When I cut out the repeating code (i couldn't fit it into the post) i left IfResource5A code not IfResource1A code. I updated the post. to eliminate confusion here is the JS file: [url]https://drive.google.com/file/d/15nBKwDmqy-p7qAwGKSZkBueiknsz9V8q/view?usp=sharing[/url][/quote] Have you tried to set a global variable outside your main behavior function then save variables to them rather than coppercube variables? Global variables can hold more than numbers and strings compared to cooppercube variables. Example: [code] var global1 = ""; var global2 = 0; var global3 = [1, 2, 3, 4]; function behavior_doTest() {} behavior_doTest.prototype.onAnimate(node, timeMs) { global1 = "hello!"; global2 = global3[0]; } [/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