8 lines
159 B
GDScript
8 lines
159 B
GDScript
extends Sprite2D
|
|
|
|
@export var regeneration_progress = 0.5
|
|
|
|
func _process(_wdelta):
|
|
set_modulate(Color(1, 1, 1, regeneration_progress))
|
|
rotation_degrees += 1
|