mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-25 21:03:15 -04:00
Non-continuous rendering isn't quite ready yet
This commit is contained in:
parent
3851440ede
commit
365dced442
@ -21,8 +21,8 @@ android {
|
||||
applicationId "com.unciv.app"
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 29
|
||||
versionCode 358
|
||||
versionName "3.4.8"
|
||||
versionCode 359
|
||||
versionName "3.4.8-patch1"
|
||||
|
||||
archivesBaseName = "Unciv"
|
||||
}
|
||||
|
@ -50,8 +50,6 @@ class UncivGame(
|
||||
val translations = Translations()
|
||||
|
||||
override fun create() {
|
||||
// This is for battery saving, we don't have any animation which means we don't need to update the screen every ms
|
||||
Gdx.graphics.setContinuousRendering(false)
|
||||
Gdx.input.setCatchKey(Input.Keys.BACK, true)
|
||||
if (Gdx.app.type != Application.ApplicationType.Desktop) {
|
||||
viewEntireMapForDebug = false
|
||||
|
@ -57,8 +57,8 @@ class UnitGroup(val unit: MapUnit, val size: Float): Group() {
|
||||
spinningCircle.center(this)
|
||||
spinningCircle.x += whiteHaloSize / 2 // to edge of white halo
|
||||
spinningCircle.setOrigin(spinningCircle.width / 2 - whiteHaloSize / 2, spinningCircle.height / 2)
|
||||
//addActor(spinningCircle)
|
||||
//spinningCircle.addAction(Actions.repeat(RepeatAction.FOREVER, Actions.rotateBy(90f, 1f)))
|
||||
addActor(spinningCircle)
|
||||
spinningCircle.addAction(Actions.repeat(RepeatAction.FOREVER, Actions.rotateBy(90f, 1f)))
|
||||
blackSpinningCircle = spinningCircle
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user