[gd_scene load_steps=14 format=3 uid="uid://dqa80ptcc8p70"] [ext_resource type="Script" path="res://scripts/bullets/bullet.gd" id="1_lacqw"] [ext_resource type="Texture2D" uid="uid://c57taqe4k3mi2" path="res://assets/spritesheets/bullet-1.png" id="2_o8iut"] [ext_resource type="Texture2D" uid="uid://b8fdtvgaq5bo6" path="res://assets/spritesheets/explosion.png" id="3_wtt2i"] [sub_resource type="CircleShape2D" id="CircleShape2D_3cgpo"] radius = 6.0 [sub_resource type="CircleShape2D" id="CircleShape2D_dyohr"] radius = 88.0511 [sub_resource type="AtlasTexture" id="AtlasTexture_5sdcd"] atlas = ExtResource("3_wtt2i") region = Rect2(0, 0, 1428, 2000) [sub_resource type="AtlasTexture" id="AtlasTexture_5uq50"] atlas = ExtResource("3_wtt2i") region = Rect2(1428, 0, 1428, 2000) [sub_resource type="AtlasTexture" id="AtlasTexture_8w3i0"] atlas = ExtResource("3_wtt2i") region = Rect2(2856, 0, 1428, 2000) [sub_resource type="AtlasTexture" id="AtlasTexture_vq42n"] atlas = ExtResource("3_wtt2i") region = Rect2(4284, 0, 1428, 2000) [sub_resource type="AtlasTexture" id="AtlasTexture_r0vwq"] atlas = ExtResource("3_wtt2i") region = Rect2(5712, 0, 1428, 2000) [sub_resource type="AtlasTexture" id="AtlasTexture_011v7"] atlas = ExtResource("3_wtt2i") region = Rect2(7140, 0, 1428, 2000) [sub_resource type="AtlasTexture" id="AtlasTexture_viipg"] atlas = ExtResource("3_wtt2i") region = Rect2(8568, 0, 1428, 2000) [sub_resource type="SpriteFrames" id="SpriteFrames_88q0q"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_5sdcd") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_5uq50") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_8w3i0") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_vq42n") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_r0vwq") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_011v7") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_viipg") }], "loop": true, "name": &"default", "speed": 5.0 }] [node name="bullet" type="Area2D"] script = ExtResource("1_lacqw") [node name="Sprite2D" type="Sprite2D" parent="."] texture = ExtResource("2_o8iut") hframes = 2 frame = 1 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("CircleShape2D_3cgpo") [node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."] [node name="Area2D" type="Area2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] shape = SubResource("CircleShape2D_dyohr") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] visible = false scale = Vector2(0.15, 0.15) sprite_frames = SubResource("SpriteFrames_88q0q") [connection signal="body_entered" from="." to="." method="_on_Bullet_body_entered"] [connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"] [connection signal="body_entered" from="Area2D" to="." method="_on_body_entered"] [connection signal="body_exited" from="Area2D" to="." method="_on_body_exited"]