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
Custom Properties #12
Comments
That plugin seems to create a script with the properties as exported variables. I don't like this idea because you may want to add a proper script the instanced scene. I've been thinking in adding the properties as metadata to the scene and layers. Godot will eventually support viewing them within the editor so it'll be a cleaner approach IMO. |
Sounds good to me. I didn't post the above link to say to do like that, rather that they just have support for the custom properties. I actually didn't really look into the details regarding it. So, when will "custom properties" be supported in this plugin do you think? |
I'll try to work on it sometime this week. |
Ok, great. |
Cool! Thanks! |
So, I tried this, where do they show up in Godot? Maybe not seen in the Inspector? |
@Chillance I just sent an update to the AssetLib, it should be approved sometime tomorrow. You'll have to update manually though, since there's no auto-update. |
Yes, I got your updated code running, but I'm not sure where I would see the custom properties show up in Godot. I didn't see the one I had added in Tiled. |
Ah, sorry I misunderstood the question. There's no feature yet to show in editor GUI, but you can get through code using |
Hey!
Great plugin! I looked quickly through the code and found no "properties", so it seems to me that there is no "custom properties" support here yet. I saw that this one had it: https://github.com/Geequlim/godot-code/tree/master/addons/tiled_importer but that plugin didn't work for me for some reason. So, could you add support to also include the "custom properties" one can specify in Tiled?
Thanks!
The text was updated successfully, but these errors were encountered: