27 lines
938 B
Plaintext
27 lines
938 B
Plaintext
|
[gd_scene load_steps=5 format=3 uid="uid://8yeiu67bl2i5"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://Scripts/Dynamite.gd" id="1_7s622"]
|
||
|
[ext_resource type="Texture2D" uid="uid://cpcrj33uo4sx8" path="res://Sprites/Dynamite.png" id="1_fj38h"]
|
||
|
[ext_resource type="Texture2D" uid="uid://b0syrkop0p3fn" path="res://Sprites/Explosion.png" id="2_admom"]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_y8tdw"]
|
||
|
radius = 1124.0
|
||
|
|
||
|
[node name="Dynamite" type="Area2D"]
|
||
|
show_behind_parent = true
|
||
|
script = ExtResource("1_7s622")
|
||
|
|
||
|
[node name="Dynamite" type="Sprite2D" parent="."]
|
||
|
texture = ExtResource("1_fj38h")
|
||
|
|
||
|
[node name="Explosion" type="Sprite2D" parent="."]
|
||
|
visible = false
|
||
|
position = Vector2(23, -50)
|
||
|
texture = ExtResource("2_admom")
|
||
|
|
||
|
[node name="ExplosionCollision" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource("CircleShape2D_y8tdw")
|
||
|
disabled = true
|
||
|
|
||
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|