18 lines
618 B
Plaintext
18 lines
618 B
Plaintext
|
[gd_scene load_steps=3 format=3 uid="uid://dmhto2dvjub1j"]
|
||
|
|
||
|
[ext_resource type="Script" uid="uid://do4exob6g0cfd" path="res://scripts/bullet.gd" id="1_mkf8s"]
|
||
|
|
||
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_h1aey"]
|
||
|
radius = 1.99136
|
||
|
height = 17.9993
|
||
|
|
||
|
[node name="Area2D" type="Area2D"]
|
||
|
script = ExtResource("1_mkf8s")
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
rotation = 1.57936
|
||
|
shape = SubResource("CapsuleShape2D_h1aey")
|
||
|
|
||
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||
|
[connection signal="bulletHitSignal" from="." to="." method="_on_bullet_hit_signal"]
|