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.

22 lines
348B

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