CyberTower/scripts/tower_health_display.gd
2024-02-16 20:35:30 +08:00

8 lines
157 B
GDScript

extends Sprite2D
@export var regeneration_progress = 0.5
func _process(delta):
set_modulate(Color(1, 1, 1, regeneration_progress))
rotation_degrees += 1