Shield wave

This commit is contained in:
R34nd0 2024-01-14 03:01:58 +05:00
commit 0eecd651e4
14 changed files with 341 additions and 13 deletions

View file

@ -7,5 +7,7 @@ func changeitemscolor():
var ship = get_tree().current_scene.ship
for item in items:
item.modulate = modulate
if item.material:
item.material.set_shader_parameter("color",modulate)
if faction:
ship.minimap.add_marker(item, "hostile")