View a comprehensive history of all the new Javascript scripting feature updates and changes Construct Animate since the first release.
Script actions in deleted event blocks could still cause validation errors
Add IWorldInstance property isCollisionEnabled
Add IRuntime property timeScale
Add IInstance property timeScale, method restoreTimeScale()
Add IInstance.templateName
Fix possible incorrect picking using runtime.callFunction() in copy-picked function
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