challacade / legend-of-lua

MIT License
351 stars 43 forks source link

Loading map error #8

Closed Harrinarayan closed 2 years ago

Harrinarayan commented 2 years ago

I am getting this error when i try to create and load a new map with tiled

Error

libraries/sti/init.lua:99: STI does not support Tile Collections. You need to create a Texture Atlas.

Traceback

[love "callbacks.lua"]:228: in function 'handler' [C]: in function 'assert' libraries/sti/init.lua:99: in function 'init' libraries/sti/init.lua:48: in function 'sti' main.lua:5: in function 'load'

[C]: in function 'xpcall' [C]: in function 'xpcall'

Harrinarayan commented 2 years ago

I got through, the issue was the tileset. I needed to load a tileset from a pack. I was using a normal PNG image but that didn't work.