A game created for the Godot Wild Jam #21
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
407B

  1. tool
  2. extends Node2D
  3. export var pulse_color:Color = Color(1.0, 0.8, 0.0, 1.0) setget _set_color
  4. func _set_color(c):
  5. pulse_color = c
  6. $Dot.pulse_color = c
  7. $Dot21.pulse_color = c
  8. $Dot22.pulse_color = c
  9. $Dot31.pulse_color = c
  10. $Dot32.pulse_color = c
  11. func _ready():
  12. set_color(pulse_color)
  13. $Dot.start()
  14. $Dot21.start()
  15. $Dot22.start()
  16. $Dot31.start()
  17. $Dot32.start()
  18. func set_color(c):
  19. _set_color(c)