mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-19 06:54:05 +09:00
sprite shift re-fixed with a correct method
This commit is contained in:
@@ -459,7 +459,7 @@ object BlocksDrawer {
|
||||
val for_y_start = WorldCamera.y / TILE_SIZE
|
||||
val for_y_end = for_y_start + tilesBuffer.height - 1//clampHTile(for_y_start + (WorldCamera.height / TILE_SIZE) + 2)
|
||||
|
||||
val for_x_start = WorldCamera.x / TILE_SIZE - 1
|
||||
val for_x_start = WorldCamera.x / TILE_SIZE
|
||||
val for_x_end = for_x_start + tilesBuffer.width - 1//for_x_start + (WorldCamera.width / TILE_SIZE) + 3
|
||||
|
||||
// loop
|
||||
|
||||
Reference in New Issue
Block a user