How to load map correctly using STI (Simple Tiled Implementation)
Posted: Thu Sep 01, 2022 8:00 pm
I've been trying to load my map using STI however when I run Map:draw() the map is missing 2 columns on the right and 1 row on the bottom (see image). How would I go around fixing this?
Info (If somehow its useful):
Tile Size: 64x64px
Width: 32 tiles
Height: 18 tiles
Code:
Edit: .love attatched just in case it somehow proves useful
Info (If somehow its useful):
Tile Size: 64x64px
Width: 32 tiles
Height: 18 tiles
Code:
Code: Select all
sti = require("libs.sti")
map = sti("assets/maps/dev.lua")
...
function love.draw()
map:draw()
end