phaser/plugins/spine
2022-11-22 21:55:33 +00:00
..
dist New Spine runtimes 2022-02-04 16:05:09 +00:00
src Update SpineGameObject.js 2022-11-22 21:55:33 +00:00
copy-to-examples.js Update copy-to-examples.js 2020-08-25 18:29:58 +01:00
README.md Update README.md 2022-01-21 17:20:22 +00:00
tsconfig.both.json Added moduleResolution so the runtimes build 2020-09-29 11:40:12 +01:00
tsconfig.canvas.json Added moduleResolution so the runtimes build 2020-09-29 11:40:12 +01:00
tsconfig.webgl.json Added moduleResolution so the runtimes build 2020-09-29 11:40:12 +01:00
webpack.auto.config.js Because of course a new webpack version means new config rules 2020-08-25 13:27:14 +01:00
webpack.auto.dist.config.js Updated Spine webpack config to use Terser 2022-01-21 17:33:16 +00:00
webpack.canvas.config.js Because of course a new webpack version means new config rules 2020-08-25 13:27:14 +01:00
webpack.canvas.dist.config.js Updated Spine webpack config to use Terser 2022-01-21 17:33:16 +00:00
webpack.webgl.config.js Because of course a new webpack version means new config rules 2020-08-25 13:27:14 +01:00
webpack.webgl.dist.config.js Updated Spine webpack config to use Terser 2022-01-21 17:33:16 +00: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.