-
Hi, I have ktx skin builder based on default P.S. I don't want to put ui and gameplay textures into 1 atlas because I plan to separate its loading process in time to speed up main menu loading on game startup. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Basically, after your UI val skin: Skin = TODO()
val atlas: TextureAtlas = TODO()
skin.addRegions(atlas) |
Beta Was this translation helpful? Give feedback.
Skin
has anaddRegions
method that allows you to add regions from anotherTextureAtlas
. You have to be careful to avoid name clashes in the texture region file names, as this might override existing resources.Basically, after your UI
Skin
is constructed, you can load your atlas and do this: