Ticket #44894

Negative unit_upkeep_offset_y

Open Date: 2022-06-21 19:40 Last Update: 2022-06-21 19:40

Reporter:
Owner:
(None)
Type:
Status:
Open
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

We could let tileset author to define the upkeep icon placement with an alternative way, telling how much they are to overlap with the unit icon. Currently unit_upkeep_offset_y is applied from the top of the unit, so some calculation is needed to figure out how tall the unit is, and then to subtract wanted amount from unit_upkeep_offset_y. This alternative syntax would be indicated by a negative value (as it tells how much to subtract relative to unit bottom).

Ticket History (1/1 Histories)

2022-06-21 19:40 Updated by: cazfi
  • New Ticket "Negative unit_upkeep_offset_y" created

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login