Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Property Type: "List" #3360

Closed
TheMaverickProgrammer opened this issue May 18, 2022 · 4 comments
Closed

Property Type: "List" #3360

TheMaverickProgrammer opened this issue May 18, 2022 · 4 comments
Labels
feature It's a feature, not a bug.

Comments

@TheMaverickProgrammer
Copy link

Is your feature request related to a problem? Please describe.
We used Tiled for our game and we need to supply a list of values. Usually it's a list of strings for things like conversations but with the addition of Custom Types in Tiled 1.8, we were hoping to supply a list of custom property values to describe our shop keep's inventory. We are surprised there is no way to define a list what-so-ever.

Describe the solution you'd like
A list is just a container of elements of any type. The xml should be simple in that regard.
We should be able to do something like:
Create Property -> Click List -> List Of? -> Click Strings -> Click + new element -> type string "example" -> save file

Describe alternatives you've considered
There's no way to do this at all.

@TheMaverickProgrammer TheMaverickProgrammer added the feature It's a feature, not a bug. label May 18, 2022
@EJlol
Copy link

EJlol commented May 18, 2022

This is a duplicate of #1493.

@TheMaverickProgrammer
Copy link
Author

2017

oof. not looking good there champ

@bjorn
Copy link
Member

bjorn commented May 18, 2022

oof. not looking good there champ

Fortunately the age of a request does not necessarily have anything to do with time until it might get done. For Tiled 1.8 I've done a lot of work on the custom property system, adding support for custom classes and enums. Adding support for arrays would be one of the next things to do. My focus for Tiled 1.9 is on the AutoMapping feature, though.

Please feel free to add your thoughts to #1493 in the meantime. Even better if you can help realize this feature. :-)

@bjorn bjorn closed this as completed May 18, 2022
@TheMaverickProgrammer
Copy link
Author

Even better if you can help realize this feature. :-)

ok I can take payments in crypto

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature It's a feature, not a bug.
Projects
None yet
Development

No branches or pull requests

3 participants