AugGodotGameCourse/indigogameone/scenes/bullets.tscn
2024-09-09 21:08:24 -04:00

17 lines
564 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://ctn52om1wdpb5"]
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_5y5v0"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qu5ok"]
size = Vector2(20, 4)
[node name="Area2D" type="Area2D"]
script = ExtResource("1_5y5v0")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_qu5ok")
debug_color = Color(0, 0.909804, 0.541176, 0.419608)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]