View a comprehensive history of all the new Javascript scripting feature updates and changes Construct Animate since the first release.
TypeScript: generate type definition for custom eases
IRuntime events "suspend", "resume"
Add IPlatformInfo properties canvasClientX/Y
ignoreMesh parameter for getBoundingBox(), getBoundingQuad()
Add IPlugin/IBehavior property 'id'
Add IWorldInstance originX/Y, set/getOrigin()
Add IDrawingCanvasInstance.saveImage()
Add IRuntime.saveCanvasImage()
Deprecate IRuntime.createWorker() (use nested workers instead)
Disable 'Cannot access before initialization' and 'Value is never read' warnings due to false positives
Instance, object class and runtime events "hierarchyready"
Add IRuntime properties loadingProgress, imageLoadingProgress
Add IRuntime events "pretick", "tick2"
Add ITimerBehaviorInstance.getNormalizedProgress()
Deprecate IAssetManager isWebMOpusSupported, decodeWebMOpus()
Disable worker mode when import maps used (as browsers do not support this yet)
Update default tsconfig.json target to ES2022
Fix import maps not working when running with debugger
Make runtime.platformInfo always available (even without Platform Info object)
Add IPlugin static method getByConstructor()
Add IPlugin getSingleGlobalObjectType(), getSingleGlobalInstance()
Add ISDKUtils isAutoSuspendEnabled, setSuspended()
Fix IInstance uid possibly having wrong value after loading savegame
Update type definition of PluginInfoCategory
Add IInstance methods signal(), waitForSignal()
Add support for import maps
TypeScript: add missing type definition for runtime.sdk
Add ITextInstance setFixedResolutionMode(), setAutoResolutionMode()
Add IAudioObjectType isSilent, masterVolume, stopAll()
Add IRuntime signal(), waitForSignal()
Add IWorldInstance getHierarchyOpts()
Add IWorldInstance getMeshPoint()
Add IObjectClass.getPairedInstance()
Fix IBehavior interfaces incorrectly set to null (regression)