View a comprehensive history of all the new Javascript scripting feature updates and changes Construct 3 since the first release.
When a piece of text is selected other instances of that phrase will be highlighted in the document
Drawing Canvas: methods to load a custom ImageData (see example project)
Add APIs to access the AudioContext and destination node from Construct's Audio object
Fix crash stepping Construct debugger to script action
Ignore unmodified "let" variable warnings when using multiple declarations in a "for" loop
Using the return value of increment/decrement operator didn't count as a read, and could incorrectly mark as "never read"
Added runtime "save" and "load" events so scripts can add own data to savegames
Inline script blocks in event sheets had a couple of style issues in the light and dark theme
Added layer getViewport() method
Added interface for Tile Movement behavior
Add Platform behavior script interface
Add blendMode and colorRgb properties for instances
Add methods to alter instance's Z order
Add 8 direction and Car behavior script interfaces
Access instance behaviors from script
Fix runtime.callFunction() not working in script block (note script actions still worked)
Specific autocomplete suggestions for certain built-ins such as 'runtime'
Top-level 'function' and 'var' declarations are now shown as autocompleted properties on the global object
Accessing or setting a property on the global object will add it to the list of global variables for autocomplete
Script files in the 'Files' folder will be included for project-wide autocomplete
Prefer autocomplete options that start with the typed section
Highlight typed section within each option in autocomplete list
Exporting projects using JavaScript code with 'Minify script' is now supported
Add DrawingCanvas getImagePixelData() method
Add IWorldInstance methods getBoundingBox(), getBoundingQuad()
Add IWorldInstance properties zElevation, totalZElevation
Script blocks in event sheets can now be disabled
Fix custom instance classes not always being immediately instantiated (regression since r154)
Fix runtime mouse events not firing (regression since r155)
Disabled language specific identation in text editors - prevents unneeded indentation in JS when following the style of having the opening brace on a new line
Referencing an undefined variable in a script is now assumed to be an external variable, and is considered to be defined in the global scope by the autocomplete system
New script interfaces for Array, Button, Dictionary, Sprite, SpriteFont, Text, Text Input, Tiled Background and Tilemap
Added "deviceorientation" and "devicemotion" events, and Touch script interface for requesting orientation/motion permission
Add runtime.invokeDownload() method
Fix incorrect error using 'await' in event sheet script blocks
Both 'runtime' and 'localVars' are now recognised by the script analyser in event sheet script blocks
Autocomplete could be triggered by the up and down arrow keys, interrupting document navigation
New scripting examples 'Simple alert', 'Simple keyboard movement', 'Local storage' and 'Integrating events with script'
Autocomplete of variables and properties
Added runtime.assets.loadStyleSheet() method
Add option to create new JavaScript file in 'Files' folder (useful with loadScripts)
Added option to the Settings dialog to allow the font size to be changed for all text editor and inline script blocks
Runtime now fires pointer events for both mouse and touch input
Script interface for Binary Data plugin
Code editor now focused after adding a script