2025-10-21 01:06:01 +00:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://b5n0lwes8qpu5"]
|
2025-10-07 00:56:47 +00:00
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://cev3cg5mdn3it" path="res://scripts/grenade.gd" id="1_cvyik"]
|
2025-10-21 01:06:01 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://m3usnluuexas" path="res://assets/graphics/projectiles/Screenshot from 2025-10-20 20-34-37.png" id="2_wxtds"]
|
2025-10-07 00:56:47 +00:00
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_1xt3t"]
|
|
|
|
|
radius = 3.0
|
|
|
|
|
|
|
|
|
|
[node name="Grenade" type="RigidBody2D"]
|
|
|
|
|
contact_monitor = true
|
|
|
|
|
max_contacts_reported = 2
|
|
|
|
|
script = ExtResource("1_cvyik")
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
|
shape = SubResource("CircleShape2D_1xt3t")
|
|
|
|
|
debug_color = Color(0.6279718, 0.5294392, 0.11152003, 0.41960785)
|
|
|
|
|
|
2025-10-21 01:06:01 +00:00
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
|
|
|
texture_filter = 1
|
|
|
|
|
scale = Vector2(0.017808493, 0.016220678)
|
|
|
|
|
texture = ExtResource("2_wxtds")
|
|
|
|
|
|
2025-10-07 00:56:47 +00:00
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|