TileSheet.new: You can now specify the resolution of the tile that is on the canvas
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user