pegchamp/Bucket/Confetti.gd

19 lines
322 B
GDScript3
Raw Normal View History

2021-09-08 08:27:14 +00:00
extends Node2D
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
$Green.emitting = true
$Yellow.emitting = true
$Pink.emitting = true
$AnimationPlayer.play("+1Ball")
func _on_KillTimer_timeout():
queue_free()