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
15
S
6
Posts: 12
Reputation: 1,149

Post » Wed Feb 17, 2016 12:08 pm

Use the Javascript SDK.
Scirra Founder
B
383
S
225
G
86
Posts: 24,118
Reputation: 190,544


Return to How do I....?

Who is online

Users browsing this forum: wertt22 and 7 guests