Demolish mode has no highlight #123

Open
opened 2026-09-22 20:53:41 +01:00 by liamjd · 1 comment
Owner

Demolish mode from #72 works, but there's no visual indicator that a building is about to be deleted.

We will likely want a different cursor in deletion mode, and also a confirmation dialogue box. But this scope of this ticket is just a visual indicator that the hovered building would be marked for demolition if clicked.

Options are 1) flash the building 2) outline the building in red or orange 3) just tint the building.

Demolish mode from #72 works, but there's no visual indicator that a building is about to be deleted. We will likely want a different cursor in deletion mode, and also a confirmation dialogue box. But this scope of this ticket is just a visual indicator that the hovered building would be marked for demolition if clicked. Options are 1) flash the building 2) outline the building in red or orange 3) just tint the building.
Author
Owner

Related to #78 (rewritten 2026-09-30), which adds a selection highlight for buildings and pawns in NONE mode.

The two highlights never appear together, because entering DEMOLISH clears the selection. They should still read as one visual language:

  • One mechanism. Whichever option is picked here (flash, outline or tint), #78's building highlight should use it too, so there is one highlight helper on the building view rather than two.
  • Different colours. Warm red or orange for "this will be demolished", which fits options 2 and 3 above. A neutral or cool colour for "selected".

Whichever of #78 and #123 is implemented second should reuse the first one's helper instead of adding a parallel one.

Related to #78 (rewritten 2026-09-30), which adds a selection highlight for buildings and pawns in NONE mode. The two highlights never appear together, because entering DEMOLISH clears the selection. They should still read as one visual language: - **One mechanism.** Whichever option is picked here (flash, outline or tint), #78's building highlight should use it too, so there is one highlight helper on the building view rather than two. - **Different colours.** Warm red or orange for "this will be demolished", which fits options 2 and 3 above. A neutral or cool colour for "selected". Whichever of #78 and #123 is implemented second should reuse the first one's helper instead of adding a parallel one.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
liamjd/UntitledColonyBuilder#123
No description provided.