Munchkin Cats
中文文档
Component integration guide for the Munchkin Compose Multiplatform libraries.
Modules
- Resource
Generate typed
Res.* accessors from Android-style resources and read them on Android/iOS.
Guide: docs/README_RESOURCE.md
- Image
Shared async image API with Coil and Glide engines.
Guide: docs/README_IMAGE.md
- Graph
NinePatch, Lottie painter, blur helpers, and shadow rendering.
Guide: docs/README_GRAPH.md
- SVGA
Cross-platform SVGA playback with self-hosted decode, dynamic text/image replacement, audio, and click areas.
Guide: docs/README_SVGA.md
Quick Setup
kotlin {
sourceSets {
commonMain.dependencies {
implementation("cn.szkug.munchkin:runtime:<version>")
implementation("cn.szkug.munchkin:image:<version>")
implementation("cn.szkug.munchkin:graph:<version>")
implementation("cn.szkug.munchkin:svga:<version>")
}
androidMain.dependencies {
implementation("cn.szkug.munchkin:engine-coil:<version>")
}
iosMain.dependencies {
implementation("cn.szkug.munchkin:engine-coil:<version>")
}
}
}
plugins {
id("cn.szkug.munchkin.resources") version "<version>"
}
Which Guide Should You Read?