17 lines
567 B
Plaintext
17 lines
567 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://02fr3rb7e6s2"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_kc7iu"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_m2rb6"]
|
|
size = Vector2(11, 7)
|
|
|
|
[node name="Area2D" type="Area2D"]
|
|
script = ExtResource("1_kc7iu")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0.5, -0.5)
|
|
shape = SubResource("RectangleShape2D_m2rb6")
|
|
debug_color = Color(0.366555, 0.610522, 0.244131, 0.42)
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|