15 lines
480 B
Plaintext
15 lines
480 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://2t0xiriuidfv"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_yfigc"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_k7u0n"]
|
|
size = Vector2(8, 4)
|
|
|
|
[node name="Area2D" type="Area2D"]
|
|
script = ExtResource("1_yfigc")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_k7u0n")
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|