-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDeck.tscn
38 lines (32 loc) · 1.17 KB
/
Deck.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Deck.gd" type="Script" id=1]
[ext_resource path="res://Card.tscn" type="PackedScene" id=2]
[node name="Deck" type="GridContainer"]
rect_scale = Vector2( 0.35, 0.35 )
custom_constants/hseparation = 60
columns = 4
script = ExtResource( 1 )
[node name="card" parent="." instance=ExtResource( 2 )]
anchor_left = 0.0
anchor_right = 0.0
margin_left = 0.0
margin_right = 120.0
[node name="card2" parent="." instance=ExtResource( 2 )]
anchor_left = 0.0
anchor_right = 0.0
margin_left = 180.0
margin_right = 300.0
[node name="card3" parent="." instance=ExtResource( 2 )]
anchor_left = 0.0
anchor_right = 0.0
margin_left = 360.0
margin_right = 480.0
[node name="card4" parent="." instance=ExtResource( 2 )]
anchor_left = 0.0
anchor_right = 0.0
margin_left = 540.0
margin_right = 660.0
[connection signal="toggled" from="card" to="." method="on_card_selecting" binds= [ 0 ]]
[connection signal="toggled" from="card2" to="." method="on_card_selecting" binds= [ 1 ]]
[connection signal="toggled" from="card3" to="." method="on_card_selecting" binds= [ 2 ]]
[connection signal="toggled" from="card4" to="." method="on_card_selecting" binds= [ 3 ]]