korge

korlibs活跃维护

用 Kotlin 编写的跨平台游戏引擎,一套代码可发布到 JVM、Web、Android 和 iOS,省去为各平台重写游戏的麻烦。

Korge is a Multiplatform Game Engine written in Kotlin for JVM, Web, Android and iOS.

v6.0.0发布于 2025-05-16 09:30 UTC3,065star148fork同步于 2026-11-10 11:42 UTC

怎么上手

由 README 提炼,执行前请确认
在 gradle/libs.versions.toml 中配置插件:korge = { id = "org.korge.engine", version = "7.0.0-SNAPSHOT" };本地验证可运行 ./gradlew :korge-sandbox:runJvm
硬件要求按 README 说明

README 未说明

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

用 Kotlin 编写的多平台游戏引擎,一套代码可发布到 JVM、Web、Android 和 iOS

用 Kotlin 编写的跨平台游戏引擎,一套代码可发布到 JVM、Web、Android 和 iOS,省去为各平台重写游戏的麻烦。

核心能力

  • 支持热重载,改完代码无需重启即可看到效果
  • Gradle 插件可构建 Android、Web、iOS 和桌面目标
  • 用 KProject 通过 GitHub 共享和复用代码与资源
  • 完全用 Kotlin 编写,可在 IntelliJ IDEA 中开发调试
  • 无外部依赖,仅使用各平台自带库,体积小

容易踩的坑

Maven 命名空间已从 com.soywiz.korge 迁移到 org.korge,属于破坏性变更,旧依赖配置需修改;7.x 版本需配合 Gradle 9 和 Android Gradle Plugin 9,应用配置方式有变化;KorGE Store 已废弃,扩展改为以 Gradle 子模块形式引入

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v6.0.0
  1. v6.0.0最新正式版2025-05-16 · 2025-05-16 09:30 UTC

    What's Changed

  2. v6.0.0-beta42024-09-15 · 2024-09-15 05:46 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/korlibs/korge/compare/v6.0.0-beta3...v6.0.0-beta4

  3. v6.0.0-beta32024-08-27 · 2024-08-27 14:20 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/korlibs/korge/compare/v6.0.0-beta2...v6.0.0-beta3

  4. v6.0.0-beta22024-07-31 · 2024-07-31 11:47 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/korlibs/korge/compare/v6.0.0-beta1...v6.0.0-beta2

  5. v6.0.0-beta12024-07-22 · 2024-07-22 23:19 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/korlibs/korge/compare/v6.0.0-alpha9...v6.0.0-beta1

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Info about the project:

    KorGE is a modern multiplatform game engine for Kotlin. Features include:

    • Hot Reloading
      • KorGE supports HotReloading to see changes immediately without having to restart the application
    • KProject support
      • Share & re-use source code and resources via GitHub
    • Debugger
      • Live-debug your games
    • 100% Kotlin
      • KorGE is fully written in Kotlin and designed from the ground up to embrace modern and easy coding styles
    • Multiplatform
      • KorGE gradle plugin allows to target the following platforms: JVM for Android, JS & WASM for the Web, native code for iOS, and JVM/JS for Desktop
    • Quick installation
      • Install KorGE Forge or clone the “Hello World!” project and start making your own game in less than a minute
    • Fully productive
      • Since KorGE targets the JVM, you can develop your game, try it, debug it and test it using IntelliJ IDEA
    • Tons of features
      • KorGE is just the last layer of a larger stack (Korlibs) for multimedia development
    • Small footprint
      • KorGE has a very small footprint. It has no external dependencies and only uses the libraries available on each platform

    For more information, visit:

    News:

    08-Sep-2026:

    Korge was updated to Gradle 9 and Android Gradle Plugin 9. This brings changes in the application setup. For a starting point take a look at the korge-sandbox module in this repo or check the korlibs/korge-hello-world repo on GitHub.

    02-May-2026:

    We are moving Korge to a new namespace on maven central, from com.soywiz.korge to org.korge. This a breaking change. You will need to change your dependencies to use the new namespace in the configuration of your project. Change your gradle/libs.versions.toml to:

    [plugins]
    #korge = { id = "com.soywiz.korge", version = "6.0.0" }   <-- Old namespace, latest official version
    korge = { id = "org.korge.engine", version = "7.0.0-SNAPSHOT" }   # <-- New namespace, use latest snapshot version
    

    Usage:

    • The latest official release on Maven Central is 6.0.0
    • The current snapshot release on Maven Central is 7.0.0-SNAPSHOT

    Publish to Maven Local

    For checking out local changes in Korge and test them in your own applications you can publish Korge to maven local:

    ./gradlew publishToMavenLocal
    

    If you want to make changes and easily try things out without releasing locally, you can check the korge-sandbox module that runs shared/src/commonMain/kotlin/org/korge/application/Main.kt file. Make your experiments there:

    ./gradlew :korge-sandbox:runJvm
    ./gradlew :korge-sandbox:runJs
    ./gradlew :korge-sandbox:runAndroidRelease
    ./gradlew :korge-sandbox:runIosDeviceRelease
    

    KorGE Store

    [Deprecated] Korge Store will be discontinued in Korge release 7. Source code additions to Korge can be added as Gradle submodule in the context of Kotlin Multiplatform.

    Traditionally all the KorGE modules were published to central and their source code was available here, now they are available via kproject in separate repositories. You can find a catalog of all the published extensions here:

    https://store.korge.org/