[gd_scene format=3 uid="uid://b8m08wroe1qu2"] [ext_resource type="Texture2D" uid="uid://k2htcxstdj5v" path="res://Assets/Spritesheets/Outdoor Objects/Arrow Target-Sheet.png" id="1_b0s8y"] [ext_resource type="Script" uid="uid://6jls1eokv2to" path="res://Entities/Map Objects/Mechanisms/Scripts/arrow_target.gd" id="1_uhut5"] [sub_resource type="CircleShape2D" id="CircleShape2D_uhut5"] radius = 8.0 [sub_resource type="AtlasTexture" id="AtlasTexture_b0s8y"] atlas = ExtResource("1_b0s8y") region = Rect2(16, 0, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_uhut5"] atlas = ExtResource("1_b0s8y") region = Rect2(0, 0, 16, 16) [sub_resource type="SpriteFrames" id="SpriteFrames_bfwsr"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_b0s8y") }], "loop": true, "name": &"hit", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_uhut5") }], "loop": true, "name": &"unhit", "speed": 5.0 }] [node name="ArrowTarget" type="Area2D" unique_id=1856751990] y_sort_enabled = true collision_layer = 4 collision_mask = 4 script = ExtResource("1_uhut5") [node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=522196069] shape = SubResource("CircleShape2D_uhut5") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1145493202] y_sort_enabled = true position = Vector2(0, 8) sprite_frames = SubResource("SpriteFrames_bfwsr") animation = &"unhit" autoplay = "unhit" offset = Vector2(0, -8) [connection signal="body_entered" from="." to="." method="_on_body_entered"]