[gd_scene load_steps=6 format=3 uid="uid://b3tyux5hmqjdv"] [ext_resource type="Texture2D" uid="uid://1j0mcugpmtip" path="res://Assets/Enemies/Projectile_01.png" id="1_1awp7"] [ext_resource type="Script" path="res://Scenes/Entities/Enemies/Projectile.gd" id="1_e3x2k"] [ext_resource type="Texture2D" uid="uid://dlopu0vp85dv0" path="res://Assets/Enemies/Projectile_02.png" id="2_qk14s"] [sub_resource type="SpriteFrames" id="SpriteFrames_xmf75"] animations = [{ "frames": [{ "duration": 1.0, "texture": ExtResource("1_1awp7") }, { "duration": 1.0, "texture": ExtResource("2_qk14s") }], "loop": false, "name": &"default", "speed": 8.0 }] [sub_resource type="CircleShape2D" id="CircleShape2D_gcjn2"] radius = 3.0 [node name="Projectile" type="CharacterBody2D"] collision_layer = 0 collision_mask = 0 script = ExtResource("1_e3x2k") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] texture_filter = 1 sprite_frames = SubResource("SpriteFrames_xmf75") [node name="Area2D" type="Area2D" parent="."] collision_layer = 0 collision_mask = 2 [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] shape = SubResource("CircleShape2D_gcjn2") [node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."] scale = Vector2(0.8, 0.8) [connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"] [connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]