Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Simple object type property library #367
I have a proposal for a library panel where we can manage object types.
The modification works with the current object types and the new panel allows us to manage the properties of each type.
The library value could/would be exported separately from the instances so we can look-up/ the values (maybe externalize file data etc). I don't think it should write the library values to each instance, that'll give ugly name collision issues.
As bonus: for tileobject library types we should edit the registration point of the graphic so we can make arrows etc.
I think this could be a relatively simple way for a library expansion: almost all the basic parts are there, we just need the panel and import/export.
There's no need to worry about pressing on my time. There's not much to press on, really. :/
Basically, even if this solution sounds simple, it involves new UI and data models and that's never a quick job. I think issue #365 has a good chance of going through since that solution requires no new UI to be written. It will at first just rely on an external XML file in which you define your object types and their properties. The other reason is that somebody actually seems to have time to work on it.
@Bartvds I will definitely have to implement this feature and then I can have a look at writing a good solution for the normal version of Tiled. Once I work through @bjorn 's code and get something up I could suggest a pull request. So far you can have a look at my own issue #365 and see what I did so far. Please just keep in mind that this is still experimental and both a bad style of writing code and not robust. Yet it is a beginning