22 lines
801 B
Plaintext
22 lines
801 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://b5n0lwes8qpu5"]
|
|
|
|
[ext_resource type="Script" uid="uid://c3sd8uvxer0wk" path="res://scripts/grenade.gd" id="1_cvyik"]
|
|
[ext_resource type="Texture2D" uid="uid://2bw0cvxvqmor" path="res://icon.svg" id="2_wxtds"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_1xt3t"]
|
|
|
|
[node name="Grenade" type="RigidBody2D"]
|
|
contact_monitor = true
|
|
max_contacts_reported = 1
|
|
script = ExtResource("1_cvyik")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_1xt3t")
|
|
debug_color = Color(0.7058824, 0.49411765, 0.18431373, 0.5921569)
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
scale = Vector2(0.2, 0.2)
|
|
texture = ExtResource("2_wxtds")
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|