aprilGame/scene/grenade.tscn

23 lines
918 B
Plaintext

[gd_scene format=3 uid="uid://c5mayb1i4ypqm"]
[ext_resource type="Script" uid="uid://wctwda5bor10" path="res://scripts/grenade.gd" id="1_gju2f"]
[ext_resource type="Texture2D" uid="uid://cgd6djkjrq6g0" path="res://assets/graphics/objects/bomb.png" id="2_gt16k"]
[sub_resource type="CircleShape2D" id="CircleShape2D_pu16u"]
[node name="grenade" type="RigidBody2D" unique_id=1844025628]
contact_monitor = true
max_contacts_reported = 3
script = ExtResource("1_gju2f")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=953914170]
shape = SubResource("CircleShape2D_pu16u")
debug_color = Color(0.45701438, 0.5945938, 3.85046e-07, 0.41960785)
[node name="Bomb" type="Sprite2D" parent="." unique_id=462696120]
position = Vector2(3, -2.0000005)
scale = Vector2(0.97499996, 1.0500001)
texture = ExtResource("2_gt16k")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]