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
13
S
5
Posts: 10
Reputation: 945

Post » Wed Feb 17, 2016 12:08 pm

Use the Javascript SDK.
Scirra Founder
B
378
S
220
G
84
Posts: 23,868
Reputation: 188,111


Return to How do I....?

Who is online

Users browsing this forum: RetroSpock, senna68, WhosWho and 9 guests