Star.gd 240 B

1234567891011121314
  1. extends PathFollow2D
  2. # a moving music player
  3. const SPEED = 200
  4. const RAYON = 20
  5. const MAIN_COLOR = Color8(252, 0, 20)
  6. func _physics_process(delta):
  7. progress += SPEED * delta
  8. func _draw():
  9. draw_circle(Vector2.ZERO, RAYON, MAIN_COLOR)