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

7 favourites
runtime.isInWorker property to indicate 'Use worker' mode (in Web Worker)
7 favourites
runtime.alert() method, which forwards call in worker mode
6 favourites
Global alert() method added in worker mode to help beginners, which forwards call
16 favourites
Add runtime 'getInstanceByUid' method
9 favourites
Autocomplete now lists items after typing 'runtime.objects', 'runtime.globalVars' and 'localVars'
9 favourites
Update autocomplete list to include latest APIs
9 favourites
Added effects APIs to control instance effects from script
9 favourites
Added physics APIs to control Physics behavior from script
8 favourites
Added IBehavior interface
8 favourites
Added mouse APIs getMousePosition and isMouseButtonDown
9 favourites
Added 'Physics: scripting' example project
8 favourites
Fix incorrect parsing of dynamic imports
8 favourites
No longer marks 'return' statements in script blocks/actions as invalid
8 favourites
Fix incorrect validation of destructuring declarations
8 favourites
Did not remove limits if purchased and working offline
6 favourites
New option in settings to enable automatic indentation
5 favourites
Jump to declaration for identifiers using ctrl/cmd + left click
7 favourites
Validate JSON files in the text editor
7 favourites
Additional linting checks to scripts
3 favourites
Fix Platform behavior vectorY setter not working
7 favourites
Error and warning tags were not being cleared from editor after the issue was resolved
10 favourites
Fix advanced minification changing the enumerability of some properties
11 favourites
When a piece of text is selected other instances of that phrase will be highlighted in the document
8 favourites
Drawing Canvas: methods to load a custom ImageData (see example project)
5 favourites
Add APIs to access the AudioContext and destination node from Construct's Audio object
5 favourites
Fix crash stepping Construct debugger to script action
4 favourites
Ignore unmodified "let" variable warnings when using multiple declarations in a "for" loop
4 favourites
Using the return value of increment/decrement operator didn't count as a read, and could incorrectly mark as "never read"
11 favourites
Added runtime "save" and "load" events so scripts can add own data to savegames
6 favourites
Inline script blocks in event sheets had a couple of style issues in the light and dark theme
6 favourites
Added layer getViewport() method
6 favourites
Added interface for Tile Movement behavior
5 favourites
Add Platform behavior script interface
4 favourites
Add blendMode and colorRgb properties for instances
8 favourites
Add methods to alter instance's Z order
7 favourites
Add 8 direction and Car behavior script interfaces
6 favourites
Access instance behaviors from script