FebruaryGame/februarygodotgame/scenes/bullet.tscn

16 lines
538 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://b1jq6yi0dh3c0"]
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_okq17"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_va0yp"]
size = Vector2(10, 4)
[node name="Area2D" type="Area2D"]
script = ExtResource("1_okq17")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_va0yp")
debug_color = Color(0.952024, 0.180224, 0.327437, 0.42)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]