ImagePacker
internal object ImagePacker
Content copied to clipboard
Entry point: ImagePacker.packImages ()
Re-packs our texture assets into atlas + png File pairs, which will be loaded by the game. With the exception of the ExtraImages folder and the Font system these are the only graphics used (The source Image folders are unused at run time except here).
TexturePacker documentation is here
Types
ImageFolderResult
Link copied to clipboard
Functions
getDefaultSettings
Link copied to clipboard
imageFolders
Link copied to clipboard
private fun imageFolders(path: String): Sequence<ImagePacker.ImageFolderResult>
Content copied to clipboard
packImages
Link copied to clipboard
fun packImages()
Content copied to clipboard
packImagesIfOutdated
Link copied to clipboard
private fun packImagesIfOutdated(defaultSettings: TexturePacker.Settings, input: String, output: String, packFileName: String)
Content copied to clipboard
packImagesPerMod
Link copied to clipboard
private fun packImagesPerMod(input: String, output: String, defaultSettings: TexturePacker.Settings)
Content copied to clipboard
Sources
jvm source
Link copied to clipboard