Aprilgame/Scenes/grenade.tscn

25 lines
953 B
Plaintext

[gd_scene format=3 uid="uid://ceyxo0mrrrd6d"]
[ext_resource type="Script" uid="uid://86lxae5ujqvq" path="res://Scripts/grenade.gd" id="1_v44n1"]
[ext_resource type="Texture2D" uid="uid://m76scbu855tb" path="res://assets/graphics/Objects/grenade 1.png" id="2_5rnft"]
[sub_resource type="CircleShape2D" id="CircleShape2D_wrm1d"]
radius = 12.88
[node name="Grenade" type="RigidBody2D" unique_id=1054741787]
contact_monitor = true
max_contacts_reported = 3
script = ExtResource("1_v44n1")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=560084486]
shape = SubResource("CircleShape2D_wrm1d")
debug_color = Color(0.8306428, 0.39345673, 0, 0.41960785)
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=390006828]
texture_filter = 1
position = Vector2(2.4374995, -3.4375014)
scale = Vector2(2.04375, 2.04375)
texture = ExtResource("2_5rnft")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]