24 lines
853 B
Plaintext
24 lines
853 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://b03smhbrrkgmw"]
|
|
|
|
[ext_resource type="Script" uid="uid://3wkgv7brl1l2" path="res://scripts/Mine.gd" id="1_rrkvo"]
|
|
[ext_resource type="Texture2D" uid="uid://b26tmpl7dhsls" path="res://sprites/cover.png" id="3_ke0lc"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xpffi"]
|
|
size = Vector2(16, 16)
|
|
|
|
[node name="Mine" type="Node2D"]
|
|
script = ExtResource("1_rrkvo")
|
|
|
|
[node name="layer1" type="Sprite2D" parent="."]
|
|
texture = ExtResource("3_ke0lc")
|
|
|
|
[node name="layer2" type="Sprite2D" parent="."]
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
|
input_pickable = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
|
shape = SubResource("RectangleShape2D_xpffi")
|
|
|
|
[connection signal="input_event" from="StaticBody2D" to="." method="_on_static_body_2d_input_event"]
|