azerion / phaser-spine

A plugin for Phaser 2 that adds Spine support
MIT License
121 stars 57 forks source link

If you do game.load.spine outside of preload, textAtlas not generated #12

Closed shibekin69 closed 6 years ago

shibekin69 commented 7 years ago

Hi,

I noticed that if I do something like:

this.game.load.spine('spineboy', 'asset/spineboy.json');

...outside Phaser's preload function, it doesn't generate a spineBoyAtlas object in the text cache.

AleBles commented 6 years ago

This reply is way overdue but Phaser's preloader does not start working outside preload() unless load.star() is called.

Have you tried that @shibekin69 ?

shibekin69 commented 6 years ago

I think this might not be an issue anymore. I got stuff to work,