silver-fang-mini-game/node_modules/phaser/plugins/spine
2024-10-27 19:54:14 +02:00
..
dist Refactored the project 2024-10-27 19:54:14 +02:00
src Refactored the project 2024-10-27 19:54:14 +02:00
copy-to-examples.js Refactored the project 2024-10-27 19:54:14 +02:00
README.md Refactored the project 2024-10-27 19:54:14 +02:00
tsconfig.both.json Refactored the project 2024-10-27 19:54:14 +02:00
tsconfig.canvas.json Refactored the project 2024-10-27 19:54:14 +02:00
tsconfig.webgl.json Refactored the project 2024-10-27 19:54:14 +02:00
webpack.auto.config.js Refactored the project 2024-10-27 19:54:14 +02:00
webpack.auto.dist.config.js Refactored the project 2024-10-27 19:54:14 +02:00
webpack.canvas.config.js Refactored the project 2024-10-27 19:54:14 +02:00
webpack.canvas.dist.config.js Refactored the project 2024-10-27 19:54:14 +02:00
webpack.webgl.config.js Refactored the project 2024-10-27 19:54:14 +02:00
webpack.webgl.dist.config.js Refactored the project 2024-10-27 19:54:14 +02:00

Updating Spine

  1. Checkout the Esoteric Spine Runtimes repo to the spine-runtimes folder: https://github.com/EsotericSoftware/spine-runtimes/ and make sure this is in the plugins/spine folder, not the plugins/spine/src folder.
  2. Run npm i inside the spine-runtimes folder.
  3. Add the offscreencanvas module: npm i --save-dev @types/offscreencanvas.
  4. Add the source-map module: npm i --save-dev source-map.
  5. Run npm run plugin.spine.runtimes to build the new runtimes to the plugins/spine/src/runtimes folder.

You can now build a new version of the Spine Plugin:

  1. npm run plugin.spine.dist.