DD/scenes/find_a_couple/tile.tscn
2025-09-05 22:17:21 +03:00

26 lines
1 KiB
Text

[gd_scene load_steps=5 format=3 uid="uid://blfx4g52uaopo"]
[ext_resource type="Texture2D" uid="uid://bsj2xqsrkncfw" path="res://assets/find_a_couple/envelope.png" id="1_dgwjn"]
[ext_resource type="Script" uid="uid://c6slf3hspqeef" path="res://scenes/find_a_couple/tile.gd" id="1_kwys0"]
[ext_resource type="Texture2D" uid="uid://yn1hkayub20t" path="res://assets/find_a_couple/back.png" id="2_npifk"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_npifk"]
size = Vector2(102, 102)
[node name="Tile" type="Area2D"]
script = ExtResource("1_kwys0")
front_texture = ExtResource("1_dgwjn")
back_texture = ExtResource("2_npifk")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_npifk")
[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2(0.2, 0.2)
texture = ExtResource("1_dgwjn")
[node name="Timer" type="Timer" parent="."]
one_shot = true
[connection signal="input_event" from="." to="." method="_on_input_event"]
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]