phaser/plugins/spine
2023-02-06 17:35:50 +00:00
..
dist New build of Spine 3 plugin against 3.60 2023-01-24 17:48:59 +00:00
src Previously, it wasn't possible for multiple Spine Atlases to use PNGs with the exact same filename, even if they were in different folders. The SpineFile loader has now been updated so that the always-unique Spine key is pre-pended to the filename, for example if the key was bonus and the PNG in the atlas was coin.png then the final key (as stored in the Texture Manager) is now bonus:coin.png. The SpinePlugin.getAtlasCanvas and getAtlasWebGL methods have been updated to reflect this change. Fix #6022 2023-02-06 17:35:50 +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.