AugGodotGameCourse/augustgamecourse/scenes/bullet.tscn

17 lines
567 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://dkf3cij6wexnr"]
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_u02r5"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5agw0"]
size = Vector2(12, 4)
[node name="Area2D" type="Area2D"]
script = ExtResource("1_u02r5")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_5agw0")
debug_color = Color(0.209612, 0.626644, 0.380971, 0.42)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]