Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to patch LDTK project file #1106

Open
TLINDEN opened this issue May 8, 2024 · 0 comments
Open

Unable to patch LDTK project file #1106

TLINDEN opened this issue May 8, 2024 · 0 comments

Comments

@TLINDEN
Copy link

TLINDEN commented May 8, 2024

Hi,

I've got a somewhat unusual concern: I want to procedurally generate levels, but I want to use LDTK to create the input for the generator (example tileset etc) AND I want the generator to output an LDTK file, so that I can edit the generated levels to adjust some tiles here and there, place entities etc.

This is the file I created so far: https://gist.github.com/TLINDEN/141dbc60194a20e7ecf30626bdf27b9e

The problem is that LDTK doesn't load it, I get this error:

cannot read properties of null (reading 'externalLevels') (TypeError)

There's nothing wrong with externalLevels. It's just false both in the source LDTK file and the generated one.

Could you please tell me what might be wrong with the generated file?

Thanks in advance!
Tom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant