Hello,
I am working on a project using Spine and Phaser 3.
When I create my character I insert multiple atlases because I have a dynamic project with multiple clothing combinations.
(The atlases I load depend on the assets the user choose to wear)
This is my code (In preload function):
let atlases = [
"skeleton.atlas",
"clothes1.atlas",
"clothes2.atlas",
"shirt3.atlas",
"hat1.atlas",
"hat2.atlas",
"hat3.atlas",
"clothes-set0.atlas",
"hat4.atlas",
"hat5.atlas",
"clothes-set1.atlas",
"hat10.atlas",
"hat14.atlas"
];
let spineObj = this.load.spine("skeleton0", "skeleton.json", atlases);
Once I have more than 10 atlases in my array I get the following error that is seen in the attachment.
Any idea why is this happening?
This is a blocker on our end.
I would appreciate your help,
Have a good day!