summaryrefslogtreecommitdiff
path: root/UI/CharacterSelect.tscn
blob: 98346481053e4d84d8ef53d5125944640af513f8 (plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[gd_scene load_steps=10 format=2]

[ext_resource path="res://Assets/Characters/Tux/Front.png" type="Texture" id=1]
[ext_resource path="res://Assets/Characters/Duck/Front.png" type="Texture" id=2]
[ext_resource path="res://Assets/Fonts/geometry-soft-pro/Geometry_Soft_Pro-Bold_N.otf" type="DynamicFontData" id=3]
[ext_resource path="res://UI/CharacterSelect.gd" type="Script" id=4]
[ext_resource path="res://Assets/Characters/Dove/Front.png" type="Texture" id=5]
[ext_resource path="res://Assets/Characters/Monkey/Front.png" type="Texture" id=6]
[ext_resource path="res://Assets/Characters/Pidgin/Front.png" type="Texture" id=7]
[ext_resource path="res://Assets/Characters/Elephant/Front.png" type="Texture" id=8]

[sub_resource type="DynamicFont" id=1]
size = 52
font_data = ExtResource( 3 )

[node name="CharacterSelect" type="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 32.0
margin_top = 24.0
margin_right = -24.0
margin_bottom = -16.0
script = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Title" type="Label" parent="."]
margin_left = 176.0
margin_top = 40.0
margin_right = 724.0
margin_bottom = 94.0
custom_fonts/font = SubResource( 1 )
text = "Choose your Character!"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Wait" type="Label" parent="."]
margin_left = 544.0
margin_top = 104.0
margin_right = 741.0
margin_bottom = 118.0
text = "Waiting for x players to choose"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Tux" type="TextureRect" parent="."]
margin_left = 96.0
margin_top = 168.0
margin_right = 128.0
margin_bottom = 200.0
rect_scale = Vector2( 2, 2 )
texture = ExtResource( 1 )

[node name="Duck" type="TextureRect" parent="."]
margin_left = 288.0
margin_top = 168.0
margin_right = 320.0
margin_bottom = 200.0
rect_scale = Vector2( 2, 2 )
texture = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Dove" type="TextureRect" parent="."]
margin_left = 480.0
margin_top = 168.0
margin_right = 512.0
margin_bottom = 200.0
rect_scale = Vector2( 2, 2 )
texture = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Pidgin" type="TextureRect" parent="."]
margin_left = 672.0
margin_top = 168.0
margin_right = 704.0
margin_bottom = 200.0
rect_scale = Vector2( 2, 2 )
texture = ExtResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Monkey" type="TextureRect" parent="."]
margin_left = 96.0
margin_top = 296.0
margin_right = 128.0
margin_bottom = 328.0
rect_scale = Vector2( 2, 2 )
texture = ExtResource( 6 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Elephant" type="TextureRect" parent="."]
margin_left = 288.0
margin_top = 296.0
margin_right = 320.0
margin_bottom = 328.0
rect_scale = Vector2( 2, 2 )
texture = ExtResource( 8 )
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="gui_input" from="Tux" to="." method="_button_pressed" binds= [ "Tux" ]]
[connection signal="gui_input" from="Duck" to="." method="_button_pressed" binds= [ "Duck" ]]
[connection signal="gui_input" from="Dove" to="." method="_button_pressed" binds= [ "Dove" ]]
[connection signal="gui_input" from="Pidgin" to="." method="_button_pressed" binds= [ "Pidgin" ]]
[connection signal="gui_input" from="Monkey" to="." method="_button_pressed" binds= [ "Monkey" ]]
[connection signal="gui_input" from="Elephant" to="." method="_button_pressed" binds= [ "Elephant" ]]