We are well aware that not programming has been central to the design of Construct since Construct 2. We know many of our users will have chosen Construct specifically for this reason. Some may even have no intention of ever using coding. We're still committed to this approach and also fully intend to keep developing features for events. So why are we doing this?
At Scirra we've always aimed to help get more people involved with and excited about technology. We want to make amazing tools that make incredible technologies accessible to all, allowing them to be active creators rather than passive consumers. With the rising profile of technology in the world today and more people than ever getting involved with technology and programming, we think this is an important step towards that goal.
Not only should this attract a new audience to Construct, we think it makes a lot of sense for many existing Construct users too. Here's a few examples where we think it will be useful:
Custom languages suck
Custom languages also require a huge amount of work to develop, maintain and optimise, distracting away from efforts to improve the rest of the tool - especially painful for small teams. On the other hand industry-standard languages are mature, widely-used, are thoughtfully designed (even if they have historical quirks), and are developed by teams of expert engineers across the industry, usually supported by big, well-resourced companies like Google, Apple, Microsoft and Mozilla.
To us it's a no-brainer: just use an existing language.
How will it work?
So what will coding look like in Construct? The pictures below are from an early prototype - we'll have more features like full syntax highlighting later down the line. However it still gives a good impression of what it'll be like.
Scripts in actions
Scripts in events
Integration with events
The code in the action is the same as the action Set X to Self.X + 10. However it shows how closely you can combine events and code, switching between the two as you see fit.
Getting the scripting feature
Once we're ready to launch it, the scripting feature will be sold as a separate add-on for Construct. However anyone who's ever had a Construct 3 subscription - of any kind, past or present - will get the scripting add-on for free, for life, at no additional cost. Currently this still applies to new subscribers too, so if you want to use the feature and have been thinking about subscribing, you'll save money if you subscribe now! We'll announce the cut-off date for this offer in the near future.
We are aiming to have an early version of the scripting feature in the next beta release of Construct some time in the next couple of weeks. If you're already a subscriber, you'll be able to test it as soon as the next beta. The feature will continue to develop and expand over time, and we'll likely have more news about it in future. So stay tuned and we look forwards to seeing what you can all do with it!