2D Toolkit Forum

2D Toolkit => Support => Topic started by: JCat on April 14, 2014, 04:46:41 pm

Title: create and load multiples atlases in one scene in a fast way
Post by: JCat on April 14, 2014, 04:46:41 pm
Hi,

I want to know what is the best way to use lots of sprites from multiple atlases in the same scene without affecting the performance when loading the scene.

thx
Title: Re: create and load multiples atlases in one scene in a fast way
Post by: unikronsoftware on April 14, 2014, 06:47:22 pm
You will simply have to load them all in at once, which could be slightly slow (and even slower if you use PNG atlases). Alternatively, you could split it up into multiple scenes and then load them additively over time.
Title: Re: create and load multiples atlases in one scene in a fast way
Post by: JCat on April 15, 2014, 12:37:59 pm
Hi, thanks for the answer. I am now loading them all at once and I am also using PNG atlases. I will change the format and also try the other approach to split it up into multiple scenes. ;)

EDIT: The solution with multiple scenes loaded additively over time worked as I wanted.