[gd_scene load_steps=4 format=3 uid="uid://dmhto2dvjub1j"] [ext_resource type="Script" uid="uid://do4exob6g0cfd" path="res://scripts/bullet.gd" id="1_mkf8s"] [ext_resource type="Texture2D" uid="uid://dkeuhhrqbo1yg" path="res://assets/graphics/objects/bullet.png" id="2_y25gk"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_h1aey"] radius = 1.99136 height = 17.9993 [node name="Area2D" type="Area2D"] script = ExtResource("1_mkf8s") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] rotation = 1.57936 shape = SubResource("CapsuleShape2D_h1aey") [node name="BulletGraphic" type="Sprite2D" parent="."] texture_filter = 1 position = Vector2(-3, -3) rotation = 3.14159 scale = Vector2(0.1, 0.1) texture = ExtResource("2_y25gk") [connection signal="body_entered" from="." to="." method="_on_body_entered"] [connection signal="bulletHitSignal" from="." to="." method="_on_bullet_hit_signal"]