phaser/plugins/spine/README.md

13 lines
627 B
Markdown
Raw Permalink Normal View History

2020-09-29 10:40:15 +00:00
# Updating Spine
2020-12-05 11:19:48 +00:00
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.
2020-09-29 10:40:15 +00:00
2. Run `npm i` inside the `spine-runtimes` folder.
2022-01-21 17:20:22 +00:00
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.
2020-09-29 10:40:15 +00:00
You can now build a new version of the Spine Plugin:
2022-01-21 17:20:22 +00:00
6. `npm run plugin.spine.dist`.
2020-09-29 10:40:15 +00:00