ZSpine — loads a Spine 4.x skeleton using the @esotericsoftware/spine-phaser plugin.
Supports both:
Standard path: spineJson + spineAtlas file via plugin loader
No-atlas path: spineJson + individual pngFiles
PNGs are loaded as Phaser textures, then a TextureAtlas is built manually
(mirroring the PIXI version) and injected into the plugin's atlasCache.
Register SpinePlugin in your Phaser game config:
plugins: { scene: [{ key: "SpinePlugin", plugin: SpinePlugin, mapping: "spine" }] }
ZSpine — loads a Spine 4.x skeleton using the @esotericsoftware/spine-phaser plugin.
Supports both:
Register SpinePlugin in your Phaser game config: plugins: { scene: [{ key: "SpinePlugin", plugin: SpinePlugin, mapping: "spine" }] }