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

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