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

Add default Tiled properties as metadata #24

Closed
trippyhat opened this issue Mar 29, 2017 · 1 comment
Closed

Add default Tiled properties as metadata #24

trippyhat opened this issue Mar 29, 2017 · 1 comment

Comments

@trippyhat
Copy link

Once I import a Tiled map, how do I access properties of a layer through the Godot script? ie, accessing the height/width?

@vnen
Copy link
Owner

vnen commented Mar 29, 2017

Each layer becomes a TileMap. I don't think you can get the dimensions of a TileMap in Godot stable. IIRC, only custom properties are imported as metadata, but that can be expanded.

@vnen vnen changed the title How do I access Tiled properties through Godot script? Add default Tiled properties as metadata Jul 13, 2017
@vnen vnen closed this as completed in 437ca63 Jan 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants