View a comprehensive history of all the new Javascript scripting feature updates and changes Construct 3 since the first release.
Update all scripting examples to use modules
Fix boolean instance variables not using boolean type
Add mesh distortion scripting APIs
Scene graph APIs on IWorldInstance, e.g. addChild(), getParent()
Add Move To behavior script interface
Text Input maxLength setter/getter
Added new 'YouTube API' scripting example
Layer methods cssPxToLayer() and layerToCssPx()
Added script interface for Slider Bar
Could not set Platform deceleration
DrawingCanvas loadImagePixelData() incorrectly flipped on Y axis
JSON plugin: script interface to access JSON data
Update editor JavaScript parser with partial ES2020 support (including nullish coalescing operator)
Add instance "destroy" event
Add object class and runtime "instancecreate" and "instancedestroy" events
Added ILayout and ILayer 'effects' array (for controlling effects similar to instances)
Allow autocomplete after 'this' and 'super' keywords
Sprite: getPolyPointCount(), getPolyPointX(), getPolyPointY(), getPolyPoint() methods
Sprite: getImagePointCount() and getImagePoint() methods
Physics: getContactCount(), getContactX(), getContactY(), getContact() methods
Fix crash autocompleting localVars inside a function block
New 'Fetching project files' scripting example
New 'Web Workers' scripting example
Events "save", "load", "beforeprojectstart", "afterprojectstart", "beforelayoutstart" and "afterlayoutstart" can now use async handler functions
runtime.isInWorker property to indicate 'Use worker' mode (in Web Worker)
runtime.alert() method, which forwards call in worker mode
Global alert() method added in worker mode to help beginners, which forwards call
Add runtime 'getInstanceByUid' method
Autocomplete now lists items after typing 'runtime.objects', 'runtime.globalVars' and 'localVars'
Update autocomplete list to include latest APIs