levigilbert / godot-LDtk-import

Basic GDscript for importing LDtk files into the Godot game engine.
MIT License
130 stars 15 forks source link

Entity Import Discussion #18

Closed univeous closed 2 years ago

univeous commented 2 years ago

Currently, entities without the NodeType field will be skipped for import. I think this behavior needs some more discussion. I would prefer to import it as a Node2d node and import all fields as metadata to be used by post-processing scripts.

Also currently, only custom fields are imported. I think it might be useful to import the non-custom fields (__tags etc.) together.

I will open a proposed PR later.

levigilbert commented 2 years ago

Defaulting to entities imported as Node2D's makes sense and I agree that importing the other fields as metadata would be useful.

Thanks!