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

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