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

Reference objects as NodePath rather than Tiled id #159

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bitbrain
Copy link

Compatible with Tiled Version: 1.9.0

Description

Within Tiled, objects can be referenced like so:

tiled

However, within Godot the meta field shows up as Tiled integer id. This pull request changes this behaviour to instead populate the node path of the referenced object for easier lookup.

@bitbrain
Copy link
Author

One thing I noticed with this is that it is not recursive - when referencing paths on custom attributes through custom classes, e.g.:
Capture

However, I cannot implement that before #158 is ready, as currently reading these attributes is impossible.

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

Successfully merging this pull request may close these issues.

1 participant