Add transparent enemy unit art

This commit is contained in:
2026-06-18 18:49:29 +09:00
parent 4bd18a3f53
commit e748db1598
13 changed files with 70 additions and 10 deletions

View File

@@ -1436,6 +1436,8 @@ func _fit_texture_rect(texture: Texture2D, target: Rect2) -> Rect2:
func _unit_sprite_modulate(unit: Dictionary, acted: bool) -> Color:
if acted:
return Color(0.60, 0.62, 0.66, 0.82)
if bool(unit.get("uses_enemy_sprite", false)):
return Color(1.0, 1.0, 1.0, 0.98)
if _is_generic_enemy_unit(unit):
return Color(1.0, 0.82, 0.74, 0.94)
return Color.WHITE