View a comprehensive history of all the new Javascript scripting feature updates and changes Construct 3 since the first release.

4 favourites
Possible crash calling event functions from script
1 favourites
Importing scripts could cause preview to fail
2 favourites
Added runtime.storage APIs (accesses same storage as Local Storage plugin)
1 favourites
Possible incorrect "never modified" warning when the only modifications were unary increment/decrement operators
1 favourites
Possible incorrect "cannot access before initialization" warning when accessing variables of a higher scope from a function
2 favourites
Incorrect scoping of "var" declarations in warning analysis
0 favourites
Warnings that highlight class or function declarations will now highlight the identifier instead of the whole declaration
2 favourites
New warning if declaring a "function" or "var" with the same name as another in the current scope
5 favourites
Asset APIs to load external scripts & WebAssembly modules
5 favourites
New 'Loading external script & WebAssembly' example
6 favourites
Access global variables in event sheets via runtime.globalVars
5 favourites
Access local variables in event sheets via localVars in script actions/blocks
4 favourites
runtime.setReturnValue() function to make it easier to return script values from event functions
4 favourites
Script interfaces for layouts and layers
3 favourites
Editor now validates JavaScript code in your project before preview or export, prompting you to fix syntax errors
3 favourites
Debugger CPU profiler now separately measures time spent in scripts
4 favourites
Added warnings for unused variables, use-before-initalise and assigning to constants
6 favourites
Lots of new APIs to use in scripts
2 favourites
New example category 'Scripting' on Start Page, with 'Ghost shooter code' and 'Audio scripting' examples (more to come)
6 favourites
Full code editor now used for editing code in event sheets
2 favourites
Syntax highlighting for code in event sheets
3 favourites
Error highlighting when editing code in event sheets or files
2 favourites
Updated default script file template, and is now only used for first script
2 favourites
Script files now run after the engine instead of before
1 favourites
Exporting projects using script files now works