phaser/plugins/spine
2023-02-06 16:44:32 +00:00
..
dist New build of Spine 3 plugin against 3.60 2023-01-24 17:48:59 +00:00
src The Spine Plugin add and make functions didn't clear and rebind the WebGL pipeline. This could cause two different visual issues: The first is that a Phaser Game Object (such as a Sprite) could be seen to change its texture to display the Spine atlas texture instead for a single frame, and then on the next pass revert back to normal again. The second issue is that if the Spine skeleton wasn't added to the display list, but just created (via addToScene: false) then the Sprite would take on the texture frame entirely from that point on. Fix #6362 2023-02-06 16:44:32 +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.