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

14 favourites
JSON plugin: script interface to access JSON data
8 favourites
Update editor JavaScript parser with partial ES2020 support (including nullish coalescing operator)
11 favourites
Add instance "destroy" event
9 favourites
Add object class and runtime "instancecreate" and "instancedestroy" events
9 favourites
Added ILayout and ILayer 'effects' array (for controlling effects similar to instances)
7 favourites
Allow autocomplete after 'this' and 'super' keywords
7 favourites
Sprite: getPolyPointCount(), getPolyPointX(), getPolyPointY(), getPolyPoint() methods
7 favourites
Sprite: getImagePointCount() and getImagePoint() methods
7 favourites
Physics: getContactCount(), getContactX(), getContactY(), getContact() methods
6 favourites
Fix crash autocompleting localVars inside a function block
8 favourites
New 'Fetching project files' scripting example
11 favourites
New 'Web Workers' scripting example
10 favourites
Events "save", "load", "beforeprojectstart", "afterprojectstart", "beforelayoutstart" and "afterlayoutstart" can now use async handler functions
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"