Skip to content

v1.2.0

Choose a tag to compare

@bitilia bitilia released this 14 Nov 23:33
· 6 commits to main since this release

Release 1.2.0: stage fragments, worker compiling and a one-file browser build

stage.add() shows another complete document inside the stage's document: a map tile, a room, a route. Only that document is compiled when it is added, replaced or removed, and a document plus fragments draws exactly the picture of one merged document on WebGPU and WebGL2. stage.prepare() compiles in a worker started from the stage's own file, changes are applied within stage.changeBudget, and stage.drawn() and stage.stats say when a change is on screen and what it cost. @es3d/es3d/browser is the whole browser-safe library in one file, importFiles takes File objects, and the stage file is fully minified.

The purpose of this change is to make the file format have more global applications and make it easier to distribute on CDNs.