CyberTower/scripts/tower_health_display.gd

8 lines
159 B
GDScript3
Raw Normal View History

2024-02-16 12:35:30 +00:00
extends Sprite2D
@export var regeneration_progress = 0.5
2024-02-16 15:35:39 +00:00
func _process(_wdelta):
2024-02-16 12:35:30 +00:00
set_modulate(Color(1, 1, 1, regeneration_progress))
rotation_degrees += 1