Files
dependabot[bot] d01d496964 Bump the npm_and_yarn group across 2 directories with 6 updates (#94)
Bumps the npm_and_yarn group with 3 updates in the /SharedLibs/TileMapHelper directory: [fast-uri](https://github.com/fastify/fast-uri), [js-yaml](https://github.com/nodeca/js-yaml) and [qs](https://github.com/ljharb/qs).
Bumps the npm_and_yarn group with 4 updates in the /newIDE/visual-tests directory: [js-yaml](https://github.com/nodeca/js-yaml), [minimatch](https://github.com/isaacs/minimatch), [minimist](https://github.com/minimistjs/minimist) and [adm-zip](https://github.com/cthackers/adm-zip).


Updates `fast-uri` from 3.1.5 to 3.1.8
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.5...v3.1.8)

Updates `js-yaml` from 4.3.1 to 4.3.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.2/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.3.1...4.3.2)

Updates `qs` from 6.15.3 to 6.16.0
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.15.3...v6.16.0)

Updates `js-yaml` from 4.3.1 to 4.3.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.2/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.3.1...4.3.2)

Updates `minimatch` from 3.1.2 to 3.1.5
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5)

Updates `minimist` from 1.2.5 to 1.2.6
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/minimistjs/minimist/compare/v1.2.5...v1.2.6)

Updates `adm-zip` from 0.5.18 to 0.6.1
- [Release notes](https://github.com/cthackers/adm-zip/releases)
- [Changelog](https://github.com/cthackers/adm-zip/blob/master/history.md)
- [Commits](https://github.com/cthackers/adm-zip/compare/v0.5.18...v0.6.1)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.8
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 4.3.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: qs
  dependency-version: 6.16.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 4.3.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: minimatch
  dependency-version: 3.1.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: minimist
  dependency-version: 1.2.6
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: adm-zip
  dependency-version: 0.6.1
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-18 18:30:39 -04:00
..

This package builds the Three.js related files used by the game engine (Runtime), as classic scripts exposing globals - as expected by the engine scripts, which are not ES modules:

  • three.js: the whole Three.js library, exposing the global THREE namespace. Three.js stopped providing such a build after r160 (it's now published as ES modules only), so it's built here from the three npm package.
  • ThreeAddons.js: a bundle of the Three.js "addons" used by GDevelop (loaders, controls, post-processing...), exposing the global THREE_ADDONS namespace. Its sources under src/examples are copied from the Three.js repository (examples/jsm), which is licensed under MIT.

How to build and update the files used by the game engine

npm install
npm run build

This regenerates GDJS/Runtime/pixi-renderers/three.js directly, and dist/ThreeAddons.js - to be copied manually to GDJS/Runtime/pixi-renderers/ThreeAddons.js if the addons changed.

How to upgrade Three.js

  • Bump the three version in package.json (also update @types/three in GDJS/package.json and three in newIDE/app/package.json to keep the editor and the typings in sync).
  • Update the sources copied in src/examples from the Three.js repository.
  • Run npm run build and copy the files as explained above.
  • Adapt the game engine code to any Three.js API change, and run the GDJS tests (GDJS/tests).