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

Support predefined properties for all data types #1410

Open
bjorn opened this issue Dec 10, 2016 · 8 comments
Open

Support predefined properties for all data types #1410

bjorn opened this issue Dec 10, 2016 · 8 comments
Labels
feature It's a feature, not a bug.

Comments

@bjorn
Copy link
Member

bjorn commented Dec 10, 2016

Apart from pre-defining properties based on object type, it would be nice to support pre-defining the properties for each data type. So defining which custom properties are valid for maps, tilesets, layers, etc.

Also requested on the forum.

@bjorn bjorn added the feature It's a feature, not a bug. label Dec 10, 2016
@Yanrishatum
Copy link

Adding default properties to objects based on their tile from tileset would be really great. Our team don't use object types extensively, instad we use tile objects, and either assigning a type to them or remembering which properties they should have is not the best. :) It's way easier to just have default property list on object based on it's tile.

@bjorn
Copy link
Member Author

bjorn commented Dec 22, 2016

@Yanrishatum I totally agree, but that's different from the functionality in this issue. It is covered by issues #1248 and #436.

@bjorn
Copy link
Member Author

bjorn commented Jan 9, 2017

Requested on the forum another time. In addition, there's the suggestion to add a tabular view where these predefined properties are editable in columns.

@bjorn
Copy link
Member Author

bjorn commented Mar 9, 2017

Another forum post about a use-case that should be covered by this feature.

@bjorn
Copy link
Member Author

bjorn commented Jun 15, 2022

This is now (in upcoming Tiled 1.9) partly possible by specifying the Class of the data type. The remaining task might be to add the ability to assign a default class to each data type on the project level.

@UliAbo
Copy link

UliAbo commented Aug 9, 2022

This is now (in upcoming Tiled 1.9) partly possible by specifying the Class of the data type. The remaining task might be to add the ability to assign a default class to each data type on the project level.

Definitely this would improve the experience for our level designers a lot! Then we have less trouble with default values.

@eishiya
Copy link
Contributor

eishiya commented Aug 9, 2022

The remaining task might be to add the ability to assign a default class to each data type on the project level.

It would be very handy if this extended to more than just automatically assigned classes, but allowed custom defaults for built-in properties too, such as Object Render Order on Object Layers, Opacity and Tint Color on Layers (by layer type!), Image on Image Layers, that sort of thing.

Things like Map orientation and tile size and Tileset tile size could also be predefined that way, and if set, automatically filled in in the New Map/Tileset dialogs instead of using the previously used values.

@UliAbo
Copy link

UliAbo commented Aug 9, 2022

I guess also this task would be a nice addon, so it would all make sense together to have also "comments" for the properties?
#2133

# 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

4 participants