mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 13:43:26 +00:00
.. | ||
dist | ||
src | ||
copy-to-examples.js | ||
README.md | ||
tsconfig.both.json | ||
tsconfig.canvas.json | ||
tsconfig.webgl.json | ||
webpack.auto.config.js | ||
webpack.auto.dist.config.js | ||
webpack.canvas.config.js | ||
webpack.canvas.dist.config.js | ||
webpack.webgl.config.js | ||
webpack.webgl.dist.config.js |
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
.