-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
Description
Version
- Phaser Version: 3.55.2
- Operating system: Windows 11
- Browser: Chrome 98
Description
When using the Spine plugin, two spine files cannot have the same texture atlas png filename.
Example:
assets/spine1/skeleton.json
assets/spine1/skeleton.atlas
assets/spine1/skeleton.png <- same filename
assets/spine2/skeleton.json
assets/spine2/skeleton.atlas
assets/spine2/skeleton.png <- same filename
For some reason, the two spine game objects will now share the same texture atlas png. The atlas definition itself will be different, so it will be rendered as a chopped up Picasso-esque image.
Example Test Code
this.load.spine('spine1', 'assets/spine1/skeleton.json', 'assets/spine1/skeleton.atlas', true);
this.load.spine('spine2', 'assets/spine2/skeleton.json', 'assets/spine2/skeleton.atlas', true);