You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, I may have a clue. :D
I'm using level files stored /outside/ of the project manifest.
As far as I see, this library expects to find all level data inside the project file.
"externalLevels": true,
quasilyte
added a commit
to quasilyte/ldtkgo
that referenced
this issue
Feb 10, 2024
This feature will only work with `Open()`, since that
function can easily figure out the file location
(it gets it as an argument).
I don't know how to make `Read()` work without there
breaking its API.
FixesSolarLune#8
I might be doing something wrong, but when I open a project, a level's layer list is empty.
I'm using LDtk version 1.5.3.
This is how I use ldtkgo:
I can confirm that Level fields like Identifier are loaded correctly.
The Level has layers:
I'm not sure why they're not unmarshalled into the
ldtkgo.Level.Layers
.Here is an LDtk project (it's just 1 level and a project file):
test.zip
The text was updated successfully, but these errors were encountered: