Hello Guest

Author Topic: create and load multiples atlases in one scene in a fast way  (Read 4011 times)

JCat

  • Newbie
  • *
  • Posts: 2
    • View Profile
create and load multiples atlases in one scene in a fast way
« 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

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: create and load multiples atlases in one scene in a fast way
« Reply #1 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.

JCat

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: create and load multiples atlases in one scene in a fast way
« Reply #2 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.
« Last Edit: April 16, 2014, 06:02:48 pm by JCat »