running arbitrary JS

Discussion and feedback on Construct 2

Post » Wed May 02, 2012 4:38 am

I was just wondering if it was possible to run arbitrary JS from within the C2 app. For example, say you have other elements on the page aside from the C2 iframe, and you want to run a <script> block which changes their color by clicking on a sprite within the game, let's say. Is this possible? Would it would be possible to write a (potentially unsafe?) plugin which allows you to run JS within the game, or am I potenetially overlooking something which would stall the runtime/not work/etc. or whatnot.

Edit: Just found that someone made this plugin already.Davioware2012-05-02 04:39:09
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests