a javascript developer question

Discussion and feedback on Construct 2

Post » Tue Oct 25, 2016 2:14 pm

hi
why this javascript code not working when i use it in the index.html
document.getElementById("c2canvas").setAttribute("dir","rtl");

what files i have to change if i want to change this :
<canvas id="c2canvas" width="854" height="480">

it seems construct 2 change the c2canvas attributes in runtime but where ? i whant to add another attribute and i whant to see it in preview and runtime .
which file ?
B
16
S
6
Posts: 243
Reputation: 1,755

Post » Tue Oct 25, 2016 5:59 pm

I think in exporters folder there is some files but which one ?
B
16
S
6
Posts: 243
Reputation: 1,755


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests