extends Node2D export var value = 1 func _ready(): $AnimationPlayer.play("glow") func _on_Area2D_area_entered(area): #Collect if area.is_in_group("player"): Game.play_sound(Game.a_shard,Game.ac_collectible) Game.score += 500 Game.shards += value queue_free()