phaser/plugins/spine
2023-04-12 19:28:15 +01:00
..
dist Updated Spine 3 and 4 plugins 2023-04-12 19:28:15 +01:00
src If a SpineContainer had a mask applied to it and the next immediate item on the display list was another Spine object (outside of the Container) then it would fail to rebind the WebGL pipeline, causing the mask to break. It will now rebind the renderer at the end of the SpineContainer batch, no matter what, if it has a mask. Fix #5627 2023-02-06 17:44:22 +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.