]> Untitled Git - catris.git/blob - scene/board.tscn
53a2437e268a68f8f7837a879810a91689868043
[catris.git] / scene / board.tscn
1 [gd_scene load_steps=4 format=3 uid="uid://4saff6435gux"]
2
3 [ext_resource type="Script" uid="uid://bex8wrsgbx63r" path="res://script/board.gd" id="1_b3264"]
4 [ext_resource type="PackedScene" uid="uid://cmdvtaiunt32k" path="res://piece/cell.tscn" id="2_32fhn"]
5 [ext_resource type="Texture2D" uid="uid://b6om08wjtci31" path="res://asset/grid.png" id="3_rl6p6"]
6
7 [node name="Board" type="Control"]
8 custom_minimum_size = Vector2(200, 300)
9 layout_mode = 3
10 anchors_preset = 5
11 anchor_left = 0.5
12 anchor_right = 0.5
13 grow_horizontal = 2
14 script = ExtResource("1_b3264")
15 cell_catalogue = Array[PackedScene]([ExtResource("2_32fhn")])
16
17 [node name="grid" type="TextureRect" parent="."]
18 unique_name_in_owner = true
19 layout_mode = 1
20 anchors_preset = 15
21 anchor_right = 1.0
22 anchor_bottom = 1.0
23 grow_horizontal = 2
24 grow_vertical = 2
25 texture = ExtResource("3_rl6p6")
26 stretch_mode = 1
27
28 [node name="turnTimer" type="Timer" parent="."]
29 unique_name_in_owner = true
30
31 [connection signal="timeout" from="turnTimer" to="." method="_on_turn_timer_timeout"]