[gd_scene load_steps=5 format=3 uid="uid://bs4hylgxwbr8y"] [ext_resource type="Script" path="res://component/entity/star/Star.gd" id="1_bl1jp"] [ext_resource type="AudioStream" uid="uid://j4mgj1tvivki" path="res://component/entity/star/hjm-tesla_sound_shot.wav" id="2_io5nk"] [ext_resource type="Script" path="res://component/entity/star/Sound.gd" id="3_dccmh"] [sub_resource type="CircleShape2D" id="CircleShape2D_6ypex"] [node name="Star" type="PathFollow2D"] rotates = false lookahead = 1.0 script = ExtResource("1_bl1jp") [node name="Sound" type="AudioStreamPlayer2D" parent="."] stream = ExtResource("2_io5nk") script = ExtResource("3_dccmh") [node name="Trigger" type="Area2D" parent="."] [node name="Circle" type="CollisionShape2D" parent="Trigger"] shape = SubResource("CircleShape2D_6ypex") [connection signal="note_changed" from="." to="Sound" method="_on_star_note_changed"] [connection signal="area_entered" from="Trigger" to="Sound" method="_on_trigger_area_entered"]