View a comprehensive history of all the new Javascript scripting feature updates and changes Construct Animate since the first release.
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
Add IInstance *otherContainerInstances(), getOtherContainerInstances()
Add Progress Bar script interface
Add Shadow Light script interface
Tweens: support custom eases in scripting interface
Add more properties & methods to ITweenState/ITimelineState
Add 'Auto reload all on preview' option for script folder in folder-based projects
Add Drag & Drop behavior script interface
Add Fade behavior script interface
Add Flash behavior script interface
Add Orbit behavior script interface
Add Rotate behavior script interface
Add Shadow Caster behavior script interface
Add Tween behavior script interface
Add ITimelineState and ITweenState script interfaces