mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
627 B
627 B
Updating Spine
- Checkout the Esoteric Spine Runtimes repo to the
spine-runtimes
folder: https://github.com/EsotericSoftware/spine-runtimes/ and make sure this is in theplugins/spine
folder, not theplugins/spine/src
folder. - Run
npm i
inside thespine-runtimes
folder. - Add the
offscreencanvas
module:npm i --save-dev @types/offscreencanvas
. - Add the
source-map
module:npm i --save-dev source-map
. - Run
npm run plugin.spine.runtimes
to build the new runtimes to theplugins/spine/src/runtimes
folder.
You can now build a new version of the Spine Plugin:
npm run plugin.spine.dist
.