[gd_scene load_steps=3 format=3 uid="uid://jf4rxymi15id"] [ext_resource type="Script" uid="uid://dwqt7eu84wgv7" path="res://bat/bat_bullet/bat_bullet.gd" id="1_bopwj"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_pxoj5"] size = Vector2(8, 4) [node name="BatBullet" type="Node2D"] script = ExtResource("1_bopwj") [node name="ColorRect" type="ColorRect" parent="."] offset_left = -4.0 offset_top = -2.0 offset_right = 4.0 offset_bottom = 2.0 [node name="Area2D" type="Area2D" parent="." groups=["enemy_bullet", "hurt"]] collision_layer = 8 collision_mask = 19 [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] shape = SubResource("RectangleShape2D_pxoj5") [connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]