https://github.com/beansoft/kmpgameproject
2023 Kotlin Conference China Live Coding Demo
https://github.com/beansoft/kmpgameproject
Last synced: about 1 month ago
JSON representation
2023 Kotlin Conference China Live Coding Demo
- Host: GitHub
- URL: https://github.com/beansoft/kmpgameproject
- Owner: beansoft
- Created: 2023-12-17T03:31:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-18T14:10:39.000Z (over 2 years ago)
- Last Synced: 2025-11-20T02:17:03.242Z (8 months ago)
- Language: Kotlin
- Size: 966 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Live Coding:用 Compose Multiplatform 写出第一个小游戏
This is a Kotlin Multiplatform project targeting Desktop.
* `/composeApp` is for code that will be shared across your Compose Multiplatform applications.
It contains several subfolders:
- `commonMain` is for code that’s common for all targets.
- Other folders are for Kotlin code that will be compiled for only the platform indicated in the folder name.
For example, if you want to use Apple’s CoreCrypto for the iOS part of your Kotlin app,
`iosMain` would be the right folder for such calls.
Learn more about [Kotlin Multiplatform](https://www.jetbrains.com/help/kotlin-multiplatform-dev/get-started.html)…
修复初始化desktopRun找不到类的问题:
```gradle
desktopRun -DmainClass=MainKt
```
运行截图:

直播回放:https://mp.weixin.qq.com/s/YANZewiLqPKdZvAmwicTbw