phaser-spine icon indicating copy to clipboard operation
phaser-spine copied to clipboard

Loading spine assets from atlas

Open lukz opened this issue 7 years ago • 3 comments

Hi!

Is there any way to point to other atlas as source of assets for skeleton while loading skeleton?

lukz avatar Mar 27 '17 10:03 lukz

At the moment, no. It'll only (dynamicly) include the image files defined in the .atlas.

Any suggestion in a different set of loading? I assume you'd prefer to have the spine included in atlas file that has more sprite available than just the spine ones?

AleBles avatar Mar 30 '17 09:03 AleBles

Yup you're right. It can help reducing load time and with optimization (less texture bindings). Also current way is problematic for webpack as by default it changes filenames to hashes and currently plugin is trying to load png and atlas files of the same filename.

I would like to be able to specify atlas key containing those images (and other) while loading skeleton json file.

lukz avatar Mar 30 '17 10:03 lukz

Has this ability been implemented yet?

KidScripty avatar Jul 11 '19 16:07 KidScripty