This blog post is licensed Creative Common Attribution Required v4.0.
You can also add script files, and call functions in them from scripts in the event sheet too. There's plenty of scope to be creative and conveniently start integrating event blocks and code!
There is now full documentation for the scripting feature in the new Scripting section of the manual. It covers how the feature works in Construct and also covers all the APIs (Application Program Interfaces, i.e. all the available classes and functions) comprehensively. As we continue to improve the scripting feature over time, more content will appear in the manual too.
Purchase a plan to remove the limits! If you purchase before September 2nd you'll get the scripting feature at no extra cost - so now is a great time to subscribe.
Therefore the scripting feature will be sold separately. It'll cost only $20 USD/year (USA pricing) on top of a Personal subscription, equivalent to a mere $1.67/month. This means you'll be able to purchase Construct 3 with event blocks as before at an unchanged $99/year, or with both event blocks and scripting for just $119/year. This will be introduced on September 2nd. All existing subscribers at that point will get the scripting feature permanently at no extra cost, even if they cancel and re-subscribe - so purchase before then to save! We'll announce more details about pricing for other plans and currencies soon. And don't forget as ever the subscription covers all other features and export options, making it a strongly competitive option versus many other comparable tools on the market.
This is only just the beginning! We have lots more features planned involving scripting, including autocomplete, more APIs, and library classes - as well as other updates for the event system - and they'll appear soon as we keep up with our unmatched regular update schedule. Stay tuned for more updates coming in future, and be sure to pick up a plan by September 2nd to get scripting at no extra cost!
Get emailed when there are new posts!
Nice! By the way, JS means we can now use coroutines, so I wrote a JSFiddle showing how to get started with using coroutines in your project:
I will probably write some JS tutorials soon
Ashley, please just never ever take the event system away Not everyone in the world can code. I myself cant get my head around it, maybe I'm just dumb, but with the construct event system I can make any 2d game I can think of. Otherwise scripting is a great addition for the smarter folk out there :) Good job.
Of course we'll never take the event system away! It's the main reason people choose Construct!
So it's like a DLC?
Thank you, this is amazing, now i'll learn to program in JS with construct. Thank you Ashley !!! Thank you so much.
thank you was looking for this.
Great ! By the way, is it a possibility to scripting with array object ?
This is great. i had my doubts about having to pay subscription service at first but you guys more than delivered.
I understand the intention behind selling the js feature at additional cost much better now, thanks for the explanation.
Now with the new JS feature can we use external js like phaserjs or impactjs
or three.js ?
I made a example with "treejs". you can download from this link.
How will this work for recurring subscribers so next year when the subscription expire and need to be renewed will it be renewed with the js feature at $99? Or will the price then be $99 + $20 for the year?
As the blog post says, with scripting it will be $119 a year. However anyone with an existing subscription on September 2nd will get scripting at no extra cost, so will keep paying $99 a year.
Thanks for the clarification