tiled icon indicating copy to clipboard operation
tiled copied to clipboard

Set default for Drawing Order of Object Layers.

Open UliAbo opened this issue 2 years ago • 3 comments

AsIs When creating a new Object layer, the default value for Drawing Order is "Top Down".

Describe the solution you'd like For our game we only need "Manual". As Level Designers are often creating new Object layers, this gets overseen quite some times. It feels like a such basic decision for the project on how Object layers are treated, that I wish that this can be set one time and then is the default for all new Object layers created.

(Alternative) possible solutions I could think of:

  1. Make a new option in the preferences, like "Default Drawing Order for Object Layers".
  2. When creating a new Map, it would feel natural to decide there with Map Properties which default value should be offered when creating new Object layers: image
  3. Maybe some .ini setting I could take care of for my map or project? So it's chosen for all my Object Layers "Manual" by default?

Looking forward to your thoughts! :)

UliAbo avatar Aug 09 '22 14:08 UliAbo

This seems like it could work great in combination with #1410 - perhaps default properties could set built-in properties like object render order, in addition to the already planned defaults for custom properties.

eishiya avatar Aug 09 '22 14:08 eishiya

This seems like it could work great in combination with #1410 - perhaps default properties could set built-in properties like object alignment, in addition to the already planned defaults for custom properties.

Thanks! I was not aware. Totally makes sense, it would be wonderful to have it in.

UliAbo avatar Aug 09 '22 15:08 UliAbo

I should also mention: option 2 is a bad idea, since the New Map dialog determines properties on the Map. It would be silly to store a "default object render order' property on Maps, it really should be something stored in the editor, not the Map.

Hopefully the issue I mentioned will be a good fourth option though.

eishiya avatar Aug 09 '22 15:08 eishiya