ed-april-game/scenes/grenade.tscn

24 lines
912 B
Plaintext
Raw Permalink Normal View History

2026-05-05 00:57:02 +00:00
[gd_scene format=3 uid="uid://cncmlpntwxxx5"]
[ext_resource type="Script" uid="uid://bwjaypkvgpb6t" path="res://scripts/grenade.gd" id="1_cvyik"]
2026-05-11 23:37:46 +00:00
[ext_resource type="Texture2D" uid="uid://6vtsx7rnpd7w" path="res://assets/graphics/objects/grenade.png" id="2_wxtds"]
2026-05-05 00:57:02 +00:00
[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)
2026-05-11 23:37:46 +00:00
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1803673568]
texture_filter = 1
texture = ExtResource("2_wxtds")
2026-05-05 00:57:02 +00:00
[connection signal="body_entered" from="." to="." method="_on_body_entered"]