GodotCourse/examples/PlatformTemplate/scenes/bullet.tscn

16 lines
543 B
Plaintext
Raw Normal View History

2024-07-15 12:00:42 +00:00
[gd_scene load_steps=3 format=3 uid="uid://xwd8bdam816x"]
[ext_resource type="Script" path="res://scenes/bullet.gd" id="1_oo7le"]
[sub_resource type="CircleShape2D" id="CircleShape2D_cirwx"]
radius = 4.12311
[node name="Area2D" type="Area2D"]
script = ExtResource("1_oo7le")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_cirwx")
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]