TileSheet.new: You can now specify the resolution of the tile that is on the canvas

This commit is contained in:
Van
2025-10-20 18:18:26 +03:00
parent cf88ccf67f
commit 3b8aed464d
3 changed files with 71 additions and 13 deletions

View File

@@ -17,7 +17,7 @@ local defaultSoil = Core.Node.Class:getExtended(defaultSoilDef)
local soilFactory = defaultSoil:getFactory()
---@type TileSheet
local ts = Core.TileSheet:getModClassInstance("soils_sheet.png", 7, 1)
local ts = Core.TileSheet:getModClassInstance("soils_sheet.png", 16, 16)
local clayTiles = {
ts:t(0,0)