Replies: 2 comments
-
This should be covered by defining custom enums, a feature added in Tiled 1.8. You'd then select your enum type when adding the custom property, and with the "Save as" option set to "String" there should be no changes necessary for your map loader. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you.
…________________________________
From: Thorbjørn Lindeijer ***@***.***>
Sent: Thursday, August 4, 2022 3:44:57 AM
To: mapeditor/tiled ***@***.***>
Cc: jcbk101 ***@***.***>; Author ***@***.***>
Subject: Re: [mapeditor/tiled] Custom properties List box (Discussion #3394)
This should be covered by defining custom enums<https://doc.mapeditor.org/en/stable/manual/custom-properties/#custom-types>, a feature added in Tiled 1.9. You'd then select your enum type when adding the custom property, and with the "Save as" option set to "String" there should be no changes necessary for your map loader.
—
Reply to this email directly, view it on GitHub<#3394 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AR5J7HMQUQSXKQQ6J6JXBBTVXNYHTANCNFSM5Z4W4IVA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, all. I am not sure this is supported, but I figured it might be an ok add.
Is there a way to add support for a drop-down list of strings for custom string properties?
I want to make designing this game as efficient as possible and having to type / paste what I want
in the entry box gets tedious for many objects + maps. For ref, see attached photos.
Example: Object->Type has a drop-down list that the app retrieves data for. This data is from data enter in the 'Data Types Editor' and saved to the project.
Having a similar ability for string types in the 'Custom properties' section would allow for quicker flow and data entry.
Beta Was this translation helpful? Give feedback.
All reactions