mirror of
https://github.com/littlektframework/littlekt-game-template.git
synced 2025-03-14 11:20:29 -06:00
update to LittleKt 0.4.0 and kotlin 1.7.20
This commit is contained in:
parent
1f0def0f1c
commit
d5b5887597
3 changed files with 5 additions and 5 deletions
|
@ -31,7 +31,7 @@ class Game(context: Context) : ContextListener(context) {
|
|||
|
||||
batch.use(camera.viewProjection) {
|
||||
Fonts.default.draw(it, "Hello LittleKt!", 0f, 0f)
|
||||
shapeRenderer.filledRectangle(-50f, 50f, 100f, 50f, rotation, color = Color.RED.toFloatBits())
|
||||
shapeRenderer.filledRectangle(-25f, 50f, 100f, 50f, rotation, color = Color.RED.toFloatBits())
|
||||
}
|
||||
rotationTimer += dt
|
||||
if (rotationTimer > 10.milliseconds) {
|
||||
|
|
|
@ -12,8 +12,8 @@ kotlin.native.enableDependencyPropagation=false
|
|||
kotlin.js.generate.executable.default=false
|
||||
|
||||
#Android
|
||||
android.compileSdk=31
|
||||
android.targetSdk=31
|
||||
android.compileSdk=33
|
||||
android.targetSdk=33
|
||||
android.minSdk=21
|
||||
android.disableAutomaticComponentCreation=true
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
[versions]
|
||||
plugin-android = "7.0.4"
|
||||
plugin-kotlin = "1.7.0"
|
||||
plugin-kotlin = "1.7.20"
|
||||
|
||||
kotlinx-html = "0.7.2"
|
||||
kotlinx-coroutines = "1.6.4"
|
||||
|
||||
littlekt = "0.3.0"
|
||||
littlekt = "0.4.0"
|
||||
|
||||
[libraries]
|
||||
plugin-android = { module = "com.android.tools.build:gradle", version.ref = "plugin-android" }
|
||||
|
|
Loading…
Add table
Reference in a new issue