mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-09 01:54:04 +09:00
rudimentary randomisation for loadscreen tiles
This commit is contained in:
@@ -42,7 +42,7 @@ open class FancyWorldReadLoadScreen(screenToBeLoaded: IngameInstance, private va
|
|||||||
val previewWidth = tileSize * htilesCount - gapSize
|
val previewWidth = tileSize * htilesCount - gapSize
|
||||||
val previewHeight = tileSize * vtilesCount
|
val previewHeight = tileSize * vtilesCount
|
||||||
|
|
||||||
val xoff = 0//(Math.random() * (1024 - 764)).toInt()
|
val xoff = (Math.random() * (1024-764)/2).toInt()
|
||||||
|
|
||||||
val baseTileTex = arrayOf(
|
val baseTileTex = arrayOf(
|
||||||
CommonResourcePool.getAsTexture("basegame-gui-loadscrlayer01"),
|
CommonResourcePool.getAsTexture("basegame-gui-loadscrlayer01"),
|
||||||
|
|||||||
Reference in New Issue
Block a user