View a comprehensive history of all the new Javascript scripting feature updates and changes Construct 3 since the first release.
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