I'm willing to fully exploit the AssetManager from Libgdx and all its Loaders. But i have problem understanding this so special link between Skin and TextureAtlas.
I want to use the JSON way of creating skins as much as possible.
In the wiki i can read this :
Note the JSON does not describe texture regions, ninepatche splits, or other information which comes from the texture atlas
In the SkinLoader page i read this :
AssetLoader for Skin instances. (1)All Texture and BitmapFont instances will be loaded as dependencies. Passing a SkinLoader.SkinParameter allows the (2)exact name of the texture associated with the skin to be specified. Otherwise the skin texture is looked up just as with a call to (3)Skin.Skin(com.badlogic.gdx.files.FileHandle). A SkinLoader.SkinParameter also allows named resources to be set that will be added to the skin before loading the json file, meaning that they can be referenced from inside the json file itself. This is useful for dynamic resources such as a BitmapFont generated through FreeTypeFontGenerator.
So here is what where my thoughts when i read this.
(1) All texture. They use the plural so i guess they're mentioning the texture (as a drawable) that i may need for a button, for example.
(2) The exact name of THE texture. So now, maybe they're talking about the TextureAtlas, because SkinParameter as only two fields resources and textureAtlasPath.
(3) This seems to confirm the (2)
So if i understand, if i want to use this method to load my Skin i MUST use the TexturePacker and the TextureAtlas.
Can you confirm me that i understood that correctly and that there are NO WAY of initializing the texture which will be used in my skin without a TextureAtlas but with simple png files ?
And if use the TexturePacker to create my pack file, obviously i will have to repack everything when i make a modification on one of my texture, right ?