JulyGame/scenes/bullet.tscn
2025-08-18 21:05:53 -04:00

19 lines
604 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://bgwa5osciu6kj"]
[ext_resource type="Script" uid="uid://bemhplfq3bapd" path="res://scripts/bullet.gd" id="1_mkf8s"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_h1aey"]
radius = 7.0
height = 32.0
[node name="bullet" type="Area2D"]
script = ExtResource("1_mkf8s")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = 1.55509
shape = SubResource("CapsuleShape2D_h1aey")
debug_color = Color(0.849979, 0, 0.312876, 0.42)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]