How do I external js code call global variable in C2

Get help using Construct 2

Post » Wed Feb 17, 2016 6:10 am

like this
<script>
var good=Score;

</script>
the Score is global variable in C2! , Score is name of global variable, but good can,t get value of the Score!
B
16
S
7
Posts: 12
Reputation: 1,274

Post » Wed Feb 17, 2016 12:08 pm

Use the Javascript SDK.
Scirra Founder
B
395
S
232
G
88
Posts: 24,368
Reputation: 193,746


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 14 guests