JanGodotGame/scenes/bullet.tscn

18 lines
588 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://b53r5iysu7d4t"]
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_qubif"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qxj7e"]
size = Vector2(19, 4)
[node name="Area2D" type="Area2D"]
script = ExtResource("1_qubif")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(-0.5, 0)
shape = SubResource("RectangleShape2D_qxj7e")
debug_color = Color(0.717124, 0, 0.290401, 0.42)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]