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
23
S
8
Posts: 25
Reputation: 1,575

Post » Wed Feb 17, 2016 12:08 pm

Use the Javascript SDK.
Scirra Founder
B
402
S
238
G
89
Posts: 24,644
Reputation: 196,095


Return to How do I....?

Who is online

Users browsing this forum: Akia410 and 11 guests