|
@@ -3,9 +3,9 @@ extends PathFollow2D
|
|
|
|
|
|
signal note_changed(new_note: Music.Note)
|
|
|
|
|
|
-const SPEED = 200
|
|
|
const RAYON = 20
|
|
|
|
|
|
+@export var speed: float = 200.0
|
|
|
@export var note: Music.Note = Music.Note.A
|
|
|
|
|
|
|
|
@@ -14,7 +14,7 @@ func _ready():
|
|
|
|
|
|
|
|
|
func _physics_process(delta):
|
|
|
- progress += SPEED * delta
|
|
|
+ progress += speed * delta
|
|
|
|
|
|
func _draw():
|
|
|
draw_circle(Vector2.ZERO, RAYON, Color.WHITE)
|