rudimentary randomisation for loadscreen tiles

This commit is contained in:
minjaesong
2023-10-31 00:51:56 +09:00
parent ef6aa842c8
commit 8d23714832

View File

@@ -42,7 +42,7 @@ open class FancyWorldReadLoadScreen(screenToBeLoaded: IngameInstance, private va
val previewWidth = tileSize * htilesCount - gapSize
val previewHeight = tileSize * vtilesCount
val xoff = 0//(Math.random() * (1024 - 764)).toInt()
val xoff = (Math.random() * (1024-764)/2).toInt()
val baseTileTex = arrayOf(
CommonResourcePool.getAsTexture("basegame-gui-loadscrlayer01"),