[gd_scene format=3 uid="uid://dkik6vdjvfl3h"]

[ext_resource type="Script" uid="uid://cemrdyqfubw7h" path="res://scripts/mask_projectile.gd" id="1_mcqwg"]
[ext_resource type="AudioStream" uid="uid://dbmjok4h3yqgc" path="res://assets/sfx/star.wav" id="2_ef0hr"]
[ext_resource type="Texture2D" uid="uid://dsak25b3jrn2r" path="res://assets/masks/star.png" id="2_j6vao"]
[ext_resource type="Script" uid="uid://ejd25ul4j5pp" path="res://scripts/hitbox.gd" id="4_8d8bx"]
[ext_resource type="Script" uid="uid://bxqbkdomwqbtc" path="res://scripts/trail.gd" id="5_8lrp4"]

[sub_resource type="Curve" id="Curve_sxbdi"]
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
point_count = 2

[sub_resource type="CircleShape2D" id="CircleShape2D_8lrp4"]
radius = 7.0

[node name="Star" type="Node2D" unique_id=1800196398]
script = ExtResource("1_mcqwg")
spawn_sfx = ExtResource("2_ef0hr")

[node name="Sprite2D" type="Sprite2D" parent="." unique_id=257593575]
texture = ExtResource("2_j6vao")

[node name="Trail" type="Line2D" parent="Sprite2D" unique_id=1712481129]
points = PackedVector2Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
width = 2.5
width_curve = SubResource("Curve_sxbdi")
script = ExtResource("5_8lrp4")
metadata/_custom_type_script = "uid://bxqbkdomwqbtc"

[node name="Hitbox" type="Area2D" parent="." unique_id=1381928788]
script = ExtResource("4_8d8bx")
metadata/_custom_type_script = "uid://ejd25ul4j5pp"

[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox" unique_id=263019627]
shape = SubResource("CircleShape2D_8lrp4")

[connection signal="hit_entity" from="Hitbox" to="." method="_on_hitbox_hit_entity"]
[connection signal="hit_obstacle" from="Hitbox" to="." method="_on_hitbox_hit_obstacle"]
