Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
create and load multiples atlases in one scene in a fast way
« previous
next »
Print
Pages: [
1
]
Author
Topic: create and load multiples atlases in one scene in a fast way (Read 4009 times)
JCat
Newbie
Posts: 2
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
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
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.
Logged
JCat
Newbie
Posts: 2
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
»
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
create and load multiples atlases in one scene in a fast way