-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathUI.tscn
209 lines (184 loc) · 5.44 KB
/
UI.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
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
[gd_scene load_steps=17 format=2]
[ext_resource path="res://assets/icons/chat.svg" type="Texture" id=1]
[ext_resource path="res://Chat.tscn" type="PackedScene" id=2]
[ext_resource path="res://assets/icons/chat_active.svg" type="Texture" id=3]
[ext_resource path="res://assets/characters/char1.png" type="Texture" id=6]
[ext_resource path="res://assets/icons/timer-outline.svg" type="Texture" id=12]
[ext_resource path="res://assets/icons/settings.svg" type="Texture" id=13]
[ext_resource path="res://default_theme.tres" type="Theme" id=14]
[ext_resource path="res://assets/icons/timer-outline-hover.svg" type="Texture" id=15]
[ext_resource path="res://UI.gd" type="Script" id=19]
[ext_resource path="res://TransientMessage.gd" type="Script" id=21]
[ext_resource path="res://Character.tscn" type="PackedScene" id=22]
[ext_resource path="res://Settings.tscn" type="PackedScene" id=23]
[ext_resource path="res://assets/icons/robot-sleepy-hover.svg" type="Texture" id=28]
[ext_resource path="res://assets/icons/robot-sleepy.svg" type="Texture" id=29]
[sub_resource type="DynamicFontData" id=3]
font_path = "res://FredokaOne-Regular.ttf"
[sub_resource type="DynamicFont" id=2]
size = 23
font_data = SubResource( 3 )
[node name="UI" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
script = ExtResource( 19 )
[node name="Bottom" type="HBoxContainer" parent="."]
anchor_top = 0.85
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 10.0
margin_right = -10.0
margin_bottom = -10.0
__meta__ = {
"_edit_use_anchors_": true
}
[node name="Control" type="Control" parent="Bottom"]
margin_right = 1004.0
margin_bottom = 80.0
size_flags_horizontal = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Top" type="HBoxContainer" parent="."]
anchor_right = 0.306
anchor_bottom = 0.15
margin_left = 10.0
margin_top = 10.0
__meta__ = {
"_edit_use_anchors_": true
}
[node name="HBoxContainer2" type="HBoxContainer" parent="Top"]
margin_right = 189.0
margin_bottom = 80.0
[node name="Portrait" type="TextureRect" parent="Top/HBoxContainer2"]
margin_right = 100.0
margin_bottom = 80.0
rect_min_size = Vector2( 100, 50 )
theme = ExtResource( 14 )
texture = ExtResource( 6 )
expand = true
stretch_mode = 6
[node name="ColorRect" type="ColorRect" parent="Top/HBoxContainer2/Portrait"]
show_behind_parent = true
anchor_right = 0.833
anchor_bottom = 0.857
margin_left = 7.0
margin_top = -3.0
margin_right = 9.7
margin_bottom = 14.44
color = Color( 0, 0, 0, 0.670588 )
[node name="NameBox" type="VBoxContainer" parent="Top/HBoxContainer2"]
margin_left = 104.0
margin_right = 189.0
margin_bottom = 80.0
[node name="Name" type="Label" parent="Top/HBoxContainer2/NameBox"]
margin_right = 85.0
margin_bottom = 29.0
theme = ExtResource( 14 )
custom_fonts/font = SubResource( 2 )
text = "Séverin"
[node name="RightPanel" type="Control" parent="."]
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -250.0
margin_top = 10.0
margin_right = -10.0
margin_bottom = -10.0
mouse_filter = 2
[node name="IconSet" type="HBoxContainer" parent="RightPanel"]
anchor_right = 1.0
margin_bottom = 60.0
mouse_filter = 2
[node name="robot" type="TextureButton" parent="RightPanel/IconSet"]
margin_right = 60.0
margin_bottom = 60.0
rect_min_size = Vector2( 60, 60 )
texture_normal = ExtResource( 29 )
texture_hover = ExtResource( 28 )
expand = true
stretch_mode = 5
__meta__ = {
"_editor_description_": ""
}
[node name="spacer" type="Control" parent="RightPanel/IconSet"]
margin_left = 64.0
margin_right = 112.0
margin_bottom = 60.0
rect_min_size = Vector2( 20, 0 )
size_flags_horizontal = 3
[node name="away" type="TextureButton" parent="RightPanel/IconSet"]
visible = false
margin_left = 88.0
margin_right = 148.0
margin_bottom = 80.0
rect_min_size = Vector2( 60, 60 )
texture_normal = ExtResource( 12 )
texture_hover = ExtResource( 15 )
expand = true
stretch_mode = 5
__meta__ = {
"_editor_description_": ""
}
[node name="chat" type="TextureButton" parent="RightPanel/IconSet"]
margin_left = 116.0
margin_right = 176.0
margin_bottom = 60.0
rect_min_size = Vector2( 60, 60 )
texture_normal = ExtResource( 1 )
texture_hover = ExtResource( 3 )
expand = true
stretch_mode = 5
__meta__ = {
"_editor_description_": ""
}
[node name="settings" type="TextureButton" parent="RightPanel/IconSet"]
margin_left = 180.0
margin_right = 240.0
margin_bottom = 60.0
rect_min_size = Vector2( 60, 60 )
texture_normal = ExtResource( 13 )
texture_hover = ExtResource( 13 )
expand = true
stretch_mode = 5
__meta__ = {
"_editor_description_": ""
}
[node name="Chat" parent="RightPanel" instance=ExtResource( 2 )]
visible = false
anchor_left = 0.0
anchor_top = 1.0
margin_left = 0.0
margin_top = -300.0
margin_right = 0.0
margin_bottom = 0.0
[node name="TransientMessage" type="Label" parent="."]
modulate = Color( 1, 1, 1, 0.72549 )
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -259.5
margin_top = -19.0
margin_right = 259.5
margin_bottom = 19.0
theme = ExtResource( 14 )
text = "press left-click to move the camera"
script = ExtResource( 21 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Tween" type="Tween" parent="TransientMessage"]
[node name="Settings" parent="." instance=ExtResource( 23 )]
visible = false
[node name="CharacterViewport" type="Viewport" parent="."]
size = Vector2( 256, 256 )
own_world = true
transparent_bg = true
handle_input_locally = false
msaa = 1
hdr = false
render_target_v_flip = true
gui_disable_input = true
[node name="Character" parent="CharacterViewport" instance=ExtResource( 22 )]