View a comprehensive history of all the new Javascript scripting feature updates and changes Construct Animate since the first release.
Avoid throwing exception when posting message to runtime worker
Script validation errors treated line numbers as 0-based instead of 1-based
Exempt disabled scripts in event sheets from validation on preview
Ensure fetches to project files from Web Workers work in preview in Firefox/Safari
Add IParticlesInstance.fastForward(time)
Fix incorrect handling of destroying instances while ending a layout
Add IRuntime properties fps, cpuUtilisation, gpuUtilisation
Tilemap setTileAt() method did not always work after resizing tilemap larger
Add ITiledBackgroundInstance APIs for tile randomization
Add IWorldInstance method offsetPosition()
Add IAnimationFrame.getOrigin(), IImageInfo.getSize()
Add ILayer.getScrollPosition(), ILayout.getScrollPosition()
Add ILayout methods setSize(), getSize()
Add IWorldInstance methods setPosition(), getPosition(), setSize(), getSize()
Add IRuntime.getViewportSize()
Add getImageSize() for Sprite & Tiled Background interfaces
Add getTextSize() for Text & Sprite Font interfaces
Add ITiledBackgroundInstance methods setImageOffset(), getImageOffset(), setImageScale(), getImageScale()
Add ITilemapInstance methods getMapSize(), getMapDisplaySize(), getTileSize()
Add IDrawingCanvasInstance method getSurfaceDeviceSize()
Add "repeatCount" to the options available when starting a tween
Add 2 new script examples 'Tracking pointers', 'Scripting effect parameters'
Slider bar: "input" event
HTML element setScrollPosition() method
Update autocomplete to prefer suggestions that match case
Autocomplete 'this.runtime' and 'this.#runtime' the same as 'runtime'
Add IRuntime properties viewportWidth and viewportHeight
Add Mouse script methods setCursorStyle(), setCursorObjectClass()
Add drawing methods to Drawing Canvas script interface
Add 2 new scripting examples
Add 6 new scripting example projects
Fix IAssetManager.getMediaFileUrl() not working correctly in folders mode
Fix autocomplete not working correctly in export declarations
Add autocomplete support for public/private class fields & methods
Add "beforelayoutend" and "afterlayoutend" events
Add SpriteFont textWidth and textHeight properties
Add Timer behavior script interface
Add runtime.createWorker(url, opts) helper method
Fix network requests to project files not always working in preview with worker mode
Add List script interface