View a comprehensive history of all the new Javascript scripting feature updates and changes Construct 3 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 Pathfinding property directMovementMode
Add Pathfinding map property moveCost
Add Pathfinding methods startPathGroup(), endPathGroup()
Add IPathfindingMap properties cellSize, cellBorder, widthInCells, heightInCells
Add Pathfinding behavior method calculatePath()
Add IRuntime properties fps, cpuUtilisation, gpuUtilisation
Add multiplayer stats outboundDecompressedBandwidth, inboundDecompressedBandwidth
Tilemap setTileAt() method did not always work after resizing tilemap larger
Multiplayer: add transmissionMode property to message event
Add ITiledBackgroundInstance APIs for tile randomization
Add IWorldInstance method offsetPosition()
Add ILOSBehaviorRay methods getHitPosition(), getNormal(), getReflection()
Add setVector(), getVector() methods for 8 Direction, Car & Platform interfaces
Add IPathfindingBehaviorInstance.nodes() iterator
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 3 new script examples 'Tracking pointers', 'Scripting effect parameters', 'Multiplayer scripting'
Multiplayer: peer list not immediately updated in "peerdisconnected" event
Multiplayer: signalling properties isConnected, isLoggedIn
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 'Command & Construct' listing in Example Browser
Add 8 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