[gd_scene load_steps=5 format=2] [ext_resource path="res://sprites/fairyshot.png" type="Texture" id=1] [ext_resource path="res://FairyShot.gd" type="Script" id=2] [ext_resource path="res://sfx/fairyshot.wav" type="AudioStream" id=3] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 3, 2 ) [node name="FairyShot" type="Area2D"] script = ExtResource( 2 ) [node name="Sprite" type="Sprite" parent="."] texture = ExtResource( 1 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource( 1 ) [node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."] scale = Vector2( 0.4, 0.3 ) [node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."] stream = ExtResource( 3 ) volume_db = 1.564 max_distance = 700.0 attenuation = 4.14106 [connection signal="body_entered" from="." to="." method="_on_FairyShot_body_entered"] [connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"]