Color rework

This commit is contained in:
R34nd0 2024-01-14 14:42:23 +05:00
commit 2b527c9b2e
15 changed files with 73 additions and 16 deletions

View file

@ -92,7 +92,7 @@ func recolor():
color_base = Color.from_hsv(randf(), randf_range(0.8, 1), randf_range(0.8, 1))
color_enemy = Color.from_hsv(randf(), randf_range(0.8, 1), randf_range(0.8, 1))
color_background = Color.from_hsv(randf(), randf_range(0.1765, 1), randf_range(0.06, 0.08))
ship.modulate = color_player
ship.material.set_shader_parameter('color',color_player)
bases.modulate = color_base
enemy_faction.modulate = color_enemy
enemy_faction.changeitemscolor()