19 lines
669 B
Plaintext
19 lines
669 B
Plaintext
[gd_scene format=3 uid="uid://cncmlpntwxxx5"]
|
|
|
|
[ext_resource type="Script" uid="uid://bwjaypkvgpb6t" path="res://scripts/grenade.gd" id="1_cvyik"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_1xt3t"]
|
|
radius = 5.0
|
|
|
|
[node name="grenade" type="RigidBody2D" unique_id=781159040]
|
|
contact_monitor = true
|
|
max_contacts_reported = 3
|
|
script = ExtResource("1_cvyik")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=346573127]
|
|
shape = SubResource("CircleShape2D_1xt3t")
|
|
debug_color = Color(0.8627451, 0.03137255, 0.20392157, 0.41960785)
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|