mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 19:44:05 +09:00
loadscr texture stylised
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -35,7 +35,7 @@ open class FancyWorldReadLoadScreen(screenToBeLoaded: IngameInstance, private va
|
|||||||
val vtilesCount = worldheight / CHUNK_W
|
val vtilesCount = worldheight / CHUNK_W
|
||||||
|
|
||||||
val tileSize = ((540 * ratio) / htilesCount).roundToInt() // (visible tilesize + gapSize)
|
val tileSize = ((540 * ratio) / htilesCount).roundToInt() // (visible tilesize + gapSize)
|
||||||
val gapSize = if (tileSize >= 10) 2 else 1
|
val gapSize = 0//if (tileSize >= 10) 2 else 1
|
||||||
val visibleTileSize = tileSize - gapSize
|
val visibleTileSize = tileSize - gapSize
|
||||||
val previewWidth = tileSize * htilesCount - gapSize
|
val previewWidth = tileSize * htilesCount - gapSize
|
||||||
val previewHeight = tileSize * vtilesCount
|
val previewHeight = tileSize * vtilesCount
|
||||||
|
|||||||
Reference in New Issue
Block a user