ImagePacker

internal object ImagePacker

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
private data class ImageFolderResult(folder: String, atlasName: String)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getDefaultSettings
Link copied to clipboard
private fun getDefaultSettings(): TexturePacker.Settings
hashCode
Link copied to clipboard
open fun hashCode(): Int
imageFolders
Link copied to clipboard
private fun imageFolders(path: String): Sequence<ImagePacker.ImageFolderResult>
packImages
Link copied to clipboard
fun packImages()
packImagesIfOutdated
Link copied to clipboard
private fun packImagesIfOutdated(defaultSettings: TexturePacker.Settings, input: String, output: String, packFileName: String)
packImagesPerMod
Link copied to clipboard
private fun packImagesPerMod(input: String, output: String, defaultSettings: TexturePacker.Settings)
toString
Link copied to clipboard
open fun toString(): String

Sources

jvm source
Link copied to clipboard