-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFreeOrionClient.tscn
160 lines (140 loc) · 4.27 KB
/
FreeOrionClient.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
[gd_scene load_steps=9 format=2]
[ext_resource path="res://assets/image/logo.png" type="Texture" id=1]
[ext_resource path="res://assets/image/splash.png" type="Texture" id=2]
[ext_resource path="res://assets/image/frames/FOWindowFrame2.png" type="Texture" id=3]
[ext_resource path="res://resources/FOStdTheme.tres" type="Theme" id=4]
[ext_resource path="res://FreeOrionClient.gd" type="Script" id=5]
[ext_resource path="res://MainMenuBtn.tscn" type="PackedScene" id=6]
[ext_resource path="res://assets/audio/artificial_intelligence_v3.ogg" type="AudioStream" id=7]
[ext_resource path="res://gdcpptest.gdns" type="Script" id=8]
[node name="GUI" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 4 )
script = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="BackgroundTex" type="TextureRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource( 2 )
expand = true
stretch_mode = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LogoTex" type="TextureRect" parent="."]
anchor_right = 1.0
anchor_bottom = 0.1
texture = ExtResource( 1 )
expand = true
stretch_mode = 6
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MainMenu" type="NinePatchRect" parent="."]
anchor_left = 0.65
anchor_top = 0.2
anchor_right = 0.65
anchor_bottom = 0.2
margin_right = 256.0
margin_bottom = 536.0
rect_min_size = Vector2( 256, 256 )
texture = ExtResource( 3 )
patch_margin_left = 5
patch_margin_top = 25
patch_margin_right = 5
patch_margin_bottom = 5
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="MainMenu"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 30.0
margin_top = 30.0
margin_right = -30.0
margin_bottom = -10.0
custom_constants/separation = 10
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ContinueBtn" parent="MainMenu/VBoxContainer" instance=ExtResource( 6 )]
margin_right = 196.0
margin_bottom = 40.0
size_flags_vertical = 3
Title = "Continue"
[node name="SinglePlayerBtn" parent="MainMenu/VBoxContainer" instance=ExtResource( 6 )]
margin_top = 50.0
margin_right = 196.0
margin_bottom = 90.0
size_flags_vertical = 3
Title = "Single Player"
[node name="QuickstartBtn" parent="MainMenu/VBoxContainer" instance=ExtResource( 6 )]
margin_top = 100.0
margin_right = 196.0
margin_bottom = 140.0
size_flags_vertical = 3
Title = "Quickstart"
[node name="MultiplayerBtn" parent="MainMenu/VBoxContainer" instance=ExtResource( 6 )]
margin_top = 150.0
margin_right = 196.0
margin_bottom = 190.0
size_flags_vertical = 3
Title = "Multiplayer"
[node name="LoadGameBtn" parent="MainMenu/VBoxContainer" instance=ExtResource( 6 )]
margin_top = 200.0
margin_right = 196.0
margin_bottom = 240.0
size_flags_vertical = 3
Title = "Load Game"
[node name="OptionsBtn" parent="MainMenu/VBoxContainer" instance=ExtResource( 6 )]
margin_top = 250.0
margin_right = 196.0
margin_bottom = 290.0
size_flags_vertical = 3
Title = "Options"
[node name="PediaBtn" parent="MainMenu/VBoxContainer" instance=ExtResource( 6 )]
margin_top = 300.0
margin_right = 196.0
margin_bottom = 340.0
size_flags_vertical = 3
Title = "Pedia"
[node name="AboutBtn" parent="MainMenu/VBoxContainer" instance=ExtResource( 6 )]
margin_top = 350.0
margin_right = 196.0
margin_bottom = 390.0
size_flags_vertical = 3
Title = "About"
[node name="CreditsBtn" parent="MainMenu/VBoxContainer" instance=ExtResource( 6 )]
margin_top = 400.0
margin_right = 196.0
margin_bottom = 440.0
size_flags_vertical = 3
Title = "Credits"
[node name="QuitBtn" parent="MainMenu/VBoxContainer" instance=ExtResource( 6 )]
margin_top = 450.0
margin_right = 196.0
margin_bottom = 489.0
Title = "Quit"
[node name="Label" type="Label" parent="MainMenu"]
anchor_right = 1.0
margin_left = 5.0
margin_right = -5.0
margin_bottom = 20.0
text = "FreeOrion Main Menu"
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 7 )
autoplay = true
[node name="Popup" type="Popup" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Node" type="Node" parent="."]
script = ExtResource( 8 )
[connection signal="pressed" from="MainMenu/VBoxContainer/SinglePlayerBtn" to="." method="_on_SinglePlayerBtn_pressed"]
[connection signal="pressed" from="MainMenu/VBoxContainer/QuitBtn" to="." method="_on_QuitBtn_pressed"]