fadein.gd 343 B

12345678910111213141516171819
  1. extends Node
  2. export(NodePath) var nodepath
  3. onready var node = get_node(nodepath)
  4. var buffer : float
  5. var buff = 0
  6. #
  7. #func _ready():
  8. # node.scale.x = 0
  9. # node.scale.y = 0
  10. # node.modulate.a = 0
  11. #
  12. #func _physics_process(delta):
  13. # node.scale.x += delta
  14. # node.scale.y += delta
  15. # node.modulate.a += delta
  16. # buff += 1
  17. # if buff == 60: queue_free()